Merge pull request #99 from algernon/h/tools/keyboardio-builder/hardware-override

tools/settings.sh: Make BOARD, MCU, and FQBN overrideable
pull/102/head
Jesse Vincent 8 years ago committed by GitHub
commit 9b095067e0

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

Loading…
Cancel
Save