diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 8b8747d670..214a5dfabe 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -154,6 +154,9 @@ class Board: '-g', '-O0', ] + env.DEFINES.update( + HAL_DEBUG_BUILD = 1, + ) if cfg.options.bootloader: # don't let bootloaders try and pull scripting in