From d82806869f104dd333e9d4d3760d166f9254fa02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Fri, 22 Sep 2017 18:24:00 -0700 Subject: [PATCH] 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 --- cmake/configs/nuttx_aerofc-v1_default.cmake | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/cmake/configs/nuttx_aerofc-v1_default.cmake b/cmake/configs/nuttx_aerofc-v1_default.cmake index 6eb70f732cae..523a938bcdb6 100644 --- a/cmake/configs/nuttx_aerofc-v1_default.cmake +++ b/cmake/configs/nuttx_aerofc-v1_default.cmake @@ -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 @@ -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 @@ -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 )