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
744ec88a74
cpu: use cortexm common linkerscript
2015-05-30 13:43:19 +02:00
Hauke Petersen
9373b4535d
boards/Make.inc: include cortexm base linkerscript
2015-05-30 13:43:19 +02:00
Hauke Petersen
8752894cc9
cpu/cortexm: added base linkerscript
2015-05-30 13:43:19 +02:00
Hauke Petersen
ec805b603f
Merge pull request #3120 from gebart/pr/ldscripts-location
...
cpu: Move ldscripts into separate directory
2015-05-30 13:35:21 +02:00
Philipp Rosenkranz
33752e4bc6
Merge pull request #3117 from gebart/pr/travis-cortex-m3-1
...
travis: get arm install packages for cortex_m3_1
2015-05-30 13:15:58 +02:00
Joakim Gebart
3ede02683c
drivers/servo: Handle inexact frequencies from periph_pwm
2015-05-30 12:41:07 +02:00
Joakim Gebart
1918b5d379
tests/driver_servo: Add test application for drivers/servo
2015-05-30 12:41:07 +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
68ee0f7c77
Merge pull request #3112 from haukepetersen/fix_cortex_fpu
...
cpu/cortexm: disabled hard floats for M4F CPUs
2015-05-30 09:30:39 +02:00
Joakim Gebart
41e1b57624
Merge pull request #3100 from haukepetersen/opt_cortexm_init
...
cpu: centralized cortex initialization and some defines
2015-05-30 09:21:46 +02:00
Joakim Gebart
cb44cc64c9
Merge pull request #3113 from kaspar030/fix_bitfield
...
sys: bitfield.h: some fixes
2015-05-30 09:18:34 +02:00
Joakim Gebart
4906dbca11
Merge pull request #3114 from kaspar030/optimize_panic
...
core: optimize panic.c
2015-05-30 09:10:51 +02:00
Joakim Gebart
85f7a7d98f
travis: get arm install packages for cortex_m3_1
...
fix typo that caused all packages to be installed when building group cortex_m3_1
2015-05-30 09:05:53 +02:00
f953ae8187
core: optimize panic.c
2015-05-29 17:17:11 +02:00
9ecaea4038
Merge pull request #2848 from haukepetersen/fix_samr21_optimization
...
cpu/samd21: remove -O0 override
2015-05-29 16:49:55 +02:00
Hauke Petersen
e2cb8e7c81
sys/uart0: include cpu.h in board_uart0.h
...
Some CPUs (e.g. cortex-m based ones) define the UART0_BUFSIZE
in cpu.h. So also include this file here.
2015-05-29 16:44:52 +02:00
Hauke Petersen
f48ea33805
cpu/stm32l1: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
0e61ec097c
cpu/stm32f1: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
79d9391d3b
cpu/stm32f4: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
c6d65fec8b
cpu/stm32f3: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
cb476daff0
cpu/stm32f0: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
dfb717c308
cpu/samd21: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
3c48722e0f
cpu/saml21: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
4d3b147122
cpu/sam3x8e: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
a97cdaaf8d
cpu/nrf51822: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
aa728e0506
cpu/lpc1768: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
6102896f7a
cpu/kw2x: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
de31e1f9e8
cpu/kinetis_common: fixes to fault_handlers
2015-05-29 16:42:05 +02:00
Hauke Petersen
d4d34a782e
cpu/k60: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
52e51bfea1
cpu/cc2538: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
78d65a4dec
cpu/cortexm_common: centralized init and defines
...
- added a centralized core implementation for all cortex CPUs
- moved default stack size defines to cpu.h in cortexm_common
- moved uart0 bufsize define to cpu.h in cortexm_common
- moved typed of panic_t to cpu.h in cortexm_common
2015-05-29 16:42:05 +02:00
3965e889e1
sys: bitfield.h: some fixes
2015-05-29 15:56:23 +02:00
Joakim Gebart
ea597a3bf3
stm32f4: random fix sign-compare
2015-05-29 14:23:02 +02:00
Joakim Gebart
18ea5561f8
stm32f4: spi_transfer_bytes fix sign-compare, reduce scope
2015-05-29 14:23:02 +02:00
Joakim Gebart
13bdc21c9e
stm32f4: i2c_init_slave fix unused-parameter
2015-05-29 14:23:01 +02:00
Joakim Gebart
0eaeca3640
sys/newlib/syscalls: fix warnings
...
- rx_cb: unused-parameter
- _write_r: sign-compare
- all stubbed syscalls: unused-parameter
2015-05-29 14:23:01 +02:00
Joakim Gebart
1c855cb230
drivers/at86rf231: fix unused-parameter
2015-05-29 14:23:01 +02:00
Joakim Gebart
12cfb8deef
k60: fix unused-parameter warnings
2015-05-29 14:23:01 +02:00
Joakim Gebart
697b85c182
kinetis: fix SPI double initialization warnings
2015-05-29 14:23:01 +02:00
Joakim Gebart
ec3679fd13
kinetis: spi_init_slave add missing callback assignment
2015-05-29 14:23:01 +02:00
Joakim Gebart
d4c1436de9
kinetis: fix warnings
...
- find_closest_x: sign-compare
- hwtimer_arch: unused-parameter
- i2c_init_slave: unused-parameter
- rnga: sign-compare
- rngb: sign-compare
- spi_transfer_bytes: sign-compare
- spi_transfer_regs: sign-compare
- timer: unused-parameter
2015-05-29 14:21:52 +02:00
Joakim Gebart
8a34b15964
cortexm_common: Conditionally define __set_FPSCR
...
It is an error to call __set_FPSCR if no FPU is present in the CPU.
2015-05-29 14:16:35 +02:00
Hauke Petersen
f3a7515d34
cpu/cortexm: disabled hard floats for M4F CPUs
2015-05-29 13:56:41 +02:00
f9b00c4257
Merge pull request #3083 from haukepetersen/fix_saml21_startup
...
cpu/saml21: fixed and cleaned up startup.c
2015-05-29 13:06:07 +02:00
Hauke Petersen
bca23c410b
cpu/saml21: use core_panic in startup.c
2015-05-29 12:55:13 +02:00
Hauke Petersen
93fe62f975
cpu/saml21: removed non-existent exception handlers
2015-05-29 12:55:13 +02:00