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 01: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
2025-01-17 03: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 06: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