forked from Archive/PX4-Autopilot
Mantis: save mission in RAM
This is using a reduced number of mission items of 1000 instead of 2000 in order to fit in RAM.
This commit is contained in:
parent
7d09635fb6
commit
cb15728536
|
@ -20,7 +20,10 @@ param set-default EV_TSK_STAT_DIS 1
|
|||
|
||||
set LOGGER_ARGS "-m mavlink"
|
||||
|
||||
# Start esc
|
||||
# Save missions RAM
|
||||
set DATAMAN_ARGS "-r"
|
||||
|
||||
# Start ESC already here, so that we have beeps.
|
||||
tap_esc start -d /dev/ttyS4 -n 4
|
||||
|
||||
# Transition from previous non open-source flight stack
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
#define BOARD_ARMED_STATE_LED LED_BLUE
|
||||
|
||||
#define FLASH_BASED_PARAMS
|
||||
#define RAM_BASED_MISSIONS
|
||||
|
||||
/*
|
||||
* ADC channels
|
||||
|
|
|
@ -48,6 +48,8 @@
|
|||
# define NUM_MISSIONS_SUPPORTED 50
|
||||
#elif defined(__PX4_POSIX)
|
||||
# define NUM_MISSIONS_SUPPORTED (UINT16_MAX-1) // This is allocated as needed.
|
||||
#elif defined(RAM_BASED_MISSIONS)
|
||||
# define NUM_MISSIONS_SUPPORTED 500
|
||||
#else
|
||||
# define NUM_MISSIONS_SUPPORTED 500
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue