aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F103
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-22 11:36:04 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-22 11:36:04 +0000
commitfdad6c0c8f6ee247818126a8a758aa8a1ebb74fc (patch)
treede4da316aa20f1cf0b5e523fce35240ef8bec206 /demos/ARMCM3-STM32F103
parent5e65784681ca5488d9f1acf3d2ec64df320618bd (diff)
downloadChibiOS-fdad6c0c8f6ee247818126a8a758aa8a1ebb74fc.tar.gz
ChibiOS-fdad6c0c8f6ee247818126a8a758aa8a1ebb74fc.tar.bz2
ChibiOS-fdad6c0c8f6ee247818126a8a758aa8a1ebb74fc.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2668 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F103')
-rw-r--r--demos/ARMCM3-STM32F103/codeblocks/ch.cbp13
1 files changed, 9 insertions, 4 deletions
diff --git a/demos/ARMCM3-STM32F103/codeblocks/ch.cbp b/demos/ARMCM3-STM32F103/codeblocks/ch.cbp
index 723c00fa0..8ca31ea80 100644
--- a/demos/ARMCM3-STM32F103/codeblocks/ch.cbp
+++ b/demos/ARMCM3-STM32F103/codeblocks/ch.cbp
@@ -30,12 +30,12 @@
<Compiler>
<Add option="-mthumb" />
<Add option="-mno-thumb-interwork" />
+ <Add option="-fomit-frame-pointer" />
+ <Add option="-Wextra" />
<Add option="-Wall" />
<Add option="-g" />
<Add option="-mcpu=cortex-m3" />
- <Add option="-fomit-frame-pointer" />
<Add option="-falign-functions=16" />
- <Add option="-Wextra" />
<Add option="-Wstrict-prototypes" />
<Add option="-ffunction-sections" />
<Add option="-fdata-sections" />
@@ -50,7 +50,7 @@
</Compiler>
<Linker>
<Add option="-nostartfiles" />
- <Add option="-T../../ch.ld" />
+ <Add option="-T../ch.ld" />
<Add option="-Wl,-Map=$exe_dir/ch.map,--cref,--no-warn-mismatch,--gc-sections" />
</Linker>
<ExtraCommands>
@@ -178,6 +178,9 @@
<Unit filename="..\..\..\os\kernel\src\chdebug.c">
<Option compilerVar="CC" />
</Unit>
+ <Unit filename="..\..\..\os\kernel\src\chdynamic.c">
+ <Option compilerVar="CC" />
+ </Unit>
<Unit filename="..\..\..\os\kernel\src\chevents.c">
<Option compilerVar="CC" />
</Unit>
@@ -224,7 +227,9 @@
<Option compilerVar="CC" />
</Unit>
<Unit filename="..\..\..\os\ports\GCC\ARMCMx\STM32\cmparams.h" />
- <Unit filename="..\..\..\os\ports\GCC\ARMCMx\STM32\vectors_md.s" />
+ <Unit filename="..\..\..\os\ports\GCC\ARMCMx\STM32\vectors.c">
+ <Option compilerVar="CC" />
+ </Unit>
<Unit filename="..\..\..\os\ports\GCC\ARMCMx\chcore.c">
<Option compilerVar="CC" />
</Unit>