summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineet K <git@vineetk.net>2024-04-21 17:31:01 -0400
committerShokara Kou <kou@13f0.net>2024-04-21 17:31:01 -0400
commit0c484fcae021309d5ebaa409197c28c51885dac3 (patch)
tree8e91c1311cdb034483e0d380d842806d3b20d5e4
parent21992cfc5410263750b481044ea77c431adff8d0 (diff)
update makefile
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1731fcc..b456564 100644
--- a/Makefile
+++ b/Makefile
@@ -19,11 +19,14 @@ lcd:
19 ${OBJCOPY} -j .text -j .data -O ihex a.out lcd.hex 19 ${OBJCOPY} -j .text -j .data -O ihex a.out lcd.hex
20 rm -f a.out 20 rm -f a.out
21 21
22flash_lcd: notes 22flash_lcd: lcd
23 avrdude -p atmega328p -c arduino -P ${PORT} -b 115200 -U flash:w:lcd.hex:i 23 avrdude -p atmega328p -c arduino -P ${PORT} -b 115200 -U flash:w:lcd.hex:i
24 24
25serial_setup: 25serial_setup:
26 stty -F ${PORT} raw speed 115200 cs8 -cstopb -parenb 26 stty -F ${PORT} raw speed 9600 cs8 -cstopb -parenb
27 27
28serial_open: 28serial_open:
29 od -x --endian=big -w4 ${PORT} 29 od -x --endian=big -w4 ${PORT}
30
31serial_obsd:
32 cu -l ${PORT} -s 9600 | hexdump -C