diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-19 15:20:08 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-19 15:20:08 +0000 |
commit | 17992c06682a6f13efe29f797236616fb1e6d984 (patch) | |
tree | d9bf2af675ea181cb2a4c38dce57e91de9e67cf3 /demos/STM32 | |
parent | 0fab61f09fa206379d135c6015dcc3dc9e2f4b9a (diff) | |
download | ChibiOS-17992c06682a6f13efe29f797236616fb1e6d984.tar.gz ChibiOS-17992c06682a6f13efe29f797236616fb1e6d984.tar.bz2 ChibiOS-17992c06682a6f13efe29f797236616fb1e6d984.zip |
Updated L0 mcuconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11043 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32')
-rw-r--r-- | demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h | 24 | ||||
-rw-r--r-- | demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h | 24 | ||||
-rw-r--r-- | demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h | 20 | ||||
-rw-r--r-- | demos/STM32/RT-STM32L053R8-NUCLEO64/mcuconf.h | 24 | ||||
-rw-r--r-- | demos/STM32/RT-STM32L073RZ-NUCLEO64/mcuconf.h | 24 |
5 files changed, 58 insertions, 58 deletions
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.
@@ -64,6 +64,16 @@ #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.
*/
@@ -75,16 +85,6 @@ #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.
*/
#define STM32_GPT_USE_TIM2 FALSE
diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h b/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h index 183375896..9f0cebc96 100644 --- a/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h +++ b/demos/STM32/RT-STM32L031K6-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.
@@ -65,6 +65,16 @@ #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.
*/
@@ -76,16 +86,6 @@ #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.
*/
#define STM32_GPT_USE_TIM2 FALSE
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h index a517c7872..b99e21477 100644 --- a/demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h +++ b/demos/STM32/RT-STM32L053-DISCOVERY/mcuconf.h @@ -67,6 +67,16 @@ #define STM32_HSI48SEL STM32_HSI48SEL_HSI48
/*
+ * 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.
*/
@@ -78,16 +88,6 @@ #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.
*/
#define STM32_GPT_USE_TIM2 FALSE
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO64/mcuconf.h index bbf1fd85b..4503c942c 100644 --- a/demos/STM32/RT-STM32L053R8-NUCLEO64/mcuconf.h +++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/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.
@@ -67,6 +67,16 @@ #define STM32_HSI48SEL STM32_HSI48SEL_HSI48
/*
+ * 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.
*/
@@ -78,16 +88,6 @@ #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.
*/
#define STM32_GPT_USE_TIM2 FALSE
diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32L073RZ-NUCLEO64/mcuconf.h index 0c5a0434b..fb6cdf8ad 100644 --- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/mcuconf.h +++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/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.
@@ -68,6 +68,16 @@ #define STM32_HSI48SEL STM32_HSI48SEL_HSI48
/*
+ * 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.
*/
@@ -92,16 +102,6 @@ #define STM32_DAC_DAC1_CH2_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
/*
- * 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.
*/
#define STM32_GPT_USE_TIM2 FALSE
|