aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2015-03-03 00:00:40 -0800
committerbnewbold <bnewbold@robocracy.org>2015-03-03 00:15:30 -0800
commit4f09c7ff0cd1644e6e638e8746d519d021735356 (patch)
treeef3562d354b82f6dc0642e18b9c395bc6ec5ad1b /libmaple
parentff3d197c123b85bb51bc2b930b4649124fe4bb54 (diff)
downloadlibrambutan-4f09c7ff0cd1644e6e638e8746d519d021735356.tar.gz
librambutan-4f09c7ff0cd1644e6e638e8746d519d021735356.zip
stm32f4: add F4-specific IRQ entries
Perhaps these should be in F4-specific files instead of the shared F2-F4 files?
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/stm32f2-f4/isrs.S7
-rw-r--r--libmaple/stm32f2-f4/vector_table.S3
2 files changed, 10 insertions, 0 deletions
diff --git a/libmaple/stm32f2-f4/isrs.S b/libmaple/stm32f2-f4/isrs.S
index 5baaf8b..cda627a 100644
--- a/libmaple/stm32f2-f4/isrs.S
+++ b/libmaple/stm32f2-f4/isrs.S
@@ -320,3 +320,10 @@ __default_handler:
.weak __irq_hash_rng
.globl __irq_hash_rng
.set __irq_hash_rng, __default_handler
+/* STM32F4 Specific */
+ .weak __irq_fpu
+ .globl __irq_fpu
+ .set __irq_fpu, __default_handler
+ .weak __irq_spi4
+ .globl __irq_spi4
+ .set __irq_spi4, __default_handler
diff --git a/libmaple/stm32f2-f4/vector_table.S b/libmaple/stm32f2-f4/vector_table.S
index 147e516..752503b 100644
--- a/libmaple/stm32f2-f4/vector_table.S
+++ b/libmaple/stm32f2-f4/vector_table.S
@@ -131,5 +131,8 @@ __stm32_vector_table:
.long __irq_dcmi
.long __irq_cryp
.long __irq_hash_rng
+/* STM32F4-specific */
+ .long __irq_fpu
+ .long __irq_spi4
.size __stm32_vector_table, . - __stm32_vector_table