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

@@ -27,20 +27,13 @@ NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
# MIDI_ENABLE = YES # MIDI controls
UNICODE_ENABLE = YES # Unicode
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
LAYOUTS = ortho_4x12
USB = /dev/ttyACM0
# upload: build
# $(MITOSIS_UPLOAD_COMMAND)
OPT_DEFS += -DMITOSIS_PROMICRO
MITOSIS_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
SRC = matrix.c serial_uart.c
# Disable unsupported hardware
RGBLIGHT_SUPPORTED = no
AUDIO_SUPPORTED = no
BACKLIGHT_SUPPORTED = no
LAYOUTS = ortho_4x12