-
Hello, I'm using Keil IDE-Version: µVision V5.29.0.0 Tool Version Numbers: I'm trying to import the TinyUSB code into this project but I'm running into a problem as the repository seems to only include code for STM32Fxx MCUs. Specifically, I mean the code in /Src/portable/st/stm32_fsdev where dcd_init, dcd_int_enable, and a bunch of other needed functions are defined in ways specific only to STM32Fxx MCUs. I read in the getting_started.md that "In addition, MCU driver submodule is also needed to provide low-level MCU peripheral's driver. Luckily, it will be fetched if needed when you run the I wonder if this is the problem I'm having, since I'm not using "make" to compile my code but rather using the Keil IDE. Can anyone help me understand how to fetch the needed modules for the STM32H750xx MCU in a way that I can import them into my project in Keil? I'm on a PC running Windows 10 BTW. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
run this in root of tinyusb repo
|
Beta Was this translation helpful? Give feedback.
-
@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 Originally posted by @duempel in #740 (reply in thread) |
Beta Was this translation helpful? Give feedback.
@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 ofdcd_stm32_fsdev*
files. Also make sure you setCFG_TUSB_MCU
symbol toOPT_MCU_STM32H7
.Originally posted by @duempel in #740 (reply in thread)