aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32L4xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-28 12:47:21 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-28 12:47:21 +0000
commitb94c000dd86448ce81f1a33fa41cc8a98207e1a9 (patch)
treeb1e06e53e0084535c12c22607ec2dc9b1f9a3df1 /os/hal/ports/STM32/STM32L4xx
parent75eac1f57411e538096ce42eb938f4021a658eec (diff)
downloadChibiOS-b94c000dd86448ce81f1a33fa41cc8a98207e1a9.tar.gz
ChibiOS-b94c000dd86448ce81f1a33fa41cc8a98207e1a9.tar.bz2
ChibiOS-b94c000dd86448ce81f1a33fa41cc8a98207e1a9.zip
Added more STM32L4xx demos.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8991 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L4xx')
-rw-r--r--os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c2
-rw-r--r--os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c b/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c
index dc4e5f002..3df747d94 100644
--- a/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c
+++ b/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c
@@ -328,7 +328,7 @@ void ext_lld_exti_irq_enable(void) {
nvicEnableVector(EXTI4_IRQn, STM32_EXT_EXTI4_IRQ_PRIORITY);
nvicEnableVector(EXTI9_5_IRQn, STM32_EXT_EXTI5_9_IRQ_PRIORITY);
nvicEnableVector(EXTI15_10_IRQn, STM32_EXT_EXTI10_15_IRQ_PRIORITY);
- nvicEnableVector(PVD_PVM_IRQn, STM32_EXT_EXTI16_IRQ_PRIORITY);
+ nvicEnableVector(PVD_PVM_IRQn, STM32_EXT_EXTI1635_38_IRQ_PRIORITY);
nvicEnableVector(RTC_Alarm_IRQn, STM32_EXT_EXTI18_IRQ_PRIORITY);
nvicEnableVector(TAMP_STAMP_IRQn, STM32_EXT_EXTI19_IRQ_PRIORITY);
nvicEnableVector(RTC_WKUP_IRQn, STM32_EXT_EXTI20_IRQ_PRIORITY);
diff --git a/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h b/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h
index 3e9d686b6..5c0508237 100644
--- a/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h
+++ b/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h
@@ -89,10 +89,10 @@
#endif
/**
- * @brief EXTI16 interrupt priority level setting.
+ * @brief EXTI16-EXTI35..38 interrupt priority level setting.
*/
-#if !defined(STM32_EXT_EXTI16_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define STM32_EXT_EXTI16_IRQ_PRIORITY 6
+#if !defined(STM32_EXT_EXTI1635_38_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#define STM32_EXT_EXTI1635_38_IRQ_PRIORIT 6
#endif
/**