2023-03-23 12:28 PM
2023-04-27 08:55 AM
I've seen this behavior with a recent version of STM32CubeMX.
The issue is fixed in X-CUBE-AI 8.1 that will be out in June.
In the mean time a workaround is to remove the .mxproject file before to generate again
Regards
Daniel
2023-03-23 12:32 PM
Hello, I downloaded an project from https://stm32ai-cs.st.com/home
Yamnet for STM32U57 board
When I open the .ioc file, and generate code in CubeMX, everything works fine.
I get a working project. Which I can build and run in CubeIDE.
My problem happens when I update my .ioc file, and press generate code (doesn't matter whether in CubeMX or CubeIDE). After the code generation the "Middleware" folder gets removed. And without the Middleware folder, my project will not compile anymore.
So the current solution is to only configure my pins etc at the start.
Can you help me?
2023-04-27 08:55 AM
I've seen this behavior with a recent version of STM32CubeMX.
The issue is fixed in X-CUBE-AI 8.1 that will be out in June.
In the mean time a workaround is to remove the .mxproject file before to generate again
Regards
Daniel
2023-05-16 09:05 AM
There is also an option in STM32CubeMX to not remove files:
In STM32CubeMX UI you can uncheck the “Delete previously generated files when not re-generated�? check box (in Project Manager -> Code Generator)
Regards
Daniel
2024-01-09 10:56 AM
I am using `X-CUBE-AI 8.1` and I am having this issue.