2021-06-07 03:01 PM
[9568] Failed to execute script prepareimage
Traceback (most recent call last):
File "prepareimage.py", line 861, in <module>
File "prepareimage.py", line 858, in args
File "prepareimage.py", line 124, in do_encrypt
File "keys.py", line 262, in load
FileNotFoundError: [Errno 2] No such file or directory: '../../../../2_Images_SECoreBin/SW4STM32/../Binary/OEM_KEY_COMPANY1_key_AES_CBC.bin'
../../../../2_Images_SECoreBin/SW4STM32/postbuild.sh: line 70: prepareimage.exe: No error
prepareimage.exe enc -k ../../../../2_Images_SECoreBin/SW4STM32/../Binary/OEM_KEY_COMPANY1_key_AES_CBC.bin -i ../../../../2_Images_SECoreBin/SW4STM32/../Binary/iv.bin ../../UserApp.bin ../../../Binary/UserApp.sfu : failed
make[1]: *** [makefile:97: post-build] Error 1
make: *** [makefile:63: all] Error 2
"make -j8 all" terminated with exit code 2. Build might be incomplete.
Im not sure what the issue is- I haven't modified any of the code- just tried to rebuild the project using STM32CubeIDE
2021-06-07 11:56 PM
Hello @APara.5 ,
looks like you placed the project too deep into the directory system.
Try moving it to a directory with shorter path, closer to the root directory, like for example "C:\SBSFU\".
Let me know if that helped
Rgds,
Jarda
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2021-06-08 10:10 AM
That worked, thank you!