UART driver refactor (#11637)
This commit is contained in:
parent
be897cbc2f
commit
30b46fad57
12 changed files with 287 additions and 39 deletions
|
@ -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],
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue