STM32F411: introduce sei() and cli() also for STM32F411
This commit is contained in:
parent
2da993220e
commit
c83ada5e07
10
cpu.h
10
cpu.h
|
|
@ -6,10 +6,18 @@
|
|||
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
#elif defined __ARMEL__
|
||||
#elif defined __ARM_LPC1114__
|
||||
|
||||
#include "cmsis-lpc11xx.h" // For __ASM().
|
||||
|
||||
#elif defined __ARM_STM32F411__
|
||||
|
||||
#include "cmsis-stm32f4xx.h" // For __ASM().
|
||||
|
||||
#endif
|
||||
|
||||
#if defined __ARMEL__
|
||||
|
||||
/** Enable interrupts.
|
||||
|
||||
This enables interrupts by clearing the I-bit in the CPSR.
|
||||
|
|
|
|||
Loading…
Reference in New Issue