summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-12-04 02:06:58 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-12-04 02:06:58 +0100
commita91546773296485bceff48c13d0c8211515b7fce (patch)
tree1039d785c1756749ba67468c15aaebed57948ab4
parent7c165d29b989a15e2fd23a6d17c08d1981411bc3 (diff)
Defined STM32F4.
-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