HAL_ChibiOS: make it clear how to enable parameter backup on CubeBlack

uses 16k more ram, but allows auto-restore of corrupted params
This commit is contained in:
Andrew Tridgell 2021-10-13 10:31:44 +11:00 committed by Randy Mackay
parent 24f40d9049
commit d1c7ed1c82
1 changed files with 6 additions and 0 deletions

View File

@ -90,3 +90,9 @@ PA8 nVDD_5V_PERIPH_EN OUTPUT HIGH
# means sensors off, then it is pulled HIGH in peripheral_power_enable()
undef PE3
PE3 VDD_3V3_SENSORS_EN OUTPUT LOW
# if you want to enable parameter backup/restore then uncomment the following two lines
# Note: this will use 16k more RAM, so ensure you have enough by looking at MEMINFO messages
# in MAVLink2 or in PM message in logs
# undef HAL_STORAGE_SIZE
# define HAL_STORAGE_SIZE 32768