hwdef: fold minimal_GPS.inc into sole user

This commit is contained in:
Peter Barker 2024-05-21 14:09:27 +10:00 committed by Andrew Tridgell
parent 72b5efd8b3
commit 482342340d
2 changed files with 2 additions and 10 deletions

View File

@ -98,9 +98,8 @@ define GPS_MAX_RECEIVERS 1
define GPS_MAX_INSTANCES 1
define HAL_COMPASS_MAX_SENSORS 1
define HAL_PERIPH_GPS_PORT_DEFAULT 0
# minimal GPS drivers to reduce flash usage
include ../include/minimal_GPS.inc
define AP_GPS_BACKEND_DEFAULT_ENABLED 0
define AP_GPS_UBLOX_ENABLED 1
# GPS PPS
PA15 GPS_PPS_IN INPUT

View File

@ -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