2025-01-16 12:38 PM
STM32CubeMX 6.13.0
MCU: STM32H747
Peripheral: USB_OTG_FS
USB Class: CDC
Core: M4
FW: 1.12.1
CMake generator selected
The generated file "mx-generated.cmake" in the CM4 folder only includes the USB Class source file, but not the USB Core source files.:
../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd.c
../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd_ex.c
../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_usb.c
../Common/Src/system_stm32h7xx_dualcore_boot_cm4_cm7.c
../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c
./Core/Src/sysmem.c
./Core/Src/syscalls.c
./Core/Startup/startup_stm32h747xx_CM4.s
IOC file is attached.
2025-01-17 1:35 AM
Hello @peterdonchev
First let me thank you for posting.
I am currently verifying this internally and will keep you updated as soon as possible.
THX
Ghofrane
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.
2025-01-17 3:10 AM
Hi,
The following files must be included by the cmake generator in the mx-generated.cmake, but they are not:
2025-01-17 6:13 AM
Hello @peterdonchev
Your contribution is much appreciated.
A ticket has been escalated to the development team in order to fix this issue . Internal ticket number 200674
I'll keep you informed about any updates.
THX
Ghofrane
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.
2025-05-20 6:24 AM
Hello @peterdonchev
The issue is fixed in the latest release of the STM32CubeMX (6.14.0).
KR,
Semer.
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.