aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig5
-rw-r--r--src/stm32/Kconfig4
2 files changed, 5 insertions, 4 deletions
diff --git a/src/Kconfig b/src/Kconfig
index ea2300ec..54c3497e 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -61,6 +61,11 @@ config USB_SERIAL_NUMBER_CHIPID
config USB_SERIAL_NUMBER
default "12345"
+# Generic configuration options for CANbus
+config CANBUS_FREQUENCY
+ int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANSERIAL
+ default 500000
+
menu "USB ids"
depends on USBSERIAL && LOW_LEVEL_OPTIONS
config USB_VENDOR_ID
diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig
index 62551dd8..30c72414 100644
--- a/src/stm32/Kconfig
+++ b/src/stm32/Kconfig
@@ -351,8 +351,4 @@ choice
select CANSERIAL
endchoice
-config CANBUS_FREQUENCY
- int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANSERIAL
- default 500000
-
endif