summaryrefslogtreecommitdiff
path: root/interrupt/interrupt.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2015-03-29 21:37:03 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2015-03-29 21:37:03 +0200
commit49012588461f1a43e9e476f676d946d91c3df9e7 (patch)
treed9e6ab6bf279889ca660ddb86f3942d41e54bf3e /interrupt/interrupt.cpp
parent7b4ba03bc45dfed09759b9d0f99f6ddfde51ac43 (diff)
Added STM32L0 support.
Diffstat (limited to 'interrupt/interrupt.cpp')
-rw-r--r--interrupt/interrupt.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/interrupt/interrupt.cpp b/interrupt/interrupt.cpp
index 611b09c..ebda829 100644
--- a/interrupt/interrupt.cpp
+++ b/interrupt/interrupt.cpp
@@ -89,8 +89,10 @@ template<> void interrupt<Interrupt::DMA2_Channel4_5>() __attribute__ ((weak, al
typedef void (*vector_t)();
+extern uint32_t _ram_end;
+
vector_t vectors[] __attribute__((section(".vectors"))) = {
- (vector_t)0x20004ffc,
+ (vector_t)&_ram_end,
entry,
interrupt<Interrupt::NMI>,
interrupt<Interrupt::HardFault>,