mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 09:53:33 +08:00
rcS: fine-grained storage settings
This commit is contained in:
committed by
Alexander Lerach
parent
0954e43708
commit
20cad48707
@@ -34,8 +34,5 @@ nshterm /dev/ttyS3 &
|
||||
# Start the time_persistor to cyclically store the RTC in FRAM
|
||||
time_persistor start
|
||||
|
||||
# Start the task_watchdog as we do not have the logger watchdog
|
||||
task_watchdog start
|
||||
|
||||
# Start the ESC telemetry
|
||||
dshot telemetry -d /dev/ttyS5 -x
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Board early init.
|
||||
#
|
||||
# On FRAM boards STORAGE_AVAILABLE=yes will set the USE_* flags. Additional
|
||||
# enable required for task watchdog as this is not a generally used feature.
|
||||
# On EEPROM boards: Only airframes and params are needed.
|
||||
#
|
||||
|
||||
if mft query -q -k MTD -s MTD_PARAMETERS -v /mnt/microsd
|
||||
then
|
||||
# Start the task_watchdog as we do not have the logger watchdog
|
||||
set USE_TASK_WATCHDOG yes
|
||||
else
|
||||
set PARAM_FILE /fs/microsd/params
|
||||
set STORAGE_CHECK no
|
||||
set USE_EXTERNAL_AIRFRAMES yes
|
||||
set USE_ALT_UPDATE_DIRS yes
|
||||
fi
|
||||
Reference in New Issue
Block a user