13 lines
234 B
Bash
Executable file
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
|