Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools: Carbonix build script remove dist clean #96

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

# This file is mainly used by workflows/cx_build_compare.yml to build the firmware for a specific board without bootloader and clean.

# Exit immediately if a command exits with a non-zero status
set -e

Expand All @@ -9,13 +11,9 @@ BOARD=$1
if [ "$BOARD" == "CubeOrange" ] || [ "$BOARD" == "CarbonixCubeOrange" ] || [ "$BOARD" == "sitl" ]
then
echo "Compiling Plane for $BOARD..."
./Tools/scripts/build_bootloaders.py "$BOARD"
./waf configure --board "$BOARD"
./waf plane
else
echo "Compiling AP_Periph for $BOARD..."
./Tools/scripts/build_bootloaders.py "$BOARD"
./waf configure --board "$BOARD"
./waf AP_Periph
fi

Expand Down