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).