hwdef: use minimal GPS driver (ublox only) on low flash boards

this buys us about 22k of flash
This commit is contained in:
Andrew Tridgell 2022-10-19 13:24:11 +11:00
parent 117c5df6ca
commit 01a52a5427
6 changed files with 18 additions and 0 deletions

View File

@ -142,3 +142,6 @@ define AC_OAPATHPLANNER_ENABLED 0
define PRECISION_LANDING 0
define AP_OPTICALFLOW_ENABLED 0
define AP_ICENGINE_ENABLED 0
# only include ublox GPS driver
include ../include/minimal_GPS.inc

View File

@ -71,3 +71,6 @@ define HAL_SPRAYER_ENABLED 0
define AP_BATTMON_SMBUS_ENABLE 0
define AP_OPTICALFLOW_ENABLED 0
define AP_ICENGINE_ENABLED 0
# only include ublox GPS driver
include ../include/minimal_GPS.inc

View File

@ -198,3 +198,6 @@ define HAL_BARO_WIND_COMP_ENABLED 0
define AP_GRIPPER_ENABLED 0
define AP_OPTICALFLOW_ENABLED 0
define AP_ICENGINE_ENABLED 0
# only include ublox GPS driver
include ../include/minimal_GPS.inc

View File

@ -173,3 +173,6 @@ define AC_OAPATHPLANNER_ENABLED 0
define PRECISION_LANDING 0
define AP_OPTICALFLOW_ENABLED 0
define AP_ICENGINE_ENABLED 0
# only include ublox GPS driver
include ../include/minimal_GPS.inc

View File

@ -15,3 +15,6 @@ APJ_BOARD_ID 1002
#Overide it to use as GPS UART port
PC8 SBUS_INVERT_RX OUTPUT LOW
PC9 SBUS_INVERT_TX OUTPUT LOW
# only include ublox GPS driver
include ../include/minimal_GPS.inc

View File

@ -163,3 +163,6 @@ define AC_OAPATHPLANNER_ENABLED 0
define PRECISION_LANDING 0
define AP_OPTICALFLOW_ENABLED 0
define AP_ICENGINE_ENABLED 0
# only include ublox GPS driver
include ../include/minimal_GPS.inc