2024-09-25 02:35 PM
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.
2024-09-25 04:00 PM - edited 2024-09-25 04:00 PM
Hello @cvanbeek
I think it is simular to an issue that i've already reported. Could you please send your .ioc file.
Best Regards.
STTwo-32
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.
2024-10-03 09:50 AM
2024-10-07 12:53 AM - edited 2024-10-07 12:54 AM
Hello @cvanbeek
Thank you so much for reporting this. For the first thing, it is already reported and escalated in this post. For the second, I've escalated to the concerned team for review and correction in the internal ticket 192980.
Best Regards.
STTwo-32
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.