diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2015-03-29 22:05:36 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2015-03-29 22:05:36 +0200 |
commit | 16cc0f1414c33772dd6daa6c19d2be9dcaca2e64 (patch) | |
tree | 17b5f263f00a415b873d40188459b83940878a28 /interrupt | |
parent | 49012588461f1a43e9e476f676d946d91c3df9e7 (diff) |
Added STM32F0 support.
Diffstat (limited to 'interrupt')
-rw-r--r-- | interrupt/fault.cpp | 2 |
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"); |