From 0c484fcae021309d5ebaa409197c28c51885dac3 Mon Sep 17 00:00:00 2001 From: Vineet K Date: Sun, 21 Apr 2024 17:31:01 -0400 Subject: [PATCH] update makefile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1731fcc..b456564 100644 --- a/Makefile +++ b/Makefile @@ -19,11 +19,14 @@ lcd: ${OBJCOPY} -j .text -j .data -O ihex a.out lcd.hex rm -f a.out -flash_lcd: notes +flash_lcd: lcd avrdude -p atmega328p -c arduino -P ${PORT} -b 115200 -U flash:w:lcd.hex:i serial_setup: - stty -F ${PORT} raw speed 115200 cs8 -cstopb -parenb + stty -F ${PORT} raw speed 9600 cs8 -cstopb -parenb serial_open: od -x --endian=big -w4 ${PORT} + +serial_obsd: + cu -l ${PORT} -s 9600 | hexdump -C