summaryrefslogtreecommitdiff
path: root/src/arch/blinkenrocket/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-09-02 13:13:40 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-09-02 13:13:40 +0200
commitb8366cf9a5cf87336352b9862cd536660d243a12 (patch)
treec31be7c5fd3befc109f17b65e5df44dbddac0317 /src/arch/blinkenrocket/Makefile.inc
parent6f39086d550b66d2039f3f87f097d573d92eb047 (diff)
arch makefiles: consistently use $SERIAL_PORT
Diffstat (limited to 'src/arch/blinkenrocket/Makefile.inc')
-rw-r--r--src/arch/blinkenrocket/Makefile.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/blinkenrocket/Makefile.inc b/src/arch/blinkenrocket/Makefile.inc
index 9b19857..0cfb2e0 100644
--- a/src/arch/blinkenrocket/Makefile.inc
+++ b/src/arch/blinkenrocket/Makefile.inc
@@ -1,7 +1,7 @@
# vim:ft=make
MCU = attiny88
-PORT = /dev/ttyUSB0
+SERIAL_PORT ?= /dev/ttyUSB0
COMMON_FLAGS += -mmcu=${MCU} -DF_CPU=8000000UL -DMULTIPASS_ARCH_blinkenrocket
COMMON_FLAGS += -flto
@@ -51,17 +51,17 @@ arch_clean:
rm -f ${OBJECTS} build/system.hex
monitor:
- screen ${PORT} 115200
+ screen ${SERIAL_PORT} 115200
arch_help:
@echo "blinkenrocket specific flags:"
- @echo " PORT = ${PORT}"
+ @echo " SERIAL_PORT = ${SERIAL_PORT}"
arch_info:
@echo "CPU Freq: ${cpu_freq} Hz"
@echo "Timer Freq: ${timer_freq} Hz"
@echo "I2C Freq: ${i2c_freq} Hz"
@echo "Counter Overflow: ?/?"
- @echo "Monitor: ${PORT} 115200"
+ @echo "Monitor: ${SERIAL_PORT} 115200"
.PHONY: arch_clean arch_help arch_info monitor program