Log on first UART by default. Long only errors by default
This commit is contained in:
parent
0628f7ce5d
commit
e84eeaec39
10
src/Makefile
10
src/Makefile
|
@ -81,7 +81,15 @@ endif
|
|||
export AS = vasmm68k_mot
|
||||
export ASFLAGS = $(VASM_CPU) -quiet -Fvobj -nowarn=62 -DMODEL=$(MODEL_NUMBER)
|
||||
export CC = vc
|
||||
export DEFINES = -DCPU=$(CPU_NUMBER) -DMODEL=$(MODEL_NUMBER) # -DKBD_POLLED
|
||||
DEFINES = -DCPU=$(CPU_NUMBER) -DMODEL=$(MODEL_NUMBER) # -DKBD_POLLED
|
||||
|
||||
# Logging level
|
||||
ifeq ("$(DEFAULT_LOG_LEVEL)","")
|
||||
else
|
||||
DEFINES := $(DEFINES) -DDEFAULT_LOG_LEVEL=$(DEFAULT_LOG_LEVEL)
|
||||
endif
|
||||
|
||||
export DEFINES:=$(DEFINES)
|
||||
|
||||
# When compiling an image for flash, size to which the image must be padded
|
||||
PAD_FLASH_SIZE=524288
|
||||
|
|
|
@ -33,7 +33,7 @@ static void (*do_log)(const char* message);
|
|||
static void log_to_uart(const char* message);
|
||||
static void log_to_screen(const char* message);
|
||||
|
||||
#define UART_COM1 1
|
||||
#define UART_COM1 0
|
||||
|
||||
/* Can use the buzzer as sound clues */
|
||||
void buzzer_on(void) {
|
||||
|
|
Loading…
Reference in a new issue