waf: trim PX4 config to reduce firmware size
removed unused drivers
This commit is contained in:
parent
95b848f2b6
commit
321cad640c
@ -29,14 +29,11 @@ set(config_module_list
|
||||
systemcmds/bl_update
|
||||
systemcmds/mixer
|
||||
systemcmds/perf
|
||||
systemcmds/pwm
|
||||
systemcmds/reboot
|
||||
systemcmds/top
|
||||
systemcmds/nshterm
|
||||
systemcmds/mtd
|
||||
systemcmds/ver
|
||||
systemcmds/reflect
|
||||
systemcmds/motor_test
|
||||
systemcmds/usb_connected
|
||||
systemcmds/otp
|
||||
|
||||
@ -46,12 +43,9 @@ set(config_module_list
|
||||
modules/systemlib
|
||||
modules/systemlib/mixer
|
||||
modules/uORB
|
||||
lib/mathlib/math/filter
|
||||
lib/conversion
|
||||
)
|
||||
|
||||
set(config_extra_builtin_cmds
|
||||
serdis
|
||||
sercon
|
||||
ArduPilot
|
||||
)
|
||||
@ -68,12 +62,6 @@ set_target_properties(sercon PROPERTIES
|
||||
STACK "2048"
|
||||
)
|
||||
|
||||
add_custom_target(serdis)
|
||||
set_target_properties(serdis PROPERTIES
|
||||
MAIN "serdis"
|
||||
STACK "2048"
|
||||
)
|
||||
|
||||
add_custom_target(ArduPilot)
|
||||
set_target_properties(ArduPilot PROPERTIES
|
||||
MAIN "ArduPilot"
|
||||
|
@ -1,9 +1,6 @@
|
||||
include(configs/nuttx_px4fmu-common_apm)
|
||||
|
||||
list(APPEND config_module_list
|
||||
drivers/mpu6000
|
||||
drivers/hmc5883
|
||||
drivers/ms5611
|
||||
drivers/boards/px4fmu-v1
|
||||
drivers/px4io
|
||||
)
|
||||
|
@ -1,23 +1,9 @@
|
||||
include(configs/nuttx_px4fmu-common_apm)
|
||||
|
||||
list(APPEND config_module_list
|
||||
drivers/lsm303d
|
||||
drivers/l3gd20
|
||||
drivers/mpu9250
|
||||
drivers/mpu6000
|
||||
drivers/hmc5883
|
||||
drivers/ms5611
|
||||
drivers/boards/px4fmu-v2
|
||||
drivers/pwm_input
|
||||
modules/uavcan
|
||||
lib/mathlib
|
||||
drivers/px4io
|
||||
drivers/oreoled
|
||||
)
|
||||
|
||||
list(APPEND config_extra_libs
|
||||
uavcan
|
||||
uavcan_stm32_driver
|
||||
)
|
||||
|
||||
set(config_io_board
|
||||
|
@ -1,16 +1,9 @@
|
||||
include(configs/nuttx_px4fmu-common_apm)
|
||||
|
||||
list(APPEND config_module_list
|
||||
drivers/lsm303d
|
||||
drivers/l3gd20
|
||||
drivers/mpu9250
|
||||
drivers/mpu6000
|
||||
drivers/hmc5883
|
||||
drivers/ms5611
|
||||
drivers/boards/px4fmu-v2
|
||||
drivers/pwm_input
|
||||
modules/uavcan
|
||||
lib/mathlib
|
||||
drivers/px4io
|
||||
drivers/oreoled
|
||||
)
|
||||
|
@ -4,7 +4,6 @@ list(APPEND config_module_list
|
||||
drivers/boards/px4fmu-v4
|
||||
drivers/pwm_input
|
||||
modules/uavcan
|
||||
lib/mathlib
|
||||
lib/rc
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user