Skip to content

Commit

Permalink
Tools: add -g to Carbonix Build Script
Browse files Browse the repository at this point in the history
Enables debug symbols in the elf file. This does not impact the actual
binary.
  • Loading branch information
robertlong13 committed Sep 25, 2024
1 parent f2fb76a commit 4d099cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tools/Carbonix_scripts/carbonix_waf_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 4d099cc

Please sign in to comment.