From 4d099cca5a9f0c7f66f7da5bee0946ba0f382c6b Mon Sep 17 00:00:00 2001 From: Bob Long Date: Wed, 25 Sep 2024 17:23:31 +1000 Subject: [PATCH] Tools: add -g to Carbonix Build Script Enables debug symbols in the elf file. This does not impact the actual binary. --- Tools/Carbonix_scripts/carbonix_waf_build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/Carbonix_scripts/carbonix_waf_build.sh b/Tools/Carbonix_scripts/carbonix_waf_build.sh index cc3ec8a690..497df9bdbd 100755 --- a/Tools/Carbonix_scripts/carbonix_waf_build.sh +++ b/Tools/Carbonix_scripts/carbonix_waf_build.sh @@ -9,7 +9,7 @@ echo "Running distclean..." main_boards=("CubeOrange" "CubeOrange-Volanti" "CubeOrange-Ottano") for board in "${main_boards[@]}"; do echo "Compiling ArduPlane for $board..." - ./waf configure --board "$board" + ./waf configure --board "$board" -g ./waf plane done @@ -29,7 +29,7 @@ for board in "${periph_boards[@]}"; do # Compile AP_Periph for each board echo "Compiling AP_Periph for $board with $filename..." - ./waf configure --board "$board" --extra-hwdef=temp.hwdef --default-parameters="$file" + ./waf configure --board "$board" --extra-hwdef=temp.hwdef --default-parameters="$file" -g ./waf AP_Periph # Rename build outputs @@ -47,7 +47,7 @@ done # Build all Default periph board for board in "${periph_boards[@]}"; do echo "Compiling AP_Periph for $board..." - ./waf configure --board "$board" + ./waf configure --board "$board" -g ./waf AP_Periph done