HAL_ChibiOS: fixed build of sparky2

running out of flash
This commit is contained in:
Andrew Tridgell 2019-10-28 16:11:02 +11:00
parent dddfaa256f
commit ff30ba87bc
1 changed files with 3 additions and 2 deletions

View File

@ -115,8 +115,6 @@ PB14 TIM1_CH2N TIM1 PWM(7) GPIO(35)
define HAL_STORAGE_SIZE 15360 define HAL_STORAGE_SIZE 15360
define STORAGE_FLASH_PAGE 1 define STORAGE_FLASH_PAGE 1
FLASH_SIZE_KB 1024
# reserve 16k for bootloader and 32k for flash storage # reserve 16k for bootloader and 32k for flash storage
FLASH_RESERVE_START_KB 64 FLASH_RESERVE_START_KB 64
@ -144,3 +142,6 @@ define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_SPARKY2
define STM32_PWM_USE_ADVANCED TRUE define STM32_PWM_USE_ADVANCED TRUE
define BOARD_PWM_COUNT_DEFAULT 7 define BOARD_PWM_COUNT_DEFAULT 7
# we are low on flash on this board
define HAL_MINIMIZE_FEATURES 1