From 16cc0f1414c33772dd6daa6c19d2be9dcaca2e64 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 29 Mar 2015 22:05:36 +0200 Subject: Added STM32F0 support. --- interrupt/fault.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interrupt') diff --git a/interrupt/fault.cpp b/interrupt/fault.cpp index 0a0410b..0d91c1d 100644 --- a/interrupt/fault.cpp +++ b/interrupt/fault.cpp @@ -3,7 +3,7 @@ #include inline void __attribute__((naked)) switch_context() { - #if ! defined(STM32L0) // TODO: cortex-m0/+ unsupported for now. + #if ! (defined(STM32F0) || defined(STM32L0)) // TODO: cortex-m0/+ unsupported for now. asm volatile ("cpsid i"); -- cgit v1.2.3