SBSFU project structure and setup?
Hi,
My question is about project structure.
To implement SBSFU what is the best or correct approach if I have a project that I would like to flash to a target incorporating SBSFU?
Import four project folders (SBSFU, SECoreBin, UserApp and MyProject) into a workspace in SMM32CubeIDE / Eclipse, compile individually to confirm clean builds then copy the source and header files into the UserApp project folder, then alter my project code and edit the makefile to blend the projects?
Or
Setup SBSFU for serial comms only (as detailed in - MOOC - Security Part6: STM32 security ecosystem)
and use Y-modem to flash MyProject.bin to the target (having signed MyProject.bin) using external tools.
Also
In the tutorial, batch scripts are used for post build processing which fail to run if the project folder setup is incorrect and requires a lot of editing. Is it best to start with the SBSFU folder structure and import MyProject into the “2_Images�? folder (presuming a 2 image bootloader is required)?
Any help/advice would be really appreciated.
Thanks
