Kconfig: Move CANBUS_FREQUENCY definition from src/stm32/Kconfig to src/Kconfig

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2022-06-04 11:56:59 -04:00
1 parent c1f4bdebf2
commit db5a4351a5
2 files changed
+5 -4

No files matched your search

+5
View File
@@ -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
-4
View File
@@ -351,8 +351,4 @@ choice
select CANSERIAL
endchoice
config CANBUS_FREQUENCY
int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANSERIAL
default 500000
endif