close #204 define HSE_VALUE in _hal_conf instead of board.mk

This commit is contained in:
hathach
2019-12-11 15:19:51 +07:00
parent 88b9a6e84d
commit 88bdb12ee5
15 changed files with 1 additions and 15 deletions
-1
View File
@@ -7,7 +7,6 @@ CFLAGS += \
-mfpu=fpv5-d16 \
-nostdlib -nostartfiles \
-DSTM32H743xx \
-DHSE_VALUE=8000000 \
-DCFG_TUSB_MCU=OPT_MCU_STM32H7
# mcu driver cause following warnings
+1 -1
View File
@@ -111,7 +111,7 @@
* (when HSE is used as system clock source, directly or through the PLL).
*/
#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint32_t)25000000) /*!< Value of the External oscillator in Hz */
#define HSE_VALUE ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */
#if !defined (HSE_STARTUP_TIMEOUT)