mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
close #204 define HSE_VALUE in _hal_conf instead of board.mk
This commit is contained in:
parent
88b9a6e84d
commit
88bdb12ee5
@ -7,7 +7,6 @@ CFLAGS += \
|
||||
-mfpu=fpv4-sp-d16 \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F405xx \
|
||||
-DHSE_VALUE=12000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F4
|
||||
|
||||
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F4xx_HAL_Driver
|
||||
|
@ -7,7 +7,6 @@ CFLAGS += \
|
||||
-mfpu=fpv4-sp-d16 \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F405xx \
|
||||
-DHSE_VALUE=12000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F4
|
||||
|
||||
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F4xx_HAL_Driver
|
||||
|
@ -5,7 +5,6 @@ CFLAGS += \
|
||||
-mcpu=cortex-m0 \
|
||||
-mfloat-abi=soft \
|
||||
-nostdlib -nostartfiles \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DSTM32F070xB \
|
||||
-DCFG_EXAMPLE_MSC_READONLY \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F0
|
||||
|
@ -6,7 +6,6 @@ CFLAGS += \
|
||||
-mfloat-abi=soft \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F072xB \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_EXAMPLE_MSC_READONLY \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F0
|
||||
|
||||
|
@ -6,7 +6,6 @@ CFLAGS += \
|
||||
-mfloat-abi=soft \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F103xB \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F1
|
||||
|
||||
# mcu driver cause following warnings
|
||||
|
@ -6,7 +6,6 @@ CFLAGS += \
|
||||
-mfloat-abi=soft \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F207xx \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F2
|
||||
|
||||
# mcu driver cause following warnings
|
||||
|
@ -7,7 +7,6 @@ CFLAGS += \
|
||||
-mfpu=fpv4-sp-d16 \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F303xC \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F3
|
||||
|
||||
# mcu driver cause following warnings
|
||||
|
@ -7,7 +7,6 @@ CFLAGS += \
|
||||
-mfpu=fpv4-sp-d16 \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F407xx \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F4
|
||||
|
||||
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F4xx_HAL_Driver
|
||||
|
@ -7,7 +7,6 @@ CFLAGS += \
|
||||
-mfpu=fpv4-sp-d16 \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F411xE \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F4
|
||||
|
||||
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F4xx_HAL_Driver
|
||||
|
@ -7,7 +7,6 @@ CFLAGS += \
|
||||
-mfpu=fpv4-sp-d16 \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F412Zx \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F4
|
||||
|
||||
# mcu driver cause following warnings
|
||||
|
@ -7,7 +7,6 @@ CFLAGS += \
|
||||
-mfpu=fpv5-d16 \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32F767xx \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F7
|
||||
|
||||
# mcu driver cause following warnings
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -6,7 +6,6 @@ CFLAGS += \
|
||||
-mfloat-abi=soft \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32L053xx \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_EXAMPLE_MSC_READONLY \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32L0
|
||||
|
||||
|
@ -7,7 +7,6 @@ CFLAGS += \
|
||||
-mfpu=fpv4-sp-d16 \
|
||||
-nostdlib -nostartfiles \
|
||||
-DSTM32L476xx \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32L4
|
||||
|
||||
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32L4xx_HAL_Driver
|
||||
|
Loading…
x
Reference in New Issue
Block a user