Serial refactor (#11521)

This commit is contained in:
Ryan
2021-02-06 09:20:48 +11:00
committed by GitHub
parent 464eb7137d
commit 5ea92a9c1c
58 changed files with 162 additions and 562 deletions

View File

@@ -28,14 +28,5 @@ NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
UNICODE_ENABLE = YES # Unicode
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
USB = /dev/ttyACM0
OPT_DEFS += -DREDOX_W_PROMICRO
INTERPHASE_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
# # project specific files
SRC = matrix.c
# upload: build
# $(REDOX_W_UPLOAD_COMMAND)
SRC += matrix.c serial_uart.c