• R/O
  • SSH
  • HTTPS

chibios: 提交


Commit MetaInfo

修订版13377 (tree)
时间2020-02-21 19:00:09
作者gdisirio

Log Message

Updated obsolete mcuconf.h file.

更改概述

差异

--- trunk/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/mcuconf.h (revision 13376)
+++ trunk/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/mcuconf.h (revision 13377)
@@ -32,11 +32,18 @@
3232 */
3333
3434 #define STM32F4xx_MCUCONF
35+#define STM32F405_MCUCONF
36+#define STM32F415_MCUCONF
37+#define STM32F407_MCUCONF
38+#define STM32F417_MCUCONF
3539
3640 /*
3741 * HAL driver system settings.
3842 */
3943 #define STM32_NO_INIT FALSE
44+#define STM32_PVD_ENABLE FALSE
45+#define STM32_PLS STM32_PLS_LEV0
46+#define STM32_BKPRAM_ENABLE FALSE
4047 #define STM32_HSI_ENABLED TRUE
4148 #define STM32_LSI_ENABLED TRUE
4249 #define STM32_HSE_ENABLED TRUE
@@ -60,9 +67,6 @@
6067 #define STM32_I2SSRC STM32_I2SSRC_CKIN
6168 #define STM32_PLLI2SN_VALUE 192
6269 #define STM32_PLLI2SR_VALUE 5
63-#define STM32_PVD_ENABLE FALSE
64-#define STM32_PLS STM32_PLS_LEV0
65-#define STM32_BKPRAM_ENABLE FALSE
6670
6771 /*
6872 * IRQ system settings.
@@ -234,6 +238,14 @@
234238 #define STM32_PWM_TIM9_IRQ_PRIORITY 7
235239
236240 /*
241+ * RTC driver system settings.
242+ */
243+#define STM32_RTC_PRESA_VALUE 32
244+#define STM32_RTC_PRESS_VALUE 1024
245+#define STM32_RTC_CR_INIT 0
246+#define STM32_RTC_TAMPCR_INIT 0
247+
248+/*
237249 * SDC driver system settings.
238250 */
239251 #define STM32_SDC_SDIO_DMA_PRIORITY 3
@@ -330,9 +342,7 @@
330342 #define STM32_USB_OTG2_IRQ_PRIORITY 14
331343 #define STM32_USB_OTG1_RX_FIFO_SIZE 512
332344 #define STM32_USB_OTG2_RX_FIFO_SIZE 1024
333-#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
334-#define STM32_USB_OTG_THREAD_STACK_SIZE 128
335-#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
345+#define STM32_USB_HOST_WAKEUP_DURATION 2
336346
337347 /*
338348 * WDG driver system settings.
Show on old repository browser