|
|
|
@ -2782,6 +2782,52 @@ def add_apperiph_defaults(f):
@@ -2782,6 +2782,52 @@ def add_apperiph_defaults(f):
|
|
|
|
|
#define AP_ROBOTISSERVO_ENABLED 0 |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
* GPS Backends - we selectively turn backends on. |
|
|
|
|
* Note also that f103-GPS explicitly disables some of these backends. |
|
|
|
|
*/ |
|
|
|
|
#define AP_GPS_BACKEND_DEFAULT_ENABLED 0 |
|
|
|
|
|
|
|
|
|
#ifndef AP_GPS_ERB_ENABLED |
|
|
|
|
#define AP_GPS_ERB_ENABLED 0 |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef AP_GPS_GSOF_ENABLED |
|
|
|
|
#define AP_GPS_GSOF_ENABLED defined(HAL_PERIPH_ENABLE_GPS) |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef AP_GPS_NMEA_ENABLED |
|
|
|
|
#define AP_GPS_NMEA_ENABLED 0 |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef AP_GPS_SBF_ENABLED |
|
|
|
|
#define AP_GPS_SBF_ENABLED defined(HAL_PERIPH_ENABLE_GPS) |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef AP_GPS_SBP_ENABLED |
|
|
|
|
#define AP_GPS_SBP_ENABLED 0 |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef AP_GPS_SBP2_ENABLED |
|
|
|
|
#define AP_GPS_SBP2_ENABLED 0 |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef AP_GPS_SIRF_ENABLED |
|
|
|
|
#define AP_GPS_SIRF_ENABLED 0 |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef AP_GPS_MAV_ENABLED |
|
|
|
|
#define AP_GPS_MAV_ENABLED 0 |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef AP_GPS_NOVA_ENABLED |
|
|
|
|
#define AP_GPS_NOVA_ENABLED defined(HAL_PERIPH_ENABLE_GPS) |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef HAL_SIM_GPS_ENABLED |
|
|
|
|
#define HAL_SIM_GPS_ENABLED (AP_SIM_ENABLED && defined(HAL_PERIPH_ENABLE_GPS)) |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
''') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|