tools/settings.sh: Make BOARD, MCU, and FQBN overrideable

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/99/head
Gergely Nagy 8 years ago
parent 94817714d8
commit 23bb826bdb

@ -16,9 +16,9 @@ if [ -z "${SKETCH}" ] || [ -z "${LIBRARY}" ] || [ -z "${ROOT}" ] || [ -z "${SOUR
exit 1
fi
BOARD="model01"
MCU="atmega32u4"
FQBN="keyboardio:avr:model01"
BOARD="${BOARD:-model01}"
MCU="${MCU:-atmega32u4}"
FQBN="${FQBN:-keyboardio:avr:${BOARD}}"
DEVICE_PORT="$(ls /dev/ttyACM* 2>/dev/null || echo '')"
DEVICE_PORT_BOOTLOADER="$(ls /dev/ttyACM* 2>/dev/null || echo '')"

Loading…
Cancel
Save