mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
hwdef: fold minimal_GPS.inc into sole user
This commit is contained in:
parent
72b5efd8b3
commit
482342340d
@ -98,9 +98,8 @@ define GPS_MAX_RECEIVERS 1
|
|||||||
define GPS_MAX_INSTANCES 1
|
define GPS_MAX_INSTANCES 1
|
||||||
define HAL_COMPASS_MAX_SENSORS 1
|
define HAL_COMPASS_MAX_SENSORS 1
|
||||||
define HAL_PERIPH_GPS_PORT_DEFAULT 0
|
define HAL_PERIPH_GPS_PORT_DEFAULT 0
|
||||||
|
define AP_GPS_BACKEND_DEFAULT_ENABLED 0
|
||||||
# minimal GPS drivers to reduce flash usage
|
define AP_GPS_UBLOX_ENABLED 1
|
||||||
include ../include/minimal_GPS.inc
|
|
||||||
|
|
||||||
# GPS PPS
|
# GPS PPS
|
||||||
PA15 GPS_PPS_IN INPUT
|
PA15 GPS_PPS_IN INPUT
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
# include file to reduce flash by including less GPS drivers
|
|
||||||
|
|
||||||
define AP_GPS_BACKEND_DEFAULT_ENABLED 0
|
|
||||||
define AP_GPS_UBLOX_ENABLED 1
|
|
||||||
define AP_GPS_DRONECAN_ENABLED HAL_ENABLE_DRONECAN_DRIVERS
|
|
||||||
undef HAL_MSP_GPS_ENABLED
|
|
||||||
define HAL_MSP_GPS_ENABLED HAL_MSP_SENSORS_ENABLED
|
|
Loading…
Reference in New Issue
Block a user