mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: expand storage to 32k on boards with 32k FRAM
This commit is contained in:
parent
f041bc9271
commit
5e1aef5361
|
@ -274,7 +274,7 @@ define HAL_GPIO_LED_OFF 1
|
|||
define HAL_HAVE_PIXRACER_LED
|
||||
|
||||
# enable RAMTROM parameter storage
|
||||
define HAL_STORAGE_SIZE 16384
|
||||
define HAL_STORAGE_SIZE 32768
|
||||
define HAL_WITH_RAMTRON 1
|
||||
|
||||
# allow to have have a dedicated safety switch pin
|
||||
|
|
|
@ -285,7 +285,7 @@ define HAL_GPIO_LED_OFF 1
|
|||
define HAL_HAVE_PIXRACER_LED
|
||||
|
||||
# enable RAMTROM parameter storage
|
||||
define HAL_STORAGE_SIZE 16384
|
||||
define HAL_STORAGE_SIZE 32768
|
||||
define HAL_WITH_RAMTRON 1
|
||||
|
||||
# allow to have have a dedicated safety switch pin
|
||||
|
|
|
@ -23,7 +23,7 @@ env OPTIMIZE -O2
|
|||
|
||||
FLASH_RESERVE_START_KB 128
|
||||
|
||||
define HAL_STORAGE_SIZE 16384
|
||||
define HAL_STORAGE_SIZE 32768
|
||||
|
||||
# order of I2C buses
|
||||
I2C_ORDER I2C2 I2C1
|
||||
|
|
|
@ -31,7 +31,7 @@ SERIAL_ORDER OTG1 USART2 USART3 USART1 UART4 USART6 UART7 OTG2
|
|||
# default the 2nd interface to MAVLink2 until MissionPlanner updates drivers
|
||||
define HAL_OTG2_PROTOCOL SerialProtocol_MAVLink2
|
||||
|
||||
define HAL_STORAGE_SIZE 16384
|
||||
define HAL_STORAGE_SIZE 32768
|
||||
|
||||
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_FMUV5
|
||||
define HAL_CHIBIOS_ARCH_FMUV5 1
|
||||
|
|
|
@ -27,7 +27,7 @@ define STORAGE_FLASH_PAGE 1
|
|||
# ChibiOS system timer
|
||||
STM32_ST_USE_TIMER 5
|
||||
|
||||
define HAL_STORAGE_SIZE 16384
|
||||
define HAL_STORAGE_SIZE 32768
|
||||
|
||||
# USB setup
|
||||
USB_STRING_MANUFACTURER "mRo"
|
||||
|
|
|
@ -23,7 +23,7 @@ env OPTIMIZE -O2
|
|||
FLASH_RESERVE_START_KB 128
|
||||
|
||||
# use FRAM for storage
|
||||
define HAL_STORAGE_SIZE 16384
|
||||
define HAL_STORAGE_SIZE 32768
|
||||
define HAL_WITH_RAMTRON 1
|
||||
|
||||
# USB setup
|
||||
|
|
|
@ -28,7 +28,7 @@ env OPTIMIZE -O2
|
|||
FLASH_RESERVE_START_KB 128
|
||||
|
||||
# use FRAM for storage
|
||||
define HAL_STORAGE_SIZE 16384
|
||||
define HAL_STORAGE_SIZE 32768
|
||||
define HAL_WITH_RAMTRON 1
|
||||
|
||||
# USB setup
|
||||
|
|
Loading…
Reference in New Issue