diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-19 08:23:57 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-19 08:23:57 +0000 |
commit | 478484f05dad0c414b5e8982517c2a5a3485ec67 (patch) | |
tree | 6574408c6e18ad52889940252e511974553f37d7 /testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h | |
parent | 46374f9394b53064a51e48e0a39c5b0af7b4833c (diff) | |
download | ChibiOS-478484f05dad0c414b5e8982517c2a5a3485ec67.tar.gz ChibiOS-478484f05dad0c414b5e8982517c2a5a3485ec67.tar.bz2 ChibiOS-478484f05dad0c414b5e8982517c2a5a3485ec67.zip |
Re-aligned mcuconf.h files for F1 devices.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11037 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h')
-rw-r--r-- | testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h index 3064f16a5..e535c0cb1 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h @@ -62,6 +62,21 @@ #define STM32_PLS STM32_PLS_LEV0
/*
+ * IRQ system settings.
+ */
+#define STM32_IRQ_EXTI0_PRIORITY 6
+#define STM32_IRQ_EXTI1_PRIORITY 6
+#define STM32_IRQ_EXTI2_PRIORITY 6
+#define STM32_IRQ_EXTI3_PRIORITY 6
+#define STM32_IRQ_EXTI4_PRIORITY 6
+#define STM32_IRQ_EXTI5_9_PRIORITY 6
+#define STM32_IRQ_EXTI10_15_PRIORITY 6
+#define STM32_IRQ_EXTI16_PRIORITY 6
+#define STM32_IRQ_EXTI17_PRIORITY 6
+#define STM32_IRQ_EXTI18_PRIORITY 6
+#define STM32_IRQ_EXTI19_PRIORITY 6
+
+/*
* ADC driver system settings.
*/
#define STM32_ADC_USE_ADC1 FALSE
@@ -77,21 +92,6 @@ #define STM32_CAN_CAN2_IRQ_PRIORITY 11
/*
- * EXT driver system settings.
- */
-#define STM32_EXT_EXTI0_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI1_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI2_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI3_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI4_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI5_9_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI10_15_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI16_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI17_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI18_IRQ_PRIORITY 6
-#define STM32_EXT_EXTI19_IRQ_PRIORITY 6
-
-/*
* GPT driver system settings.
*/
#define STM32_GPT_USE_TIM1 FALSE
@@ -117,8 +117,7 @@ #define STM32_I2C_I2C2_IRQ_PRIORITY 5
#define STM32_I2C_I2C1_DMA_PRIORITY 3
#define STM32_I2C_I2C2_DMA_PRIORITY 3
-#define STM32_I2C_I2C1_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")
-#define STM32_I2C_I2C2_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")
+#define STM32_I2C_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")
/*
* ICU driver system settings.
|