Add comments regarding implicit rules & 1200 baud touch
This commit is contained in:
parent
fd74076bb8
commit
1d238cf857
1 changed files with 4 additions and 2 deletions
6
makefile
6
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue