AP_HAL_ChibiOS: hwdef: scripts: defaults_periph: disable unused libaries by defualt

This commit is contained in:
Iampete1 2023-10-04 17:25:13 +01:00 committed by Andrew Tridgell
parent dc35b2f6bc
commit e736d5ecb7
1 changed files with 33 additions and 0 deletions

View File

@ -352,3 +352,36 @@
#ifndef AP_HAL_CHIBIOS_IN_EXPECTED_DELAY_WHEN_NOT_INITIALISED
#define AP_HAL_CHIBIOS_IN_EXPECTED_DELAY_WHEN_NOT_INITIALISED 0
#endif
#ifndef AP_SERIALLED_ENABLED
#define AP_SERIALLED_ENABLED 0
#endif
#ifndef AP_OPTICALFLOW_ENABLED
#define AP_OPTICALFLOW_ENABLED 0
#endif
#ifndef HAL_BUTTON_ENABLED
#define HAL_BUTTON_ENABLED 0
#endif
#ifndef AP_NOTIFY_SCRIPTING_LED_ENABLED
#define AP_NOTIFY_SCRIPTING_LED_ENABLED 0
#endif
#ifndef AP_PARAM_DYNAMIC_ENABLED
#define AP_PARAM_DYNAMIC_ENABLED 0
#endif
#ifndef HAL_MOUNT_ENABLED
#define HAL_MOUNT_ENABLED 0
#endif
#ifndef AP_CAMERA_ENABLED
#define AP_CAMERA_ENABLED 0
#endif
#ifndef AP_TERRAIN_AVAILABLE
#define AP_TERRAIN_AVAILABLE 0
#endif