2021-11-12 08:17 AM
16:11:04 **** Build of configuration Debug for project 16174prog07_2_Images_SECoreBin ****
make all
"../../prebuild.sh" "../.."
../../prebuild.sh: cd: line 12: can't cd to C:/Users/michael/STM32CubeIDE/Integ/Docs: No such file or directory
prepareimage with windows executeable
C:/Users/michael/STM32CubeIDE/Integ/Docs & Source Code June 2021/16174prog07/source/externals/alc-iot/middlewares/third_party/STM32_Secure_Engine/Utilities/KeysAndImages/win/prepareimage/prepareimage.exe conf ../../../Inc/se_crypto_config.h
../../prebuild.sh: line 1: C:/Users/michael/STM32CubeIDE/Integ/Docs: not found
selected
bash: SECBOOT_AES128_GCM_AES128_GCM_AES128_GCM: unknown operand
bash: SECBOOT_ECCDSA_WITH_AES128_CBC_SHA256: unknown operand
bash: SECBOOT_ECCDSA_WITHOUT_ENCRYPT_SHA256: unknown operand
recopy postbuild.sh script with .sh script
cat: can't open '../../.sh': No such file or directory
cat ../../.sh : failed
make[1]: *** [makefile:93: pre-build] Error 1
make: *** [makefile:61: all] Error 2
"make all" terminated with exit code 2. Build might be incomplete.
16:11:05 Build Failed. 2 errors, 0 warnings. (took 836ms)
2021-11-12 10:07 AM
You dont write what you import , but from error log your import is total miss. Remove this project from workspace and delete folder.
Recomm is first create project with wizard and learn from it. Maybe later you import project properly.
2021-11-15 02:43 AM
2021-11-15 05:15 AM
hello
it's always easier to help when providing details: what software are you using ? which version ? for what STM32 microcontroller ? on what platform ? (PC, Windows/Linux, Mac ?), etc.
from the log I presume you are trying to use SBSFU Cube expansion package on a Windows PC with STM32CubeIDE.
Which version of SBSFU are you using ? which STM32CubeIDE version ?
SBSFU uses pre-build and post-build shell scripts. They can be shell scripts or DOS batch. The scripts may have trouble depending on your config (which OS you are running your IDE, which IDE, ...)
it seems the SECoreBin pre-build script doesn't like the spaces in the name of the directory you are running the project.
try to move the project to a directory without spaces. Also, on Windows PC it's better to install the software close to root directory ( C:\ ). There's a limitation in number of characters for the project path (256).
2021-11-15 08:58 AM
Hi Mike , when on other PC project works, then zip folder move and unzip in your pc in folder same as PC1 or folder without spaces and characters as &
Best is for example c:\projects\nameyourproject
After unzip locate .project file and double click.
2021-11-15 09:11 AM
2021-11-15 09:15 AM