1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/msp430_common/include
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
..
architecture_arch.h cpu/msp430_common: Add architecture_arch.h 2020-09-29 12:33:59 +02:00
c11_atomics_compat_cpu.hpp cpu/msp430: re-create c11_atomics_compat_cpu.hpp using msp430-elf-gcc 2020-08-05 14:32:58 +02:00
cpu_conf.h cpu/msp430_common: increase THREAD_STACKSIZE_DEFAULT to 384 2020-08-05 14:32:58 +02:00
cpu.h cpu/msp430_common: Don't access sched_active_* 2020-08-17 12:16:07 +02:00
irq_arch.h cpu/msp430_common: Prevent conflicting defines 2020-11-06 21:10:19 +01:00