aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/SPI/cfg
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-12-02 17:20:59 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-12-02 17:20:59 +0000
commit732268a2148db0771034af243ffbeac658fc4942 (patch)
tree1818173ee62e531e31ea10ff9e083dd0e0ccba1c /testhal/STM32/multi/SPI/cfg
parent01e1216f5e175166041820b67d1abafb81ae5c16 (diff)
downloadChibiOS-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/STM32/multi/SPI/cfg')
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h9
1 files changed, 9 insertions, 0 deletions
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