2022-07-06 06:34:31 -03:00
|
|
|
#pragma once
|
|
|
|
|
2023-03-16 06:49:38 -03:00
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
2023-08-04 01:07:28 -03:00
|
|
|
#include <GCS_MAVLink/GCS_config.h>
|
2023-03-16 06:49:38 -03:00
|
|
|
|
2023-06-20 03:40:34 -03:00
|
|
|
#ifndef AP_GPS_ENABLED
|
|
|
|
#define AP_GPS_ENABLED 1
|
|
|
|
#endif
|
|
|
|
|
2022-07-06 06:34:31 -03:00
|
|
|
#ifndef AP_GPS_BACKEND_DEFAULT_ENABLED
|
2023-06-20 03:40:34 -03:00
|
|
|
#define AP_GPS_BACKEND_DEFAULT_ENABLED AP_GPS_ENABLED
|
2022-07-06 06:34:31 -03:00
|
|
|
#endif
|
|
|
|
|
2023-08-01 03:15:44 -03:00
|
|
|
#ifndef AP_GPS_DRONECAN_ENABLED
|
2023-09-25 05:16:34 -03:00
|
|
|
#define AP_GPS_DRONECAN_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED && HAL_ENABLE_DRONECAN_DRIVERS
|
2023-08-01 03:15:44 -03:00
|
|
|
#endif
|
|
|
|
|
2022-07-06 06:34:31 -03:00
|
|
|
#ifndef AP_GPS_ERB_ENABLED
|
|
|
|
#define AP_GPS_ERB_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_GPS_GSOF_ENABLED
|
|
|
|
#define AP_GPS_GSOF_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2023-08-04 01:07:28 -03:00
|
|
|
#ifndef AP_GPS_MAV_ENABLED
|
|
|
|
#define AP_GPS_MAV_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED && HAL_GCS_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2023-09-25 05:16:34 -03:00
|
|
|
#ifndef HAL_MSP_GPS_ENABLED
|
|
|
|
#define HAL_MSP_GPS_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED && HAL_MSP_SENSORS_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2022-07-06 06:34:31 -03:00
|
|
|
#ifndef AP_GPS_NMEA_ENABLED
|
|
|
|
#define AP_GPS_NMEA_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2022-11-22 22:13:57 -04:00
|
|
|
#ifndef AP_GPS_NMEA_UNICORE_ENABLED
|
|
|
|
#define AP_GPS_NMEA_UNICORE_ENABLED AP_GPS_NMEA_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2022-07-06 06:34:31 -03:00
|
|
|
#ifndef AP_GPS_NOVA_ENABLED
|
|
|
|
#define AP_GPS_NOVA_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_GPS_SBF_ENABLED
|
|
|
|
#define AP_GPS_SBF_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_GPS_SBP_ENABLED
|
|
|
|
#define AP_GPS_SBP_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_GPS_SBP2_ENABLED
|
|
|
|
#define AP_GPS_SBP2_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_GPS_SIRF_ENABLED
|
|
|
|
#define AP_GPS_SIRF_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
2022-07-13 05:53:16 -03:00
|
|
|
|
|
|
|
#ifndef AP_GPS_UBLOX_ENABLED
|
2023-09-25 05:16:34 -03:00
|
|
|
#define AP_GPS_UBLOX_ENABLED AP_GPS_BACKEND_DEFAULT_ENABLED
|
2022-07-13 05:53:16 -03:00
|
|
|
#endif
|