From 5b674ea831414c2b4de7463c27ed37390886a5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 9 Sep 2021 22:09:14 +0200 Subject: [PATCH] ROMFS: remove some airframes and mixers on v2 to reduce flash --- ROMFS/px4fmu_common/init.d/airframes/11001_hexa_cox | 1 + ROMFS/px4fmu_common/init.d/airframes/24001_dodeca_cox | 1 + ROMFS/px4fmu_common/init.d/airframes/4010_dji_f330 | 1 + ROMFS/px4fmu_common/init.d/airframes/5001_quad_+ | 1 + ROMFS/px4fmu_common/mixers/TF-AutoG2.main.mix | 1 + ROMFS/px4fmu_common/mixers/TF-G2.main.mix | 1 + ROMFS/px4fmu_common/mixers/Viper.main.mix | 1 + ROMFS/px4fmu_common/mixers/claire.main.mix | 1 + ROMFS/px4fmu_common/mixers/delta.main.mix | 1 + ROMFS/px4fmu_common/mixers/direct.main.mix | 1 + ROMFS/px4fmu_common/mixers/octo_cox_w.main.mix | 1 + ROMFS/px4fmu_common/mixers/vtol_delta.aux.mix | 1 + ROMFS/px4fmu_common/mixers/vtol_tailsitter_duo.main.mix | 1 + 13 files changed, 13 insertions(+) diff --git a/ROMFS/px4fmu_common/init.d/airframes/11001_hexa_cox b/ROMFS/px4fmu_common/init.d/airframes/11001_hexa_cox index b36f11ef34..0b0495ffd3 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/11001_hexa_cox +++ b/ROMFS/px4fmu_common/init.d/airframes/11001_hexa_cox @@ -19,6 +19,7 @@ # @maintainer Lorenz Meier # # @board bitcraze_crazyflie exclude +# @board px4_fmu-v2 exclude # . ${R}etc/init.d/rc.mc_defaults diff --git a/ROMFS/px4fmu_common/init.d/airframes/24001_dodeca_cox b/ROMFS/px4fmu_common/init.d/airframes/24001_dodeca_cox index 37eddc6d7d..1e724f70b8 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/24001_dodeca_cox +++ b/ROMFS/px4fmu_common/init.d/airframes/24001_dodeca_cox @@ -23,6 +23,7 @@ # @maintainer William Peale # # @board bitcraze_crazyflie exclude +# @board px4_fmu-v2 exclude # set VEHICLE_TYPE mc diff --git a/ROMFS/px4fmu_common/init.d/airframes/4010_dji_f330 b/ROMFS/px4fmu_common/init.d/airframes/4010_dji_f330 index 2245ac8d19..ff86a66f53 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/4010_dji_f330 +++ b/ROMFS/px4fmu_common/init.d/airframes/4010_dji_f330 @@ -6,6 +6,7 @@ # @class Copter # # @maintainer Lorenz Meier +# @board px4_fmu-v2 exclude # . ${R}etc/init.d/rc.mc_defaults diff --git a/ROMFS/px4fmu_common/init.d/airframes/5001_quad_+ b/ROMFS/px4fmu_common/init.d/airframes/5001_quad_+ index 5e5df33a4c..263e7caa6c 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/5001_quad_+ +++ b/ROMFS/px4fmu_common/init.d/airframes/5001_quad_+ @@ -20,6 +20,7 @@ # @maintainer Lorenz Meier # # @board bitcraze_crazyflie exclude +# @board px4_fmu-v2 exclude # . ${R}etc/init.d/rc.mc_defaults diff --git a/ROMFS/px4fmu_common/mixers/TF-AutoG2.main.mix b/ROMFS/px4fmu_common/mixers/TF-AutoG2.main.mix index bed0fedee2..23c146904b 100644 --- a/ROMFS/px4fmu_common/mixers/TF-AutoG2.main.mix +++ b/ROMFS/px4fmu_common/mixers/TF-AutoG2.main.mix @@ -1,5 +1,6 @@ Aileron/rudder/elevator/throttle mixer for PX4FMU ================================================== +# @board px4_fmu-v2 exclude Inputs to the mixer come from channel group 0 (vehicle attitude), channels 0 (roll), 1 (pitch) and 3 (thrust). diff --git a/ROMFS/px4fmu_common/mixers/TF-G2.main.mix b/ROMFS/px4fmu_common/mixers/TF-G2.main.mix index 9aea7cef50..37acba1b55 100644 --- a/ROMFS/px4fmu_common/mixers/TF-G2.main.mix +++ b/ROMFS/px4fmu_common/mixers/TF-G2.main.mix @@ -1,5 +1,6 @@ TF-G2 autogyro mixer ================================================== +# @board px4_fmu-v2 exclude Inputs to the mixer come from channel group 0 (vehicle attitude), channels 0 (roll), 1 (pitch) and 3 (thrust). diff --git a/ROMFS/px4fmu_common/mixers/Viper.main.mix b/ROMFS/px4fmu_common/mixers/Viper.main.mix index adc0e96696..ffdd350243 100644 --- a/ROMFS/px4fmu_common/mixers/Viper.main.mix +++ b/ROMFS/px4fmu_common/mixers/Viper.main.mix @@ -1,5 +1,6 @@ Viper Delta-wing mixer ================================= +# @board px4_fmu-v2 exclude Designed for Viper. diff --git a/ROMFS/px4fmu_common/mixers/claire.main.mix b/ROMFS/px4fmu_common/mixers/claire.main.mix index af84d3d8a1..281c535470 100644 --- a/ROMFS/px4fmu_common/mixers/claire.main.mix +++ b/ROMFS/px4fmu_common/mixers/claire.main.mix @@ -1,4 +1,5 @@ # CruiseAder Claire Main Multirotor mixer for PX4FMU +# @board px4_fmu-v2 exclude # diff --git a/ROMFS/px4fmu_common/mixers/delta.main.mix b/ROMFS/px4fmu_common/mixers/delta.main.mix index 6188948ee7..0059951abe 100644 --- a/ROMFS/px4fmu_common/mixers/delta.main.mix +++ b/ROMFS/px4fmu_common/mixers/delta.main.mix @@ -1,5 +1,6 @@ Delta-wing mixer for PX4FMU =========================== +# @board px4_fmu-v2 exclude This file defines mixers suitable for controlling a delta wing aircraft using PX4FMU. The configuration assumes the elevon servos are connected to PX4FMU diff --git a/ROMFS/px4fmu_common/mixers/direct.main.mix b/ROMFS/px4fmu_common/mixers/direct.main.mix index 65194e94b7..527f5eb7a1 100644 --- a/ROMFS/px4fmu_common/mixers/direct.main.mix +++ b/ROMFS/px4fmu_common/mixers/direct.main.mix @@ -1,4 +1,5 @@ # Direct mixer +# @board px4_fmu-v2 exclude A: 0 A: 1 diff --git a/ROMFS/px4fmu_common/mixers/octo_cox_w.main.mix b/ROMFS/px4fmu_common/mixers/octo_cox_w.main.mix index 5c79dc6153..c6ef858590 100644 --- a/ROMFS/px4fmu_common/mixers/octo_cox_w.main.mix +++ b/ROMFS/px4fmu_common/mixers/octo_cox_w.main.mix @@ -1,3 +1,4 @@ # Octo coaxial with wide arms +# @board px4_fmu-v2 exclude R: 8cw diff --git a/ROMFS/px4fmu_common/mixers/vtol_delta.aux.mix b/ROMFS/px4fmu_common/mixers/vtol_delta.aux.mix index 4ef04f2498..af248f7ce0 100644 --- a/ROMFS/px4fmu_common/mixers/vtol_delta.aux.mix +++ b/ROMFS/px4fmu_common/mixers/vtol_delta.aux.mix @@ -1,5 +1,6 @@ Delta-wing VTOL mixer ===================== +# @board px4_fmu-v2 exclude This file defines mixers suitable for controlling a delta wing VTOL aircraft using PX4FMU. The configuration assumes the elevon servos are connected to PX4FMU diff --git a/ROMFS/px4fmu_common/mixers/vtol_tailsitter_duo.main.mix b/ROMFS/px4fmu_common/mixers/vtol_tailsitter_duo.main.mix index ab216c63c5..0a5c6efd37 100644 --- a/ROMFS/px4fmu_common/mixers/vtol_tailsitter_duo.main.mix +++ b/ROMFS/px4fmu_common/mixers/vtol_tailsitter_duo.main.mix @@ -1,5 +1,6 @@ Tailsitter duo mixer ============================ +# @board px4_fmu-v2 exclude This file defines a mixer for a generic duo tailsitter VTOL (eg TBS Caipirinha tailsitter edition). This vehicle has two motors in total, one attached to each wing. It also has two elevons which