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 /demos | |
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 'demos')
4 files changed, 36 insertions, 0 deletions
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/cfg/mcuconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/cfg/mcuconf.h index 6c9c3ffe0..b8acb0843 100644 --- a/demos/STM32/NIL-STM32F303-DISCOVERY/cfg/mcuconf.h +++ b/demos/STM32/NIL-STM32F303-DISCOVERY/cfg/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/demos/STM32/RT-STM32F303-DISCOVERY/cfg/mcuconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/cfg/mcuconf.h index 6c9c3ffe0..b8acb0843 100644 --- a/demos/STM32/RT-STM32F303-DISCOVERY/cfg/mcuconf.h +++ b/demos/STM32/RT-STM32F303-DISCOVERY/cfg/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/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/mcuconf.h b/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/mcuconf.h index ef132ceaf..8d0ddd9c8 100644 --- a/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/mcuconf.h +++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/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/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/mcuconf.h b/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/mcuconf.h index 92be9f8aa..4bb3530df 100644 --- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/mcuconf.h +++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/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
|