hwdef: removed unnecessary PLL overrides
now we've properly filled in the F4 clocks we can use normal PLL settings
This commit is contained in:
parent
040ff007ea
commit
00e32b52bf
@ -10,15 +10,6 @@ APJ_BOARD_ID 188
|
||||
# crystal frequency, setup to use external oscillator
|
||||
OSCILLATOR_HZ 8000000
|
||||
|
||||
define STM32_LSECLK 32768U
|
||||
define STM32_LSEDRV (3U << 3U)
|
||||
|
||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
||||
define STM32_PLLM_VALUE 8
|
||||
define STM32_PLLN_VALUE 432
|
||||
define STM32_PLLP_VALUE 2
|
||||
define STM32_PLLQ_VALUE 9
|
||||
|
||||
FLASH_SIZE_KB 1024
|
||||
|
||||
# bootloader starts at zero offset
|
||||
|
@ -9,15 +9,6 @@ APJ_BOARD_ID 188
|
||||
# crystal frequency, setup to use external oscillator
|
||||
OSCILLATOR_HZ 8000000
|
||||
|
||||
define STM32_LSECLK 32768U
|
||||
define STM32_LSEDRV (3U << 3U)
|
||||
|
||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
||||
define STM32_PLLM_VALUE 8
|
||||
define STM32_PLLN_VALUE 432
|
||||
define STM32_PLLP_VALUE 2
|
||||
define STM32_PLLQ_VALUE 9
|
||||
|
||||
FLASH_SIZE_KB 1024
|
||||
|
||||
# leave 2 sectors free
|
||||
|
@ -81,10 +81,3 @@ define BOOTLOADER_BAUDRATE 57600
|
||||
|
||||
# use a small bootloader timeout
|
||||
define HAL_BOOTLOADER_TIMEOUT 1000
|
||||
|
||||
define HAL_CUSTOM_CLOCK_TREE
|
||||
define STM32_PLLM_VALUE 8
|
||||
define STM32_PLLN_VALUE 168
|
||||
define STM32_PLLP_VALUE 2
|
||||
define STM32_PLLQ_VALUE 4
|
||||
|
||||
|
@ -120,12 +120,6 @@ define HAL_PERIPH_ENABLE_NOTIFY
|
||||
# Enable the sensor voltage pin
|
||||
PC13 VDD_3V3_SENSORS_EN OUTPUT HIGH
|
||||
|
||||
define HAL_CUSTOM_CLOCK_TREE
|
||||
define STM32_PLLM_VALUE 8
|
||||
define STM32_PLLN_VALUE 168
|
||||
define STM32_PLLP_VALUE 2
|
||||
define STM32_PLLQ_VALUE 4
|
||||
|
||||
#GPS M9N
|
||||
PC11 M9EXTINT INPUT
|
||||
PC10 M9RST INPUT
|
||||
|
@ -9,16 +9,6 @@ APJ_BOARD_ID 9
|
||||
# crystal frequency
|
||||
OSCILLATOR_HZ 24000000
|
||||
|
||||
define HAL_CUSTOM_CLOCK_TREE
|
||||
STM32_HSE_ENABLED FALSE
|
||||
STM32_PLLM_VALUE 16
|
||||
STM32_PLLN_VALUE 384
|
||||
STM32_PLLP_VALUE 4
|
||||
STM32_PLLQ_VALUE 8
|
||||
STM32_PLLSRC STM32_PLLSRC_HSI
|
||||
STM32_PREE1 STM32_PREE1_DIV2
|
||||
STM32_PREE2 STM32_PREE2_DIV1
|
||||
|
||||
STM32_PWM_USE_TIM3 TRUE
|
||||
|
||||
|
||||
|
@ -9,16 +9,6 @@ APJ_BOARD_ID 9
|
||||
# crystal frequency
|
||||
OSCILLATOR_HZ 24000000
|
||||
|
||||
define HAL_CUSTOM_CLOCK_TREE
|
||||
STM32_HSE_ENABLED FALSE
|
||||
STM32_PLLM_VALUE 16
|
||||
STM32_PLLN_VALUE 384
|
||||
STM32_PLLP_VALUE 4
|
||||
STM32_PLLQ_VALUE 8
|
||||
STM32_PLLSRC STM32_PLLSRC_HSI
|
||||
STM32_PREE1 STM32_PREE1_DIV2
|
||||
STM32_PREE2 STM32_PREE2_DIV1
|
||||
|
||||
STM32_PWM_USE_TIM3 TRUE
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user