Skip to content

STM32CubeIDE Integration #633

Discussion options

You must be logged in to vote

The procedure:

  • In the graphical chip configurator, enable USB_OTG_HS (or whichever USB peripheral you have under 'Connectivity' section) and set it in "Device_Only" mode. In the bottom, under NVIC Settings, check the box that is the global USB interrupt. Make sure you are not using the ST USB middleware -- make sure in the 'Middleware' section under USB_DEVICE and USB_HOST (if you have this section) that all the Class boxes are set to "Disable"
  • Check out tinyusb to your project's root -- do not put it in "Middlewares" or "Drivers" since the IDE automatically includes practically everything inside these folders and there are all sorts of examples, libraries, etc. that do not target your m…

Replies: 7 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@MimitechIndustries
Comment options

Comment options

You must be logged in to vote
3 replies
@hathach
Comment options

@squintz
Comment options

@hathach
Comment options

Answer selected by MimitechIndustries
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@viteo
Comment options

@sidprice
Comment options

@viteo
Comment options

Comment options

You must be logged in to vote
1 reply
@d4v1dp3
Comment options

Comment options

You must be logged in to vote
3 replies
@jorgespd
Comment options

@ejaaskel
Comment options

@docsdom
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants