diff --git a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_common.inc b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_common.inc index cd2fad81e1..c0e608b68f 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_common.inc +++ b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_common.inc @@ -1,3 +1,8 @@ +# this include file is used to remove features which will never be +# wanted on any low-flash board in our standard builds. It is to be +# included by other minimize_*.inc files and not generally used +# otherwise. + # disable emitting nice strings when activating RC channel aux functions: define AP_RC_CHANNEL_AUX_FUNCTION_STRINGS_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc index 6e0d151833..6e403ea4ea 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc +++ b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc @@ -1,3 +1,7 @@ +# this is an include file to be used on low-flash boards which are not +# generally used for FPV/OSD purposes. Care must be taken to +# preserve existing features on these boards. + include minimize_common.inc # remove various OSD features by default: diff --git a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_fpv_osd.inc b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_fpv_osd.inc index 58d292a11f..82cdacdcba 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_fpv_osd.inc +++ b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_fpv_osd.inc @@ -1,3 +1,7 @@ +# this is an include file for low-flash boards typically used in +# vehicles used for FPV/OSD flight. These boards are unlikely to need +# drivers for rare sensors and power systems. + include minimize_common.inc define AP_OPTICALFLOW_ENABLED 0