update makefile

This commit is contained in:
Vineet K 2024-04-21 17:31:01 -04:00 committed by Shokara Kou
parent 21992cfc54
commit 0c484fcae0

View File

@ -19,11 +19,14 @@ lcd:
${OBJCOPY} -j .text -j .data -O ihex a.out lcd.hex ${OBJCOPY} -j .text -j .data -O ihex a.out lcd.hex
rm -f a.out 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 avrdude -p atmega328p -c arduino -P ${PORT} -b 115200 -U flash:w:lcd.hex:i
serial_setup: serial_setup:
stty -F ${PORT} raw speed 115200 cs8 -cstopb -parenb stty -F ${PORT} raw speed 9600 cs8 -cstopb -parenb
serial_open: serial_open:
od -x --endian=big -w4 ${PORT} od -x --endian=big -w4 ${PORT}
serial_obsd:
cu -l ${PORT} -s 9600 | hexdump -C