hathach / tinyusb

An open source cross-platform USB stack for embedded system

Home Page:https://www.tinyusb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It can't work on STM32G0B1CBT6 with FreeRTOS. Please help.

favoritewky opened this issue · comments

Operating System

Windows 11

Board

STM32G0B1CBT6

Firmware

I make a simple project here b3ee927

What happened ?

I make a CDC Usb device but not work, I need help.
It will get

error: redundant redeclaration of 'SystemCoreClock' [-Werror=redundant-decls]
   53 |   extern uint32_t SystemCoreClock;

So, I comment this line b3ee927#r144079217

How to reproduce ?

Download the firmware but nothing happend.

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

.USBD init on controller 0, Highspeed = 0
sizeof(usbd_device_t) = 53
sizeof(dcd_event_t) = 12
sizeof(tu_fifo_t) = 20
sizeof(tu_edpt_stream_t) = 112
CDC init

Screenshots

No response

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.

@Commotari Please help me.

Please don't use issue for asking for help.