Add comments regarding implicit rules & 1200 baud touch

This commit is contained in:
Reinout Meliesie 2025-08-26 12:48:13 +02:00
commit 1d238cf857
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -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_packages = ~/.arduino15/packages/arduino
arduino_lib = $(arduino_packages)/hardware/avr/1.8.6 arduino_lib = $(arduino_packages)/hardware/avr/1.8.6
# Flags # Flags
debug = -g debug = -g
lto = -flto lto = -flto
@ -108,6 +109,7 @@ build/kulifuli.hex : build/kulifuli.elf
.PHONY : build .PHONY : build
build : build/kulifuli.eep build/kulifuli.hex 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 .PHONY : upload
upload : build/kulifuli.hex upload : build/kulifuli.hex
stty --file=$(arduino_serial_port) speed 1200 > /dev/null stty --file=$(arduino_serial_port) speed 1200 > /dev/null