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 2022-06-02 12:43:19 -04:00
parent c1f4bdebf2
commit db5a4351a5
2 changed files with 5 additions and 4 deletions

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

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