From 14332fad527d0457c3dae626aef5fdcf60bee13f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 25 Sep 2024 17:10:23 +1000 Subject: [PATCH] hwdef: -Os on MFT-SEMA-100 to avoid flash overflow --- libraries/AP_HAL_ChibiOS/hwdef/MFT-SEMA100/hwdef.dat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MFT-SEMA100/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MFT-SEMA100/hwdef.dat index 01406f2bf2..44b2632da7 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MFT-SEMA100/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MFT-SEMA100/hwdef.dat @@ -11,8 +11,8 @@ APJ_BOARD_ID 2000 FLASH_SIZE_KB 2048 -# with 2M flash we can afford to optimize for speed -env OPTIMIZE -O2 +# +env OPTIMIZE -Os # ChibiOS system timer STM32_ST_USE_TIMER 2