mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
cmake: AeroFC: Remove unused apps and libs (#7993)
We are running out of flash space in AeroFC so a cleanup is necessary. Tools not used in Aero RTF, INAV, fixed wing control, vtol control and unused libs was removed. before $ size build_aerofc-v1_default/src/firmware/nuttx/firmware_nuttx text data bss dec hex filename 956880 3524 14608 975012 ee0a4 firmware_nuttx after $ size build_aerofc-v1_default/src/firmware/nuttx/firmware_nuttx text data bss dec hex filename 832200 3508 14616 850324 cf994 build_aerofc-v1_default/src/firmware/nuttx/firmware_nuttx
This commit is contained in:
committed by
Daniel Agar
parent
557559cd85
commit
d82806869f
@@ -28,22 +28,17 @@ set(config_module_list
|
|||||||
#
|
#
|
||||||
# System commands
|
# System commands
|
||||||
#
|
#
|
||||||
systemcmds/bl_update
|
|
||||||
systemcmds/mixer
|
systemcmds/mixer
|
||||||
systemcmds/param
|
systemcmds/param
|
||||||
systemcmds/perf
|
systemcmds/perf
|
||||||
systemcmds/pwm
|
systemcmds/pwm
|
||||||
systemcmds/esc_calib
|
|
||||||
systemcmds/hardfault_log
|
|
||||||
systemcmds/motor_test
|
systemcmds/motor_test
|
||||||
systemcmds/reboot
|
systemcmds/reboot
|
||||||
systemcmds/top
|
systemcmds/top
|
||||||
systemcmds/config
|
systemcmds/config
|
||||||
systemcmds/nshterm
|
systemcmds/nshterm
|
||||||
systemcmds/mtd
|
|
||||||
systemcmds/dumpfile
|
systemcmds/dumpfile
|
||||||
systemcmds/ver
|
systemcmds/ver
|
||||||
systemcmds/topic_listener
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# General system control
|
# General system control
|
||||||
@@ -55,23 +50,17 @@ set(config_module_list
|
|||||||
modules/land_detector
|
modules/land_detector
|
||||||
|
|
||||||
#
|
#
|
||||||
# Estimation modules (EKF/ SO3 / other filters)
|
# Estimation modules
|
||||||
#
|
#
|
||||||
modules/attitude_estimator_q
|
modules/attitude_estimator_q
|
||||||
modules/position_estimator_inav
|
|
||||||
modules/local_position_estimator
|
modules/local_position_estimator
|
||||||
modules/ekf2
|
modules/ekf2
|
||||||
|
|
||||||
#
|
#
|
||||||
# Vehicle Control
|
# Vehicle Control
|
||||||
#
|
#
|
||||||
modules/fw_att_control
|
|
||||||
modules/fw_pos_control_l1
|
|
||||||
modules/gnd_att_control
|
|
||||||
modules/gnd_pos_control
|
|
||||||
modules/mc_att_control
|
modules/mc_att_control
|
||||||
modules/mc_pos_control
|
modules/mc_pos_control
|
||||||
modules/vtol_att_control
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Logging
|
# Logging
|
||||||
@@ -94,21 +83,15 @@ set(config_module_list
|
|||||||
lib/mathlib
|
lib/mathlib
|
||||||
lib/mathlib/math/filter
|
lib/mathlib/math/filter
|
||||||
lib/ecl
|
lib/ecl
|
||||||
lib/external_lgpl
|
|
||||||
lib/geo
|
lib/geo
|
||||||
lib/geo_lookup
|
lib/geo_lookup
|
||||||
lib/conversion
|
lib/conversion
|
||||||
lib/launchdetection
|
|
||||||
lib/terrain_estimation
|
|
||||||
lib/runway_takeoff
|
|
||||||
lib/tailsitter_recovery
|
lib/tailsitter_recovery
|
||||||
lib/version
|
lib/version
|
||||||
lib/DriverFramework/framework
|
lib/DriverFramework/framework
|
||||||
lib/rc
|
lib/rc
|
||||||
platforms/nuttx
|
platforms/nuttx
|
||||||
lib/micro-CDR
|
lib/micro-CDR
|
||||||
|
|
||||||
# had to add for cmake, not sure why wasn't in original config
|
|
||||||
platforms/common
|
platforms/common
|
||||||
platforms/nuttx/px4_layer
|
platforms/nuttx/px4_layer
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user