From b94c000dd86448ce81f1a33fa41cc8a98207e1a9 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 28 Feb 2016 12:47:21 +0000 Subject: Added more STM32L4xx demos. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8991 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c | 2 +- os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'os/hal/ports/STM32/STM32L4xx') 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 /** -- cgit v1.2.3