stm32f1: Initial support for serial over USB

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-10-03 22:40:01 -04:00
parent 1302514ea8
commit bc5e961d73
4 changed files with 294 additions and 5 deletions

View File

@@ -18,10 +18,13 @@ config CLOCK_FREQ
int
default 8000000 # 72000000 / 9
config USBSERIAL
bool "Use USB for communication (instead of serial)"
default y
config SERIAL
depends on !USBSERIAL
bool
default y
config SERIAL_BAUD
depends on SERIAL
int "Baud rate for serial port"