From c83ada5e07ea0191d6cd973b1d2b10f84f3cf45c Mon Sep 17 00:00:00 2001 From: Nico Tonnhofer Date: Thu, 19 Nov 2015 19:48:04 +0100 Subject: [PATCH] STM32F411: introduce sei() and cli() also for STM32F411 --- cpu.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cpu.h b/cpu.h index 7660464..2c6e8d1 100644 --- a/cpu.h +++ b/cpu.h @@ -6,10 +6,18 @@ #include -#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.