aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/STM32F1xx/ADC/mcuconf.h6
-rw-r--r--testhal/STM32/STM32F1xx/CAN/mcuconf.h6
-rw-r--r--testhal/STM32/STM32F1xx/EXT/mcuconf.h6
-rw-r--r--testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h6
-rw-r--r--testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h6
-rw-r--r--testhal/STM32/STM32F1xx/SPI/mcuconf.h6
-rw-r--r--testhal/STM32/STM32F1xx/UART/mcuconf.h6
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h6
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h6
9 files changed, 54 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F1xx/ADC/mcuconf.h b/testhal/STM32/STM32F1xx/ADC/mcuconf.h
index 8ca927071..5900a8ee9 100644
--- a/testhal/STM32/STM32F1xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/ADC/mcuconf.h
@@ -176,6 +176,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F1xx/CAN/mcuconf.h b/testhal/STM32/STM32F1xx/CAN/mcuconf.h
index 39cf40780..473bed11f 100644
--- a/testhal/STM32/STM32F1xx/CAN/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/CAN/mcuconf.h
@@ -176,6 +176,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F1xx/EXT/mcuconf.h b/testhal/STM32/STM32F1xx/EXT/mcuconf.h
index b261fb50d..052440c0a 100644
--- a/testhal/STM32/STM32F1xx/EXT/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/EXT/mcuconf.h
@@ -176,6 +176,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h
index ae5c645da..05faa81f6 100644
--- a/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/IRQ_STORM/mcuconf.h
@@ -176,6 +176,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h
index f0963d15c..85d13b68a 100644
--- a/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/PWM-ICU/mcuconf.h
@@ -176,6 +176,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F1xx/SPI/mcuconf.h b/testhal/STM32/STM32F1xx/SPI/mcuconf.h
index 5de132afa..acab02b29 100644
--- a/testhal/STM32/STM32F1xx/SPI/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/SPI/mcuconf.h
@@ -176,6 +176,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F1xx/UART/mcuconf.h b/testhal/STM32/STM32F1xx/UART/mcuconf.h
index 10c0684ee..92d3380f6 100644
--- a/testhal/STM32/STM32F1xx/UART/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/UART/mcuconf.h
@@ -176,6 +176,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 TRUE
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h b/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h
index 3d82f8d46..66d85c8b1 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC/mcuconf.h
@@ -176,6 +176,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
index 9175f0851..0f62e848b 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/mcuconf.h
@@ -183,6 +183,12 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
+ * ST driver system settings.
+ */
+#define STM32_ST_IRQ_PRIORITY 8
+#define STM32_ST_USE_TIMER 2
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE