summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-28 22:02:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-28 22:02:54 +0100
commitbdff4289c8d10f287f6b2ca562730b17b295c8dc (patch)
tree579d146156c5a4c8c2dcbf3516808b917ff2029f /src/arch/arduino-nano
parent6f77d81b1ca937c369b26b99ee503cff10bc5ff2 (diff)
add more cat targets and size output
Diffstat (limited to 'src/arch/arduino-nano')
-rw-r--r--src/arch/arduino-nano/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index 2365cfd..12777d9 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -161,6 +161,9 @@ program: build/system.hex
arch_clean:
${QUIET}rm -f ${OBJECTS} build/system.hex
+cat:
+ ${QUIET}script/cat.py ${SERIAL_PORT} ${uart_baud} ${cpu_freq} 65536
+
monitor:
${QUIET}screen ${SERIAL_PORT} ${uart_baud}
@@ -184,4 +187,4 @@ arch_info:
attributes: build/system.elf
${QUIET}script/size.py avr-size text,data data,bss
-.PHONY: arch_clean arch_help arch_info attributes monitor program size
+.PHONY: arch_clean arch_help arch_info attributes cat monitor program size