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:
parent
c1f4bdebf2
commit
db5a4351a5
|
@ -61,6 +61,11 @@ config USB_SERIAL_NUMBER_CHIPID
|
||||||
config USB_SERIAL_NUMBER
|
config USB_SERIAL_NUMBER
|
||||||
default "12345"
|
default "12345"
|
||||||
|
|
||||||
|
# Generic configuration options for CANbus
|
||||||
|
config CANBUS_FREQUENCY
|
||||||
|
int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANSERIAL
|
||||||
|
default 500000
|
||||||
|
|
||||||
menu "USB ids"
|
menu "USB ids"
|
||||||
depends on USBSERIAL && LOW_LEVEL_OPTIONS
|
depends on USBSERIAL && LOW_LEVEL_OPTIONS
|
||||||
config USB_VENDOR_ID
|
config USB_VENDOR_ID
|
||||||
|
|
|
@ -351,8 +351,4 @@ choice
|
||||||
select CANSERIAL
|
select CANSERIAL
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config CANBUS_FREQUENCY
|
|
||||||
int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANSERIAL
|
|
||||||
default 500000
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue