Having trouble disabling USB to reclaim pins 19 and 20 #15290
Replies: 3 comments 1 reply
-
I've worked out that CONFIG_USB_OTG_SUPPORTED is being set to y despite me setting it to n - checked through cmake build logs. mpconfigboard.cmake
sdkconfig.usb
For now I manually removed all CONFIG_USB_OTG_SUPPORTED bits of code but that doesnt seem ideal - does anyone happen to know why this might be happening? |
Beta Was this translation helpful? Give feedback.
-
Does it help to remove the line
from the |
Beta Was this translation helpful? Give feedback.
-
Sorry for the slow reply on this one. There is an open issue that tracks this problem at #14217, there's currently no "good" way to do this. (Although there is a workaround described at #15769) |
Beta Was this translation helpful? Give feedback.
-
In the past I had disabled USB on a custom build of micropython by changing sdkconfig.usb (#11315)
This time around when I change sdkconfig.usb to either of the following, the build still fails. Any advice on how I might fix this? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions