diff --git a/Tools/Carbonix_scripts/carbonix_waf_build.sh b/Tools/Carbonix_scripts/carbonix_waf_build.sh index 49f2301be2..37e53cb6ae 100755 --- a/Tools/Carbonix_scripts/carbonix_waf_build.sh +++ b/Tools/Carbonix_scripts/carbonix_waf_build.sh @@ -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