Hauke Petersen
ec7c9ab590
Merge pull request #3380 from gebart/pr/toolchain-gcc-alias
...
boards/Makefile.include.cortexm_common: Add TOOLCHAIN=gcc as an alias for TOOLCHAIN=gnu
2015-07-14 09:31:22 +02:00
Joakim Gebart
3cfb1b6099
boards/Makefile.include.cortexm_common: Add TOOLCHAIN=gcc as an alias for TOOLCHAIN=gnu
2015-07-13 17:04:57 +02:00
Thomas Eichinger
a624412597
make: build with linker garbage collection
...
Currently only has the linker flag --gc-sections defined which tells
the linker to omit dead code. Depending on the application this leads
to significant reduction of code size.
2015-07-13 15:20:48 +02:00
Joakim Gebart
f376bbc8f6
cortexm: Add support for building with LLVM/Clang
...
as an alternative to the default GCC toolchain.
export TOOLCHAIN=llvm
to build with Clang instead of GCC
2015-06-01 14:56:29 +02:00
Joakim Gebart
030820ce65
Merge pull request #3123 from haukepetersen/opt_cortex_linkerscripts
...
cpu: centralized linkerscripts for Cortex-M based CPUs
2015-05-31 09:37:50 +02:00
Joakim Gebart
1d7440f57d
Merge pull request #3121 from gebart/pr/cortexm-minor-style-cflag-fixes
...
cortexm: minor CFLAGS changes
2015-05-30 14:18:04 +02:00
Hauke Petersen
9373b4535d
boards/Make.inc: include cortexm base linkerscript
2015-05-30 13:43:19 +02:00
Joakim Gebart
ba2d4a0d11
cortexm: Make linker warnings fatal
...
Linker warnings usually means something does not get placed where it is
supposed to and the most likely result is a broken binary.
Linker warnings should be treated as serious problems with the program
and should be solved before the program is tested on actual hardware.
2015-05-30 12:27:35 +02:00
Joakim Gebart
99ade42723
cortexm: let environment override CFLAGS_DBG
2015-05-30 12:24:11 +02:00
Joakim Gebart
3c0498d835
cortexm: escalate implicit-function-declaration to error
...
"implicit declaration of function 'blah'" is a symptom of a missing #include
and should be considered an error.
2015-05-30 12:24:11 +02:00
Joakim Gebart
c09a8484e2
cortexm: Move ldscripts into separate directory
...
Less clutter inside the cpu/* directories by placing linker scripts
under cpu/*/ldscripts/CPUNAME.ld
2015-05-30 12:20:07 +02:00
Joakim Gebart
42f48b731f
boards: Let env override PREFIX, set TARGET_TRIPLE
2015-05-28 19:30:07 +02:00
Hauke Petersen
b8dd144e03
cpu: unified cortexm_common folder
...
- removed coretx-m[0|3|4]
- moved their content to cortexm_common
- adjusted cortex Makefiles to this new name
- adjusted cortex Makefiles new structure
2015-05-28 19:30:07 +02:00