Implement USART with bot RX and TX interrupts

This commit is contained in:
2024-09-02 01:03:59 +02:00
parent 2423e0f060
commit 19983fb613
17 changed files with 168 additions and 440 deletions

View File

@@ -30,7 +30,7 @@ AVD := avrdude
MKDIR := mkdir -p
RMR := rm -rf
CPPFLAGS := -DF_CPU=$(FREQ)
CPPFLAGS := -DF_CPU=$(FREQ) -I$(SRCDIR)
CFLAGS := -mmcu=$(MCU) -Os -std=c99 -Wall -Wextra -Werror
OCFLAGS := -j .text -j .data -O ihex
LDFLAGS := -mmcu=$(MCU)