aboutsummaryrefslogtreecommitdiff
path: root/stm
diff options
context:
space:
mode:
authorDamien George2014-01-03 10:49:55 -0800
committerDamien George2014-01-03 10:49:55 -0800
commit91c8d8e71c7780eb17f5f73bdde89eece42e7e98 (patch)
tree4f814850702894ca8a54fa2e7a7c6027ee3302b4 /stm
parent9b87b39ab47f381521377d3a9456a0a1651f4cae (diff)
parentb372bfca21ccab593359ef25a0a0c6bf697c8586 (diff)
Merge pull request #41 from pfalcon/more-mem-stats
Collect more memory statistics
Diffstat (limited to 'stm')
-rw-r--r--stm/Makefile2
-rw-r--r--stm/mpconfigport.h (renamed from stm/mpconfig.h)2
2 files changed, 3 insertions, 1 deletions
diff --git a/stm/Makefile b/stm/Makefile
index 018d31f49..d6c77e2bd 100644
--- a/stm/Makefile
+++ b/stm/Makefile
@@ -187,7 +187,7 @@ $(BUILD)/%.o: $(PYSRC)/%.s
$(BUILD)/%.o: $(PYSRC)/%.S
$(CC) $(CFLAGS) -c -o $@ $<
-$(BUILD)/%.o: $(PYSRC)/%.c mpconfig.h
+$(BUILD)/%.o: $(PYSRC)/%.c mpconfigport.h
$(CC) $(CFLAGS) -c -o $@ $<
$(BUILD)/emitnthumb.o: $(PYSRC)/emitnative.c $(PYSRC)/emit.h
diff --git a/stm/mpconfig.h b/stm/mpconfigport.h
index 1f9529e11..4cea332f3 100644
--- a/stm/mpconfig.h
+++ b/stm/mpconfigport.h
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
// options to control how Micro Python is built
#define MICROPY_ENABLE_FLOAT (1)