2024-12-07 05: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
2024-12-09 01: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.
2024-12-09 04:55 AM