From 17992c06682a6f13efe29f797236616fb1e6d984 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 19 Nov 2017 15:20:08 +0000 Subject: Updated L0 mcuconf.h files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11043 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'demos/STM32/NIL-STM32L011K4-NUCLEO32') diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h index 733485505..1083038a0 100644 --- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h +++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h @@ -18,14 +18,14 @@ #define MCUCONF_H /* - * STM32L1xx drivers configuration. + * STM32L0xx drivers configuration. * The following settings override the default settings present in * the various device driver implementation headers. * Note that the settings for each driver only have effect if the whole * driver is enabled in halconf.h. * * IRQ priorities: - * 15...0 Lowest...Highest. + * 3...0 Lowest...Highest. * * DMA priorities: * 0...3 Lowest...Highest. @@ -63,6 +63,16 @@ #define STM32_I2C1SEL STM32_I2C1SEL_APB #define STM32_LPTIM1SEL STM32_LPTIM1SEL_APB +/* + * IRQ system settings. + */ +#define STM32_IRQ_EXTI0_1_PRIORITY 3 +#define STM32_IRQ_EXTI2_3_PRIORITY 3 +#define STM32_IRQ_EXTI4_15_PRIORITY 3 +#define STM32_IRQ_EXTI16_PRIORITY 3 +#define STM32_IRQ_EXTI17_20_PRIORITY 3 +#define STM32_IRQ_EXTI21_22_PRIORITY 3 + /* * ADC driver system settings. * Note, IRQ is shared with EXT channels 21 and 22. @@ -74,16 +84,6 @@ #define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1) #define STM32_ADC_PRESCALER_VALUE 1 -/* - * EXT driver system settings. - */ -#define STM32_EXT_EXTI0_1_IRQ_PRIORITY 3 -#define STM32_EXT_EXTI2_3_IRQ_PRIORITY 3 -#define STM32_EXT_EXTI4_15_IRQ_PRIORITY 3 -#define STM32_EXT_EXTI16_IRQ_PRIORITY 3 -#define STM32_EXT_EXTI17_20_IRQ_PRIORITY 3 -#define STM32_EXT_EXTI21_22_IRQ_PRIORITY 3 - /* * GPT driver system settings. */ -- cgit v1.2.3