cancel
Showing results for 
Search instead for 
Did you mean: 

I found a bug using STM32CubeMX 6.4.0. It is not critical issue, i think, but uncomfortable.

CLee.7
Associate

I made NUCLEO-L552ZE-Q project with board default setting. And I changed code generator's generated files setting to use "Generate peripheral initialization as a pair of '.c/.h' files per peripheral". Then I generate STM32CubeIDE environment code.

It generated basic intialize code, but it did not add [#include "usb.h"] in main.c file, so IDE told me warning about MX_USB_PCD_Init() is not declared. (implicit declaration of function 'MX_USB_PCD_Init'; did you mean 'MX_UCPD1_Init'? [-Wimplicit-function-declaration])

1 REPLY 1
Khouloud ZEMMELI
ST Employee

Hello @CLee.7​ ,

Thank you for your post,

I have checked and I confirm the problem, issue will be fixed, thanks for raising the point to our attention :)

Khouloud