How to build SBSFU when your company IT tools remove the exe files installed in the package
As well as for TFM case, some IT tools remove exe files.
The SBSFU is using:
c:\STM32SecuWS\L4\STM32CubeExpansion_SBSFU_V2.3.0\Middlewares\ST\STM32_Secure_Engine\Utilities\KeysAndImages\win\prepareimage\prepareimage.exe
If this file was removed, please rename win directory to another one.
Then install python 3.7
go to :
c:\STM32SecuWS\L4\STM32CubeExpansion_SBSFU_V2.3.0\Middlewares\ST\STM32_Secure_Engine\Utilities\KeysAndImages\
and launch:
pip3 install -r requirements.txt
The file requirements.txt already exists and contains:
pycryptodome
pycryptodomex
ecdsa
pyelftools
numpy
Internet access is needed to process pip command.
Nothing else is needed. During build process the python script will automatically be selected.
Best regards
Jocelyn
