From 3d5475a1d9f54934f9a21f2c038d7c34feeb91be Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 24 Apr 2020 13:21:17 +1000 Subject: [PATCH] HAL_ChibiOS: fixed skyviper-journey build --- libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat index ab757c1706..188914fade 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat @@ -9,6 +9,7 @@ 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 @@ -130,7 +131,7 @@ define HAL_BARO_20789_I2C_ADDR_ICM 0x68 # unstick 20789 on I2C on boot define HAL_I2C_CLEAR_BUS -env DEFINES CONFIG_HAL_BOARD_SUBTYPE='HAL_BOARD_SUBTYPE_CHIBIOS_SKYVIPER_F412' +define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_SKYVIPER_F412 # the web UI uses an abin file for firmware uploads env BUILD_ABIN True