1
0
Fork 0

UART driver refactor (#11637)

This commit is contained in:
Ryan 2021-01-27 17:42:49 +11:00 committed by GitHub
parent be897cbc2f
commit 30b46fad57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 287 additions and 39 deletions

View file

@ -27,6 +27,7 @@ This will require a new communication protocol, as the current one is limited.
*/
#include "remote_kb.h"
#include "uart.h"
uint8_t
msg[UART_MSG_LEN],

View file

@ -16,7 +16,6 @@
#pragma once
#include "quantum.h"
#include "tmk_core/common/uart.h"
#define SERIAL_UART_BAUD 153600 //low error rate for 32u4 @ 16MHz

View file

@ -1,9 +1,6 @@
# MCU name
MCU = atmega32u4
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Bootloader selection
BOOTLOADER = atmel-dfu
@ -31,5 +28,5 @@ CUSTOM_MATRIX = lite # Lite custom matrix
SRC += matrix.c \
bitc_led.c \
big_led.c \
remote_kb.c \
tmk_core/common/uart.c
remote_kb.c
QUANTUM_LIB_SRC += uart.c