HAL_ChibiOS: fixed skyviper-journey build

This commit is contained in:
Andrew Tridgell 2020-04-24 13:21:17 +10:00
parent faffcb304a
commit 3d5475a1d9
1 changed files with 2 additions and 1 deletions

View File

@ -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