I cannot compile SMAK application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-24 5:03 AM
Hello,
I installed all needed tools and software according to STM32H5_Security_Workshop_tools_installation.pdf but I cannot compile the SMAK application. This is the error message I get:
Br,
Iulia
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-27 7:24 AM
Can you check that in C:\STM32Cube_FW_H5_V1.1.1\Projects\STM32H573I-DK\ROT_Provisioning, the file env.bat contain the right paths for your tools and applications?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-27 7:46 AM
You can also try if you are using STM32CubeMX to modify the default path of STM32CubeH5 as shown in the screen shot attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-28 3:34 AM
Hello,
I had this same problem. For me the solution was to downgrade the IDE from version 1.14.0 to version 1.13.2. Then everything worked like in the instructions.
It seems to me that the problem is not a missing script.
During my investigation, I found that in "prebuild.sh", the "thispath" variable is set incorrectly. It is supposed to get the directory using "pwd" but "pwd" returns an empty string. This causes the rest of the script to fail in a strange way.
BR, Johan Blockmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-28 5:06 AM
Hello Johan,
thank you for your feedback. I confirm I observe same issue with new version 1.14.0 of STM32CubeIDE.
I will check how this can be fixed
Best regards
Jocelyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-28 5:37 AM
Hello,
here is a workaround to be able to compile the SMAK application with STM32CubeIDE 1.14.0:
1) copy postbuild.bat from EWARM directory to STM32CubeIDE directory (in SMAK_Appli)
2) Edit the configuration of SMAK project:
in Properties/C/C++ Build/Settings
Tab : Build Steps
Replace .sh by .bat for both Pre-build steps and Post-build steps command
Best regards
Jocelyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-29 12:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-29 12:08 AM
Do you confirm you have done those steps ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-29 12:31 AM
I confirm I have done these steps. I have tested opening the project both from "C:\STM32Cube_FW_H5_V1.1.1/..." and "C:\Users\username\STM32Cube\Repository\STM32Cube_FW_H5_V1.1.1..." with the same result. In both cases I have copied the postbuild.bat from EWARM directory to STM32CubeIDE directory and replaced .sh to .bat for Pre-build steps and Post-build steps in project settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-29 12:41 AM - edited ‎2023-11-29 12:46 AM
How have you install the STM32Cube_FW_H5_V1.1.1 ?
You must install this thanks CubeMX / CubeIDE as describe in the STM32H5_Security_Workshop_tools_installation.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-29 4:38 AM
I have mentioned in this thread already that I have followed the STM32H5_Security_Workshop_tools_installation.pdf and I have also attached screenshots to this thread that I have installed STM32Cube_FW_H5_V1.1.1 according to the pdf.
