2021-12-14 09:52 PM
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])
2021-12-21 05:40 AM
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