2023-03-09 09:38 PM
Created a new project with v6.8 and reproduced the issue
Steps:
1.cubeMX create new STM32F334 project and generate code.
(Project-application structure-advanced
Project-IDE-MDK-v5.32
Code Generator- copy only the necessary library files
Code Generator- Delete previously gernerated files)
2.Create a Middlewares folder (/project folder/Middlewares), copy some folders in this folder (/project folder/Middlewares/mymiddleware).
3.Generate code again, Middlewares folder is deleted.
os:Win10
jre:IBM Semeru jre 11.0.18.10
Solved! Go to Solution.
2023-03-10 05:32 AM
Hello @Zack
Thank you for your contributions and for your detailed explanations,
I confirm the issue on my side, it has been reported to STM32CubeMX development team .
Internal ticket number: 147368(This is an internal tracking number and is not accessible or usable by customers).
I will keep you posted with updates.
Thanks,
Ghofrane
2023-03-10 05:32 AM
Hello @Zack
Thank you for your contributions and for your detailed explanations,
I confirm the issue on my side, it has been reported to STM32CubeMX development team .
Internal ticket number: 147368(This is an internal tracking number and is not accessible or usable by customers).
I will keep you posted with updates.
Thanks,
Ghofrane
2023-03-10 06:52 AM
I discover the same thing on STM32CubeIDE 1.12.0 (windows version) with Touchgfx 4.21:
Everytime I generate code by configurator on STMCubeIDE, thisone delete the "Middlewares" folder from my project.
In my case, I must re-generate one more time the Code by Touchgfx.
2023-04-03 03:26 PM
What is the workaround to get the Middlewares back that I need to compile my project in STMCubeIDE?
2023-05-03 01:41 AM
The Bug also exists in STM32CubeMX 6.8.1 and STM32CubeIDE 1.12.1.
I found this clumsy workarround for me:
If I have to change the configuration in the *.ioc-file I rename the "Middlewares"-folder without updating the references to "Middleware" for example. Then I change the configuration and save it. After everything was updated I change the folder name back to "Middlewares".
2023-05-03 01:44 AM
Hello @JensH
Thank you for having reported.
I assume this is the exact same issue already reported to the development team and tracked by the Ticket 151040 and that will be fixed as soon as possible.
Thx
Ghofrane
2024-09-05 07:30 AM
@Ghofrane GSOURI Can you please provide a status update for these internal tickets (147368 & 151040)? We are still experiencing this problem with the latest version:
STM32CubeIDE v1.16.0 (Build: 21983_20240628_1741 (UTC))
STM32CubeMX v6.12.0-RC9 (Build: 20240628-1431 (UTC))