diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2015-03-29 21:37:03 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2016-08-18 23:36:07 +0200 |
commit | 7b2d322df819e8a339cdb534e69d8e205765d3b2 (patch) | |
tree | c18a85a712285d6f3939113824eb2f2636833992 /interrupt/interrupt.cpp | |
parent | 29d8f1b4e89f31e2f3b448c4d40c6c2518629686 (diff) |
Added STM32L0 support.
Diffstat (limited to 'interrupt/interrupt.cpp')
-rw-r--r-- | interrupt/interrupt.cpp | 4 |
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>, |