Hot-pluggable parallel port debugging
This commit is contained in:
committed by
Jeremy Soller
parent
47aed0733e
commit
834aaf97e4
@@ -1,11 +1,27 @@
|
||||
# Set log level
|
||||
# 0 - NONE
|
||||
# 1 - ERROR
|
||||
# 2 - WARN
|
||||
# 3 - INFO
|
||||
# 4 - DEBUG
|
||||
# 5 - TRACE
|
||||
CFLAGS+=-DLEVEL=4
|
||||
|
||||
# Uncomment to enable debug logging over keyboard parallel port
|
||||
#CFLAGS+=-DPARALLEL_DEBUG
|
||||
|
||||
# Uncomment to enable I2C debug on 0x76
|
||||
#CFLAGS+=-DI2C_DEBUGGER=0x76
|
||||
|
||||
# Set external programmer
|
||||
PROGRAMMER=$(wildcard /dev/serial/by-id/usb-Arduino*)
|
||||
|
||||
# Include system76 common source
|
||||
SYSTEM76_COMMON_DIR=src/board/system76/common
|
||||
SRC+=$(wildcard $(SYSTEM76_COMMON_DIR)/*.c)
|
||||
INCLUDE+=$(wildcard $(SYSTEM76_COMMON_DIR)/include/common/*.h) $(SYSTEM76_COMMON_DIR)/common.mk
|
||||
CFLAGS+=-I$(SYSTEM76_COMMON_DIR)/include
|
||||
|
||||
PROGRAMMER=$(wildcard /dev/serial/by-id/usb-Arduino*)
|
||||
|
||||
# Add scratch ROM
|
||||
include $(SYSTEM76_COMMON_DIR)/scratch/scratch.mk
|
||||
|
||||
|
Reference in New Issue
Block a user