From fe765b8845161c340837a14aff97eef537f9db48 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 24 Apr 2020 16:24:09 +1000 Subject: [PATCH] HAL_ChibiOS: switched CUAV_GPS to use same clocks as other F4 --- .../AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef-bl.dat | 16 ---------------- .../AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat | 16 ---------------- 2 files changed, 32 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef-bl.dat index 4a78933a70..b3de41f223 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef-bl.dat @@ -16,19 +16,6 @@ env AP_PERIPH 1 # crystal frequency OSCILLATOR_HZ 16000000 -STM32_HSE_ENABLED TRUE -STM32_PLLM_VALUE 16 -STM32_PLLN_VALUE 384 -STM32_PLLP_VALUE 4 -STM32_PLLQ_VALUE 8 -STM32_PLLSRC STM32_PLLSRC_HSE -STM32_PREE1 STM32_PREE1_DIV1 -STM32_PREE2 STM32_PREE2_DIV1 -STM32_HPRE STM32_HPRE_DIV1 -STM32_PPRE1 STM32_PPRE1_DIV2 -STM32_PPRE2 STM32_PPRE2_DIV2 - - define CH_CFG_ST_FREQUENCY 1000000 # assume 512k flash part @@ -37,9 +24,6 @@ FLASH_SIZE_KB 512 STDOUT_SERIAL SD1 STDOUT_BAUDRATE 57600 -# board voltage -STM32_VDD 330U - # order of UARTs UART_ORDER diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat index 51eccd1dde..74a829df1e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat @@ -25,19 +25,6 @@ define HAL_WATCHDOG_ENABLED_DEFAULT true # crystal frequency OSCILLATOR_HZ 16000000 -STM32_HSE_ENABLED TRUE -STM32_PLLM_VALUE 16 -STM32_PLLN_VALUE 384 -STM32_PLLP_VALUE 4 -STM32_PLLQ_VALUE 8 -STM32_PLLSRC STM32_PLLSRC_HSE -STM32_PREE1 STM32_PREE1_DIV1 -STM32_PREE2 STM32_PREE2_DIV1 -STM32_HPRE STM32_HPRE_DIV1 -STM32_PPRE1 STM32_PPRE1_DIV2 -STM32_PPRE2 STM32_PPRE2_DIV2 - - define CH_CFG_ST_FREQUENCY 1000000 # assume 512k flash part @@ -46,9 +33,6 @@ FLASH_SIZE_KB 512 STDOUT_SERIAL SD1 STDOUT_BAUDRATE 57600 -# board voltage -STM32_VDD 330U - # order of UARTs UART_ORDER USART1 USART2