AP_HAL_ChibiOS: don't share flash SPI on BeastH7 and compile with -Os

This commit is contained in:
Andy Piper 2021-01-17 08:59:44 +00:00 committed by Andrew Tridgell
parent 2b885cd79f
commit 9e641a32ad
1 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@ APJ_BOARD_ID 1025
OSCILLATOR_HZ 8000000
FLASH_SIZE_KB 2048
env OPTIMIZE -O2
# bootloader takes first sector
FLASH_RESERVE_START_KB 128
@ -103,7 +102,7 @@ PD12 TIM4_CH1 TIM4 PWM(5) GPIO(54)
PC13 LED0 OUTPUT LOW GPIO(90) # Blue LED
DMA_PRIORITY TIM1* TIM3*
DMA_NOSHARE SPI1_RX SPI3_TX TIM1* TIM3* TIM4_UP USART1_TX
DMA_NOSHARE SPI1* SPI3* TIM1* TIM3* TIM4_UP USART1_TX
define HAL_STORAGE_SIZE 16384
# use last 2 pages for flash storage