From 88409bd7774af6a94da1129527a183311b3b7708 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 27 Apr 2022 14:05:12 +1000 Subject: [PATCH] hwdef: uncompress bootloader for HolybroG4_GPS not enough ram to uncompress at runtime --- libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat index a440f9cd19..f153af02e0 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat @@ -150,5 +150,12 @@ define HAL_PERIPH_ENABLE_BARO define HAL_PERIPH_ENABLE_NOTIFY define HAL_PERIPH_ENABLE_RC_OUT +# single baro +define BARO_MAX_INSTANCES 1 + # GPS on 2nd port define HAL_PERIPH_GPS_PORT_DEFAULT 1 + +# keep ROMFS uncompressed as we don't have enough RAM +# to uncompress the bootloader at runtime +env ROMFS_UNCOMPRESSED True