aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1/Kconfig')
-rw-r--r--src/stm32f1/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stm32f1/Kconfig b/src/stm32f1/Kconfig
index 20afef85..81e03bf1 100644
--- a/src/stm32f1/Kconfig
+++ b/src/stm32f1/Kconfig
@@ -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"