DEBUG macro in uart.h, enabled by default in makefile

This commit is contained in:
Imbus 2024-03-24 02:28:40 +01:00
parent 3cb2df2468
commit 78e3ddce19
2 changed files with 16 additions and 0 deletions

View file

@ -11,6 +11,9 @@ QEMU_MACHINE_NAME = uno
# Compiler flags
CFLAGS = -std=c2x -Wall -Wno-array-bounds -mmcu=$(MCU) -DF_CPU=16000000UL -O3
# Comment the following line to disable UART debugging (see uart.h)
CFLAGS += -DDEBUG_UART_ENABLED
# Source files
SRCS = $(wildcard *.c)