diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-12-02 17:20:59 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-12-02 17:20:59 +0000 |
commit | 732268a2148db0771034af243ffbeac658fc4942 (patch) | |
tree | 1818173ee62e531e31ea10ff9e083dd0e0ccba1c /testhal | |
parent | 01e1216f5e175166041820b67d1abafb81ae5c16 (diff) | |
download | ChibiOS-732268a2148db0771034af243ffbeac658fc4942.tar.gz ChibiOS-732268a2148db0771034af243ffbeac658fc4942.tar.bz2 ChibiOS-732268a2148db0771034af243ffbeac658fc4942.zip |
Added F303 mcuconf.h generator.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12458 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32/STM32F3xx/ADC/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/STM32F3xx/CAN/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/STM32F3xx/DAC/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/STM32F3xx/WDG/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h | 1 | ||||
-rw-r--r-- | testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h | 9 | ||||
-rw-r--r-- | testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h | 9 |
13 files changed, 109 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F3xx/ADC/mcuconf.h b/testhal/STM32/STM32F3xx/ADC/mcuconf.h index 1433903d0..863f45050 100644 --- a/testhal/STM32/STM32F3xx/ADC/mcuconf.h +++ b/testhal/STM32/STM32F3xx/ADC/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h index bda7a1079..27da0ebd4 100644 --- a/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h +++ b/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F3xx/CAN/mcuconf.h b/testhal/STM32/STM32F3xx/CAN/mcuconf.h index be97f7647..73a259e62 100644 --- a/testhal/STM32/STM32F3xx/CAN/mcuconf.h +++ b/testhal/STM32/STM32F3xx/CAN/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F3xx/DAC/mcuconf.h b/testhal/STM32/STM32F3xx/DAC/mcuconf.h index fb742bb6d..5480fff09 100644 --- a/testhal/STM32/STM32F3xx/DAC/mcuconf.h +++ b/testhal/STM32/STM32F3xx/DAC/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h index e23610619..3cbe61acc 100644 --- a/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h +++ b/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 TRUE
diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h index 2cc18118d..73cbe4700 100644 --- a/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h +++ b/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h index ed9c3d1f3..974ded7e4 100644 --- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h +++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/STM32F3xx/WDG/mcuconf.h b/testhal/STM32/STM32F3xx/WDG/mcuconf.h index 88171081c..c8f390cbe 100644 --- a/testhal/STM32/STM32F3xx/WDG/mcuconf.h +++ b/testhal/STM32/STM32F3xx/WDG/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h index 99b241889..5ceada6b2 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h index 5381f990b..1665ade9c 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h index 952c4e4af..7f83d03d2 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h index 21a681a9c..76b4d9a45 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h index ed9c3d1f3..974ded7e4 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */
#define STM32F3xx_MCUCONF
+#define STM32F303_MCUCONF
/*
* HAL driver system settings.
@@ -190,6 +191,14 @@ #define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * RTC driver system settings.
+ */
+#define STM32_RTC_PRESA_VALUE 32
+#define STM32_RTC_PRESS_VALUE 1024
+#define STM32_RTC_CR_INIT 0
+#define STM32_RTC_TAMPCR_INIT 0
+
+/*
* SERIAL driver system settings.
*/
#define STM32_SERIAL_USE_USART1 FALSE
|