1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/msp430_common
Marian Buschsieweke 008e2d3b97
cpu/msp430_common: Prevent conflicting defines
irq_arch.h previously included cpu.h, which in term included the vendor header
files. Those were needed to get the GIE define (general interrupt enable bit).
However, the vendor files use fancy defines like `#define N (0x0004)` that
easily conflict with application code. Due to the widespread use of the IRQ API,
it is better to not include the vendor files in irq_arch.h.

This commit adds a local define for the GIE bit and uses this instead of
including cpu.h.
2020-11-06 21:10:19 +01:00
..
include cpu/msp430_common: Prevent conflicting defines 2020-11-06 21:10:19 +01:00
periph cpu/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
vendor cpu/msp430_common/vendor/README.md: add some explanation 2020-08-05 14:32:58 +02:00
cpu.c cpu/msp430_common: Don't access sched_active_* 2020-08-17 12:16:07 +02:00
irq.c cpu/msp430_common: use __stack for ISR stacks 2020-08-05 14:32:58 +02:00
Kconfig treewide: change prefix for generated Kconfig symbols. 2020-08-31 09:37:09 +02:00
Makefile cpu/msp430-common: moved pm_reboot to periph/pm.c 2017-01-19 11:07:59 +01:00
Makefile.dep cpu/msp430_common: move newlib default module decl to Makefile.dep 2020-08-05 14:32:58 +02:00
Makefile.features cpu/msp430_common: Add Kconfig symbols 2020-06-24 09:26:05 +02:00
Makefile.include makefiles: avoid building archives when compiling 2020-09-04 15:01:10 +02:00
msp430-main.c cpu/msp430: update to modern gcc & newlib 2020-08-05 14:29:00 +02:00
mspgcc-supplement.c msp430_common: Add supplemental __clzhi2, __ctzhi2, for old MSPGCC 2017-02-08 16:23:48 +01:00
startup.c cpu/msp430: call newlib _init() in startup script 2020-08-05 14:29:07 +02:00