mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 09:30:26 +09:00
stm32: HSI selection fix; Pin swap rename; Add CAN selection
Signed-off-by: Eug Krashtan <eug.krashtan@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
committed by
Kevin O'Connor
parent
dd77a2ec16
commit
5238c3f872
@@ -131,12 +131,16 @@ config USBSERIAL
|
||||
bool "Use USB for communication (instead of serial)"
|
||||
depends on HAVE_STM32_USBFS || HAVE_STM32_USBOTG
|
||||
default y
|
||||
config STM32F042_USB_PIN_SWAP
|
||||
bool "Use PA9/PA10 for USB" if MACH_STM32F042
|
||||
depends on USBSERIAL && MACH_STM32F042
|
||||
config CANSERIAL
|
||||
bool "Use CAN for communication (instead of serial)"
|
||||
depends on MACH_STM32F042 && !USBSERIAL
|
||||
default n
|
||||
config STM32F042_PIN_SWAP
|
||||
bool "Use PA9/PA10 for USB or CAN" if MACH_STM32F042
|
||||
depends on (USBSERIAL || CANSERIAL) && MACH_STM32F042
|
||||
default n
|
||||
config SERIAL
|
||||
depends on !USBSERIAL
|
||||
depends on !USBSERIAL && !CANSERIAL
|
||||
bool
|
||||
default y
|
||||
choice
|
||||
|
||||
Reference in New Issue
Block a user