diff options
| author | Paul Sokolovsky | 2014-01-03 17:15:53 +0200 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-01-03 19:03:11 +0200 |
| commit | b372bfca21ccab593359ef25a0a0c6bf697c8586 (patch) | |
| tree | a6802e0442c4ac83aa91beb04bac9f222641202b /stm | |
| parent | ef18102b9ec9634653fd4a8286990e9e21ce2ae0 (diff) | |
Rename default config file to mpconfig.h, and port's to mpconfigport.h.
mpconfig.h will automatically pull mpconfigport.h.
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) |
