Browse Source

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

uses 16k more ram, but allows auto-restore of corrupted params
gps-1.3.1
Andrew Tridgell 3 years ago committed by Randy Mackay
parent
commit
d1c7ed1c82
  1. 6
      libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/hwdef.dat

6
libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/hwdef.dat

@ -90,3 +90,9 @@ PA8 nVDD_5V_PERIPH_EN OUTPUT HIGH @@ -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

Loading…
Cancel
Save