RadioLibSmol/extras/test/ci/build_arduino.sh
2024-12-31 12:21:06 +01:00

13 lines
234 B
Bash
Executable file

#!/bin/bash
board=$1
sketch=$2
flags=$3
warnings="all"
arduino-cli compile \
--libraries ../../../../ \
--fqbn $board \
--build-property compiler.cpp.extra_flags="$flags" \
--warnings=$warnings \
$sketch --export-binaries