summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/startup_stm32.S
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-30 17:55:21 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-30 17:55:21 +1100
commit7876e54aa5ebd0daca0fa4cd7b0faaa424b1d23d (patch)
treef662ac2d92b556b438506b29af648633624075ef /stmhal/startup_stm32.S
parent43defc9e98d27d370d1aa728c24ca48377ca6f66 (diff)
downloadmicropython-7876e54aa5ebd0daca0fa4cd7b0faaa424b1d23d.tar.gz
micropython-7876e54aa5ebd0daca0fa4cd7b0faaa424b1d23d.zip
stmhal/sdcard: Add support for SDMMC2 on F7 MCUs.
By default the SDIO (F4) or SDMMC1 (L4, F7) is used as the SD card peripheral, but if a board config defines MICROPY_HW_SDMMC2_CK and other pins then the SD card driver will use SDMMC2.
Diffstat (limited to 'stmhal/startup_stm32.S')
-rw-r--r--stmhal/startup_stm32.S24
1 files changed, 24 insertions, 0 deletions
diff --git a/stmhal/startup_stm32.S b/stmhal/startup_stm32.S
index 25b0fdd392..a688cd0673 100644
--- a/stmhal/startup_stm32.S
+++ b/stmhal/startup_stm32.S
@@ -335,6 +335,12 @@ g_pfnVectors:
.word I2C4_EV_IRQHandler /* I2C4 Event */
.word I2C4_ER_IRQHandler /* I2C4 Error */
.word SPDIF_RX_IRQHandler /* SPDIF_RX */
+ .word DSIHOST_IRQHandler /* DSI host */
+ .word DFSDM1_FLT0_IRQHandler /* DFSDM1 filter 0 */
+ .word DFSDM1_FLT1_IRQHandler /* DFSDM1 filter 1 */
+ .word DFSDM1_FLT2_IRQHandler /* DFSDM1 filter 2 */
+ .word DFSDM1_FLT3_IRQHandler /* DFSDM1 filter 3 */
+ .word SDMMC2_IRQHandler /* SDMMC2 */
#endif
/*******************************************************************************
@@ -793,6 +799,24 @@ g_pfnVectors:
.weak SPDIF_RX_IRQHandler
.thumb_set SPDIF_RX_IRQHandler,Default_Handler
+
+ .weak DSIHOST_IRQHandler
+ .thumb_set DSIHOST_IRQHandler,Default_Handler
+
+ .weak DFSDM1_FLT0_IRQHandler
+ .thumb_set DFSDM1_FLT0_IRQHandler,Default_Handler
+
+ .weak DFSDM1_FLT1_IRQHandler
+ .thumb_set DFSDM1_FLT1_IRQHandler,Default_Handler
+
+ .weak DFSDM1_FLT2_IRQHandler
+ .thumb_set DFSDM1_FLT2_IRQHandler,Default_Handler
+
+ .weak DFSDM1_FLT3_IRQHandler
+ .thumb_set DFSDM1_FLT3_IRQHandler,Default_Handler
+
+ .weak SDMMC2_IRQHandler
+ .thumb_set SDMMC2_IRQHandler,Default_Handler
#endif
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/