diff options
Diffstat (limited to 'stm')
| -rw-r--r-- | stm/Makefile | 2 | ||||
| -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) |
