summaryrefslogtreecommitdiff
path: root/interrupt
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2015-03-29 22:05:36 +0200
committerVegard Storheil Eriksen <v.eriksen@diinef.com>2019-03-19 13:02:30 +0100
commitf1475a7e6cb3077781199981bc3ee74e4ba29b86 (patch)
tree487401a124891b975926eb2cd30325fe481838ee /interrupt
parentd81982edb1c4abf9a38da742f81bb648ce6882c5 (diff)
Added STM32F0 support.
Diffstat (limited to 'interrupt')
-rw-r--r--interrupt/fault.cpp2
1 files changed, 1 insertions, 1 deletions
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 <os/time.h>
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");