From 81d205465cd179d95cdcf52381e218c06ee6e888 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 5 Jan 2022 18:36:19 +1100 Subject: [PATCH] hwdef: remove OpticalFlow from builds in several low-flash boards --- libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/FlywooF745/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/MatekF405-TE/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/MatekF405/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/VRBrain-v51/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/VRUBrain-v51/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro/hwdef.dat | 1 + 10 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat index b77d781936..5eeb6b1263 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat @@ -139,3 +139,4 @@ define STM32_PWM_USE_ADVANCED TRUE define HAL_GENERATOR_ENABLED 0 define AC_OAPATHPLANNER_ENABLED 0 define PRECISION_LANDING 0 +define AP_OPTICALFLOW_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/FlywooF745/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/FlywooF745/hwdef.dat index 6e9b969a08..5fef27ef5a 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/FlywooF745/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/FlywooF745/hwdef.dat @@ -170,3 +170,4 @@ define HAL_PARACHUTE_ENABLED 0 define HAL_SPRAYER_ENABLED 0 define HAL_BATTMON_SMBUS_ENABLE 0 define HAL_BATTMON_FUEL_ENABLE 0 +define AP_OPTICALFLOW_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat index c419ac7d0c..1e158cb37c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat @@ -48,3 +48,4 @@ define HAL_MOUNT_ENABLED 0 define HAL_GENERATOR_ENABLED 0 define AC_OAPATHPLANNER_ENABLED 0 define PRECISION_LANDING 0 +define AP_OPTICALFLOW_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat index 87b56ec472..0c60764c69 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat @@ -169,3 +169,4 @@ define HAL_MOUNT_ENABLED 0 define HAL_GENERATOR_ENABLED 0 define AC_OAPATHPLANNER_ENABLED 0 define PRECISION_LANDING 0 +define AP_OPTICALFLOW_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-TE/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-TE/hwdef.dat index 35e8c7d1e6..5f5ae8bea3 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-TE/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-TE/hwdef.dat @@ -192,4 +192,4 @@ define HAL_NMEA_OUTPUT_ENABLED 0 define HAL_BUTTON_ENABLED 0 define HAL_OREO_LED_ENABLED 0 define HAL_PICCOLO_CAN_ENABLE 0 - +define AP_OPTICALFLOW_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat index 7db0d0dad1..88f04804a9 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat @@ -198,3 +198,4 @@ define AC_OAPATHPLANNER_ENABLED 0 define PRECISION_LANDING 0 define HAL_BARO_WIND_COMP_ENABLED 0 define GRIPPER_ENABLED 0 +define AP_OPTICALFLOW_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405/hwdef.dat index f9e4b5f622..c96e48dfa7 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405/hwdef.dat @@ -173,3 +173,4 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 1024 define HAL_GENERATOR_ENABLED 0 define AC_OAPATHPLANNER_ENABLED 0 define PRECISION_LANDING 0 +define AP_OPTICALFLOW_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/VRBrain-v51/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/VRBrain-v51/hwdef.dat index bc0041b167..0136868e5c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/VRBrain-v51/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/VRBrain-v51/hwdef.dat @@ -170,3 +170,4 @@ define STM32_PWM_USE_ADVANCED TRUE define HAL_GENERATOR_ENABLED 0 define AC_OAPATHPLANNER_ENABLED 0 define PRECISION_LANDING 0 +define AP_OPTICALFLOW_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/VRUBrain-v51/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/VRUBrain-v51/hwdef.dat index cde76caabf..7fc8e316d5 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/VRUBrain-v51/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/VRUBrain-v51/hwdef.dat @@ -179,3 +179,4 @@ define HAL_BARO_WIND_COMP_ENABLED 0 define HAL_RUNCAM_ENABLED 0 define HAL_SPEKTRUM_TELEM_ENABLED 0 define HAL_SOARING_ENABLED 0 +define AP_OPTICALFLOW_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro/hwdef.dat index 88898daf94..882361b2f0 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro/hwdef.dat @@ -163,3 +163,4 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 1024 define HAL_GENERATOR_ENABLED 0 define AC_OAPATHPLANNER_ENABLED 0 define PRECISION_LANDING 0 +define AP_OPTICALFLOW_ENABLED 0