CubeIDE issue with G473 and USB Device CDC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-07 5:49 AM
Hello,
I've found an issue in STM32CubeIDE1.17.0.
When creating a project with USB Device used as a CDC Class and FreeRTOS an include is missing in app_freertos.c:
#include "usb_device.h"
The project runs properly, but a warning is issued at compile time:
implicit declaration of function 'MX_USB_Device_Init' [-Wimplicit-function-declaration] app_freertos.c /STM32G473CCU_FAN_CONTROLLER/Core/Src line 117 C/C++ Problem
As far as I remember, this issue was present in previous versions of STM32CubeIDE.
On the other side I don't remember having encountered this issue when using USB Host MSC class with FreeRTOS in projects targetting the STM32F429
Solved! Go to Solution.
- Labels:
-
Bug-report
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-12 6:34 AM
Hi @zeboss49
Thank you for the clarification! An internal ticket is submitted 198619 to dedicated team to add the missing include.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-09 1:13 AM
Hi @zeboss49
I couldn't reproduce on my end. Would you attach IOC file ?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-09 4:55 AM
Hello,
please,find as attachments both the ioc file and the generated app_freertos.c file.
The missing include is added in the user code section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-12 6:34 AM
Hi @zeboss49
Thank you for the clarification! An internal ticket is submitted 198619 to dedicated team to add the missing include.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-15 5:19 AM
Hello,
I'm sorry for the late accept as solution.
I missed your answer.
