aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/NIL-STM32F303-DISCOVERY/cfg/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/NIL-STM32F303-DISCOVERY/cfg/mcuconf.h')
-rw-r--r--demos/STM32/NIL-STM32F303-DISCOVERY/cfg/mcuconf.h9
1 files changed, 9 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