diff --git a/makefile b/makefile index c176fa2..680ecda 100644 --- a/makefile +++ b/makefile @@ -1,10 +1,11 @@ -include local.make +# We deliberately do not make use of implicit rules, nor the standard variables they use +include local.make + arduino_packages = ~/.arduino15/packages/arduino arduino_lib = $(arduino_packages)/hardware/avr/1.8.6 - # Flags debug = -g lto = -flto @@ -108,6 +109,7 @@ build/kulifuli.hex : build/kulifuli.elf .PHONY : build build : build/kulifuli.eep build/kulifuli.hex +# This target includes the so-called 1200 baud touch, which puts the Arduino into bootloader mode .PHONY : upload upload : build/kulifuli.hex stty --file=$(arduino_serial_port) speed 1200 > /dev/null