henrikssn / TurboCAN

This is the official repository for the TurboCAN controller board, designed specifically for the Voron AfterBurner toolhead but can also be used on similar toolheads using NEMA17 steppers.
78 stars 27 forks source link

Is there no klipper config to set usb only? #5

Closed johwanghee closed 3 years ago

johwanghee commented 3 years ago

Is there no klipper config to set usb only?

1625930186848 USB doesn't work with this

henrikssn commented 3 years ago

Hmm, this might need fixing on the Klipper side, USB is connected to the standard PA11/PA12 pins.

You could try using the stm32f042 menu option in the meanwhile, it is close enough to still work IIRC. You should select "USB on PA11/PA12".

henrikssn commented 3 years ago

This line should include MACH_STM32F072: https://github.com/KevinOConnor/klipper/blob/f24210054a2b263e7a73df1356c77b222851c0a1/src/stm32/Kconfig#L73

johwanghee commented 3 years ago
config HAVE_STM32_USBFS
    bool
    default y if MACH_STM32F103 || MACH_STM32F042 || MACH_STM32F070 || MACH_STM32F072

After fixing the Klipper source, the USB interface is connected. However, since this is a Klipper issue, I will close this issue.