From 1d238cf8572874bdc15b7d57744c0b98707e64a1 Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Tue, 26 Aug 2025 12:48:13 +0200 Subject: [PATCH] Add comments regarding implicit rules & 1200 baud touch --- makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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