Remove historical code that forces the board to have a default to the model01

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent d483130492
commit 49c47c0ff2
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -242,15 +242,6 @@ fi
# shellcheck disable=SC1090 # shellcheck disable=SC1090
if [[ -z "${ARCH}" && -n "${FQBN}" ]]; then
ARCH=$(echo "${FQBN}" | sed -n -e 's/^[^:]\+:\([^:]\+\).*/\1/p')
fi
: "${BOARD:=model01}"
: "${ARCH:=avr}"
: "${FQBN:=keyboardio:${ARCH}:${BOARD}}"
if [ $# -eq 1 ]; then if [ $# -eq 1 ]; then
cmd="$(echo "$1" | tr '-' '_')" cmd="$(echo "$1" | tr '-' '_')"
"cmd_${cmd}" "cmd_${cmd}"

Loading…
Cancel
Save