Skip to content

How to use TinyUSB in a STM32H750xx project using Keil as IDE? #740

Answered by hathach
bkaz4283 asked this question in Q&A
Discussion options

You must be logged in to vote

@bkaz4283 do you add the whole TinyUSB source files into your µVision Project or add each file manually? I think you maybe just missed to add the right sources. Your MCU does not use the STM32 FS USB peripheral. You have to add tinyusb/src/portable/st/synopsys/dcd_synopsys.c instead of dcd_stm32_fsdev* files. Also make sure you set CFG_TUSB_MCU symbol to OPT_MCU_STM32H7.

Originally posted by @duempel in #740 (reply in thread)

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@bkaz4283
Comment options

@hathach
Comment options

@bkaz4283
Comment options

@duempel
Comment options

@bkaz4283
Comment options

Comment options

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

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