mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
fix(boards): free flash on mamba-f405-mk2 and crazyflie (#29341)
main has not linked diatone_mamba-f405-mk2 since #28714 (101 B over), and bitcraze_crazyflie has 3,160 B left. Drop features these boards cannot use: - mamba-f405-mk2: the airspeed and optical flow processing in sensors. The board has no such sensor drivers and already compiles out EKF2 airspeed and flow fusion; kakutef7 and fmu-v2 already build without them. 1,015,909 -> 1,008,925 B of 1,015,808 (99.32 %). - crazyflie: attitude_estimator_q, which only runs with ATT_EN=1 (default 0, marked unsupported), as #28916 did for mamba-f405-mk2. Also the per-segment mission geofence check from #28760, which mamba-f405-mk2, kakutef7 and fmu-v2 already leave out. The board does not fuse GNSS and keeps the waypoint check. 1,029,032 -> 1,017,876 B of 1,032,192 (98.61 %). Measured with arm-none-eabi-gcc 13.2.1. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: jonas <jonas.perolini@rigi.tech> Co-authored-by: jonas <jonas.perolini@rigi.tech>
This commit is contained in:
1 parent
85450fb5a9
commit
5c13e7adbe
2 files changed
+3
-1
No files matched your search
@@ -11,7 +11,6 @@ CONFIG_DRIVERS_IMU_INVENSENSE_MPU9250=y
|
||||
CONFIG_DRIVERS_MAGNETOMETER_AKM_AK8963=y
|
||||
CONFIG_DRIVERS_OPTICAL_FLOW_PMW3901=y
|
||||
CONFIG_DRIVERS_PWM_OUT=y
|
||||
CONFIG_MODULES_ATTITUDE_ESTIMATOR_Q=y
|
||||
CONFIG_MODULES_COMMANDER=y
|
||||
CONFIG_MODULES_CONTROL_ALLOCATOR=y
|
||||
CONFIG_MODULES_DATAMAN=y
|
||||
@@ -32,6 +31,7 @@ CONFIG_MODULES_MC_POS_CONTROL=y
|
||||
CONFIG_MODULES_MC_RATE_CONTROL=y
|
||||
CONFIG_MODULES_NAVIGATOR=y
|
||||
# CONFIG_NAVIGATOR_ADSB is not set
|
||||
# CONFIG_NAVIGATOR_GEOFENCE_PATH_CHECKS is not set
|
||||
CONFIG_MODULES_RC_UPDATE=y
|
||||
CONFIG_MODULES_SENSORS=y
|
||||
# CONFIG_SENSORS_VEHICLE_AIRSPEED is not set
|
||||
|
||||
@@ -49,6 +49,8 @@ CONFIG_MODULES_NAVIGATOR=y
|
||||
# CONFIG_NAVIGATOR_GEOFENCE_PATH_CHECKS is not set
|
||||
CONFIG_MODULES_RC_UPDATE=y
|
||||
CONFIG_MODULES_SENSORS=y
|
||||
# CONFIG_SENSORS_VEHICLE_AIRSPEED is not set
|
||||
# CONFIG_SENSORS_VEHICLE_OPTICAL_FLOW is not set
|
||||
CONFIG_SYSTEMCMDS_DMESG=y
|
||||
CONFIG_SYSTEMCMDS_MTD=y
|
||||
CONFIG_SYSTEMCMDS_NSHTERM=y
|
||||
|
||||
Reference in new issue
Block a user