HAL_ChibiOS: expand param storage on F4 boards with flash storage

this allows for a lot more param space on these boards
This commit is contained in:
Andrew Tridgell 2018-06-23 18:00:05 +10:00
parent b983caa97e
commit 2f8a534243
9 changed files with 9 additions and 9 deletions

View File

@ -113,7 +113,7 @@ PB0 TIM3_CH3 TIM3 PWM(4) GPIO(53)
# PC8 TIM8_CH3 TIM2 GPIO(54) # LED strip
define HAL_STORAGE_SIZE 8192
define HAL_STORAGE_SIZE 15360
define STORAGE_FLASH_PAGE 2
# reserve 32k for bootloader and 32k for flash storage

View File

@ -21,7 +21,7 @@ FLASH_SIZE_KB 1024
# the location where the bootloader will put the firmware
define FLASH_BOOTLOADER_LOAD_KB 64
define HAL_STORAGE_SIZE 8192
define HAL_STORAGE_SIZE 15360
define STORAGE_FLASH_PAGE 1
# board voltage

View File

@ -33,7 +33,7 @@ define CH_CFG_ST_RESOLUTION 32
FLASH_RESERVE_START_KB 64
FLASH_SIZE_KB 1024
define HAL_STORAGE_SIZE 8192
define HAL_STORAGE_SIZE 15360
define STORAGE_FLASH_PAGE 1
# board voltage

View File

@ -123,7 +123,7 @@ PC9 TIM8_CH4 TIM8 PWM(4) GPIO(53)
PA15 TIM2_CH1 TIM2 PWM(5) GPIO(54)
PA8 TIM1_CH1 TIM1 PWM(6) GPIO(55)
define HAL_STORAGE_SIZE 8192
define HAL_STORAGE_SIZE 15360
define STORAGE_FLASH_PAGE 2
# reserve 32k for bootloader and 32k for flash storage

View File

@ -91,7 +91,7 @@ define HAL_COMPASS_HMC5843_I2C_BUS 0
define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
define STORAGE_FLASH_PAGE 1
define HAL_STORAGE_SIZE 8192
define HAL_STORAGE_SIZE 15360
# define default battery setup
define HAL_BATT_VOLT_PIN 12

View File

@ -96,7 +96,7 @@ define HAL_I2C_MAX_CLOCK 400000
# order of UARTs (and USB)
UART_ORDER OTG1 USART2 USART3 USART6
define HAL_STORAGE_SIZE 8192
define HAL_STORAGE_SIZE 15360
define STORAGE_FLASH_PAGE 1
# reserve 32k for bootloader and 32k for flash storage

View File

@ -104,7 +104,7 @@ define HAL_COMPASS_HMC5843_I2C_BUS 0
define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
define STORAGE_FLASH_PAGE 1
define HAL_STORAGE_SIZE 8192
define HAL_STORAGE_SIZE 15360
define HAL_OS_FATFS_IO 1
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"

View File

@ -109,7 +109,7 @@ PC9 TIM8_CH4 TIM2 PWM(8) GPIO(57)
PB7 DRDY_HMC5883 INPUT PULLUP
define HAL_STORAGE_SIZE 8192
define HAL_STORAGE_SIZE 15360
define STORAGE_FLASH_PAGE 2
# reserve 32k for bootloader and 32k for flash storage

View File

@ -117,7 +117,7 @@ PA0 TIM2_CH1 TIM2 PWM(6) GPIO(55)
# PB15 TIM8_CH3N TIM8 PWM(9)
PB14 TIM1_CH2N TIM1 PWM(7) GPIO(35)
define HAL_STORAGE_SIZE 8192
define HAL_STORAGE_SIZE 15360
define STORAGE_FLASH_PAGE 1
FLASH_SIZE_KB 1024