BUG: STM32CubeMx mx-generated.cmake Errors in TrustZone Project
I have a few errors with the generated output of the mx-generated.cmake files on TrustZone projects using the CMake toolchain.
First off, STM32CubeMx puts the startup assembly file into the `Secure/startup` and `NonSecure/startup` folders. The mx-generated.cmake file capitalizes `Startup` though, so CMake won't find the file on some systems:
./Core/Startup/startup_stm32u585xx.s

My other issue is that if you include the STM32_USBPD_Library, it doesn't have the correct relative path for any files in the `Middlewares/ST/STM32_USBPD_Library/Core` folders. It has a `.` instead of `..` in the include directories, sources, and linked directories. What's weird is that all the other files in the libraries are fine. Here are some screenshots of these errors:


I'm testing on an STM32U585VIT6Q.
