From c8fe71b6b0bb32bb43526e603dd58c7715edc274 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Wed, 26 Jun 2024 15:00:29 +1000 Subject: [PATCH] AP_HAL_ChibiOS: use debug option 3 which includes defines as well --- libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk b/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk index 893b358f54..9d30c86701 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk @@ -9,7 +9,7 @@ ifeq ($(USE_OPT),) endif ifeq ($(ENABLE_DEBUG_SYMBOLS), yes) - USE_OPT += -g + USE_OPT += -g3 endif # C specific options here (added to USE_OPT).