AP_HAL_ChibiOS: allow AP_Periph to use mavlink library

This commit is contained in:
Peter Barker 2024-02-14 19:26:12 +11:00 committed by Peter Barker
parent 4b5553ac33
commit 5d421e8ee3

View File

@ -325,7 +325,7 @@
#define AP_AHRS_ENABLED defined(HAL_PERIPH_ENABLE_AHRS)
#define AP_COMPASS_ENABLED defined(HAL_PERIPH_ENABLE_MAG)
#define AP_BARO_ENABLED defined(HAL_PERIPH_ENABLE_BARO)
#define AP_GPS_ENABLED 1 // FIXME: should be defined(HAL_PERIPH_ENABLE_GPS)
#define AP_GPS_ENABLED defined(HAL_PERIPH_ENABLE_GPS)
#define AP_RPM_ENABLED defined(HAL_PERIPH_ENABLE_RPM)
#define AP_RCPROTOCOL_ENABLED defined(HAL_PERIPH_ENABLE_RCIN)
#define AP_RTC_ENABLED defined(HAL_PERIPH_ENABLE_RTC)
@ -400,3 +400,43 @@
#ifndef AP_FILTER_ENABLED
#define AP_FILTER_ENABLED 0
#endif
#ifndef AP_ADVANCEDFAILSAFE_ENABLED
#define AP_ADVANCEDFAILSAFE_ENABLED 0
#endif
#ifndef AP_ARMING_ENABLED
#define AP_ARMING_ENABLED 0
#endif
#ifndef AP_LTM_TELEM_ENABLED
#define AP_LTM_TELEM_ENABLED 0
#endif
#ifndef AP_GRIPPER_ENABLED
#define AP_GRIPPER_ENABLED 0
#endif
#ifndef HAL_SPRAYER_ENABLED
#define HAL_SPRAYER_ENABLED 0
#endif
#ifndef AP_VEHICLE_ENABLED
#define AP_VEHICLE_ENABLED 0
#endif
#ifndef OSD_ENABLED
#define OSD_ENABLED 0
#endif
#ifndef OSD_PARAM_ENABLED
#define OSD_PARAM_ENABLED 0
#endif
#ifndef AP_SCHEDULER_ENABLED
#define AP_SCHEDULER_ENABLED 0
#endif
#ifndef AP_RC_CHANNEL_ENABLED
#define AP_RC_CHANNEL_ENABLED 0
#endif