mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
008e2d3b97
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. |
||
---|---|---|
.. | ||
include | ||
periph | ||
vendor | ||
cpu.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
Makefile.dep | ||
Makefile.features | ||
Makefile.include | ||
msp430-main.c | ||
mspgcc-supplement.c | ||
startup.c |