Skip to content

Commit

Permalink
Tools: Carbonix_waf_build added board Carbonix Default boards
Browse files Browse the repository at this point in the history
SW-159
  • Loading branch information
loki077 committed Jun 12, 2024
1 parent ab299a4 commit a5d371d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Tools/Carbonix_scripts/carbonix_waf_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ for board in "${main_boards[@]}"; do
./waf plane
done

# Build all Default periph board
periph_boards=("CarbonixF405" "CarbonixF405-no-crystal")
for board in "${periph_boards[@]}"; do
echo "Compiling AP_Periph for $board..."
./waf configure --board "$board" --define=CARBOPILOT=1
./waf AP_Periph
done

# Build all periph board with custom parameters
for board in "${periph_boards[@]}"; do
for file in $(find libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/cpn_params/ -name "*.parm"); do
# Extract the filename without the extension
Expand Down

0 comments on commit a5d371d

Please sign in to comment.