mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
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
|
# PC8 TIM8_CH3 TIM2 GPIO(54) # LED strip
|
||||||
|
|
||||||
define HAL_STORAGE_SIZE 8192
|
define HAL_STORAGE_SIZE 15360
|
||||||
define STORAGE_FLASH_PAGE 2
|
define STORAGE_FLASH_PAGE 2
|
||||||
|
|
||||||
# reserve 32k for bootloader and 32k for flash storage
|
# 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
|
# the location where the bootloader will put the firmware
|
||||||
define FLASH_BOOTLOADER_LOAD_KB 64
|
define FLASH_BOOTLOADER_LOAD_KB 64
|
||||||
|
|
||||||
define HAL_STORAGE_SIZE 8192
|
define HAL_STORAGE_SIZE 15360
|
||||||
define STORAGE_FLASH_PAGE 1
|
define STORAGE_FLASH_PAGE 1
|
||||||
|
|
||||||
# board voltage
|
# board voltage
|
||||||
|
@ -33,7 +33,7 @@ define CH_CFG_ST_RESOLUTION 32
|
|||||||
FLASH_RESERVE_START_KB 64
|
FLASH_RESERVE_START_KB 64
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
define HAL_STORAGE_SIZE 8192
|
define HAL_STORAGE_SIZE 15360
|
||||||
define STORAGE_FLASH_PAGE 1
|
define STORAGE_FLASH_PAGE 1
|
||||||
|
|
||||||
# board voltage
|
# board voltage
|
||||||
|
@ -123,7 +123,7 @@ PC9 TIM8_CH4 TIM8 PWM(4) GPIO(53)
|
|||||||
PA15 TIM2_CH1 TIM2 PWM(5) GPIO(54)
|
PA15 TIM2_CH1 TIM2 PWM(5) GPIO(54)
|
||||||
PA8 TIM1_CH1 TIM1 PWM(6) GPIO(55)
|
PA8 TIM1_CH1 TIM1 PWM(6) GPIO(55)
|
||||||
|
|
||||||
define HAL_STORAGE_SIZE 8192
|
define HAL_STORAGE_SIZE 15360
|
||||||
define STORAGE_FLASH_PAGE 2
|
define STORAGE_FLASH_PAGE 2
|
||||||
|
|
||||||
# reserve 32k for bootloader and 32k for flash storage
|
# 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 HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
|
||||||
|
|
||||||
define STORAGE_FLASH_PAGE 1
|
define STORAGE_FLASH_PAGE 1
|
||||||
define HAL_STORAGE_SIZE 8192
|
define HAL_STORAGE_SIZE 15360
|
||||||
|
|
||||||
# define default battery setup
|
# define default battery setup
|
||||||
define HAL_BATT_VOLT_PIN 12
|
define HAL_BATT_VOLT_PIN 12
|
||||||
|
@ -96,7 +96,7 @@ define HAL_I2C_MAX_CLOCK 400000
|
|||||||
# order of UARTs (and USB)
|
# order of UARTs (and USB)
|
||||||
UART_ORDER OTG1 USART2 USART3 USART6
|
UART_ORDER OTG1 USART2 USART3 USART6
|
||||||
|
|
||||||
define HAL_STORAGE_SIZE 8192
|
define HAL_STORAGE_SIZE 15360
|
||||||
define STORAGE_FLASH_PAGE 1
|
define STORAGE_FLASH_PAGE 1
|
||||||
|
|
||||||
# reserve 32k for bootloader and 32k for flash storage
|
# 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 HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
|
||||||
|
|
||||||
define STORAGE_FLASH_PAGE 1
|
define STORAGE_FLASH_PAGE 1
|
||||||
define HAL_STORAGE_SIZE 8192
|
define HAL_STORAGE_SIZE 15360
|
||||||
|
|
||||||
define HAL_OS_FATFS_IO 1
|
define HAL_OS_FATFS_IO 1
|
||||||
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
||||||
|
@ -109,7 +109,7 @@ PC9 TIM8_CH4 TIM2 PWM(8) GPIO(57)
|
|||||||
|
|
||||||
PB7 DRDY_HMC5883 INPUT PULLUP
|
PB7 DRDY_HMC5883 INPUT PULLUP
|
||||||
|
|
||||||
define HAL_STORAGE_SIZE 8192
|
define HAL_STORAGE_SIZE 15360
|
||||||
define STORAGE_FLASH_PAGE 2
|
define STORAGE_FLASH_PAGE 2
|
||||||
|
|
||||||
# reserve 32k for bootloader and 32k for flash storage
|
# 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)
|
# PB15 TIM8_CH3N TIM8 PWM(9)
|
||||||
PB14 TIM1_CH2N TIM1 PWM(7) GPIO(35)
|
PB14 TIM1_CH2N TIM1 PWM(7) GPIO(35)
|
||||||
|
|
||||||
define HAL_STORAGE_SIZE 8192
|
define HAL_STORAGE_SIZE 15360
|
||||||
define STORAGE_FLASH_PAGE 1
|
define STORAGE_FLASH_PAGE 1
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
Loading…
Reference in New Issue
Block a user