summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 133ec8f..9c906e0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -10,7 +10,7 @@ env = Environment(
CXXFLAGS = '-fno-exceptions -fno-rtti',
ASFLAGS = '-c -x assembler-with-cpp -mcpu=cortex-m4 -mthumb -mhard-float',
- #CPPDEFINES = [],
+ CPPDEFINES = ['STM32F4'],
LINK = 'arm-none-eabi-gcc',
LINKFLAGS = '-Wall -mcpu=cortex-m4 -mthumb -mhard-float -nostartfiles -Wl,-Tsuzumebachi.ld', # -Wl,--gc-sections