2021-10-10 07:05 PM
I am working through the Security MOOC and in section 6, they show how to build the NUCLEO-L476RG example project on Windows. Their procedure does not work for me on MacOS Big Sur.
The most pressing problem is that when I try to build SECoreBin, I get this error:
I haven't been able to figure out how to resolve this problem. Does anyone know how to get the project to build?
Besides this problem I have several lesser issues:
Thanks for the help!
Clark
2021-10-10 11:56 PM
Hello Clark,
MacOS is based on Unix. As opposite to windows you have execution rights on files.
Here the error you get means that prebuild.sh has no right to be executed.
So, in order to make things work you need to give this execution right.
To do this, and to address also other files that need this right I would recommend using this command:
in directory:
Projects\NUCLEO-L476RG\Applications\2_Images\2_Images_SECoreBin\SW4STM32\
type:
chmod +x *.sh
This should solve your issue ... if you have installed python 3 and imported modules as explained in
Middlewares\ST\STM32_Secure_Engine\Utilities\KeysAndImages\readme.txt
Best regards
Jocelyn
2021-10-15 07:02 AM
2021-10-20 12:56 AM
Hello Clark,
The base folder you are while building the application is usually the debug folder.
../.. in the parameter means the folder where to find the se_key.s for instance. So, no need to change this.
Best regards
Jocelyn