Skip to content

Commit

Permalink
cmake: AeroFC: Remove unused apps and libs (#7993)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zehortigoza authored and dagar committed Sep 23, 2017
1 parent 557559c commit d828068
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions cmake/configs/nuttx_aerofc-v1_default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,17 @@ set(config_module_list
#
# System commands
#
systemcmds/bl_update
systemcmds/mixer
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/motor_test
systemcmds/reboot
systemcmds/top
systemcmds/config
systemcmds/nshterm
systemcmds/mtd
systemcmds/dumpfile
systemcmds/ver
systemcmds/topic_listener

#
# General system control
Expand All @@ -55,23 +50,17 @@ set(config_module_list
modules/land_detector

#
# Estimation modules (EKF/ SO3 / other filters)
# Estimation modules
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/ekf2

#
# 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_pos_control
modules/vtol_att_control

#
# Logging
Expand All @@ -94,21 +83,15 @@ set(config_module_list
lib/mathlib
lib/mathlib/math/filter
lib/ecl
lib/external_lgpl
lib/geo
lib/geo_lookup
lib/conversion
lib/launchdetection
lib/terrain_estimation
lib/runway_takeoff
lib/tailsitter_recovery
lib/version
lib/DriverFramework/framework
lib/rc
platforms/nuttx
lib/micro-CDR

# had to add for cmake, not sure why wasn't in original config
platforms/common
platforms/nuttx/px4_layer
)
Expand Down

0 comments on commit d828068

Please sign in to comment.