mirror of https://github.com/ArduPilot/ardupilot
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:
parent
b983caa97e
commit
2f8a534243
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue