From e26997d815fb8f37fcfaf519c2d53fc0ec98f2ef Mon Sep 17 00:00:00 2001 From: Kyle Brown Date: Mon, 3 Sep 2018 16:46:12 -0700 Subject: [PATCH] Fixed environment variables for ARDUINO. Added default, but will be overridden if set by the user --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1ed60f1..1304894 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ NRF_DFU_PORT ?= /dev/ttyUSB0 NRF_DFU_BAUD ?= 115200 NRF_DFU_DELAY ?= 1.5 +ARDUINO ?= /usr/share/arduino devdeps: Pipfile.lock @pipenv install --dev --ignore-pipfile @@ -96,7 +97,7 @@ else build-teensy-3.1: lint devdeps micropython-deps micropython-freeze-kmk-teensy3.1 @echo "===> Preparing keyboard script for bundling into MicroPython" @cp -av ${BOARD} vendor/micropython/ports/teensy/freeze/kmk_keyboard_user.py - @$(MAKE) micropython-flash-teensy3.1 + @$(MAKE) ARDUINO=${ARDUINO} micropython-flash-teensy3.1 endif # Fully wipe the board with only stock CircuitPython