From 854b769cfe7fd5815b8b2b36caaf3ef23397be42 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sun, 8 Sep 2024 12:08:18 -0500 Subject: [PATCH] hwdef: remove non-ublox GPSes from MatekL431-Periph Saves enough flash to get it building again (11K now free). These backends are default for other boards and so are built in CI. --- libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Periph/hwdef.dat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Periph/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Periph/hwdef.dat index ded7e7d7a5..b576cfdb53 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Periph/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Periph/hwdef.dat @@ -23,6 +23,10 @@ define HAL_PERIPH_GPS_PORT_DEFAULT 2 # allow for F9P GPS modules with moving baseline define GPS_MOVING_BASELINE 1 +# restrict backends available to save flash (i.e. only UBLOX) +define AP_GPS_NOVA_ENABLED 0 +define AP_GPS_SBF_ENABLED 0 +define AP_GPS_GSOF_ENABLED 0 # ---------------------- COMPASS --------------------------- define HAL_PERIPH_ENABLE_MAG