2025-12-12 7:33 AM
Hello,
I'm slightly confused about the options in the STM32CUBE VSCode extension Project setup window.
From the left dropdown i can select the Project, where i have options x, x_AppliSecure, x_AppliNonSecure and x_FSBL, for each of the left options, i can select Secure, Secure-only and Non-secure from the right dropdown for the Security model. I haven't found documentation which describes what do these options mean.
For example, if i select x_AppliSecure from the left dropdown and Non-secure from the right drop down, which sounds like a conflict, what happens? In which scenario should i choose which of the 12 available Project-Security model combinations? Also, I assume that Secure means Secure + Non-secure, as Secure-only must mean secure only and Non-secure probably means Non-secure only?
In the same window, multiple rows can be added to the list from the + button in the bottom right, what do the rows represent?
Thanks!
Solved! Go to Solution.
2025-12-16 4:16 AM
This GUI is relying on you and your application knowledge. Secure / Non Secure is about your device context to use. Your N6 device is TrustZone capable.
Having a project named a way or another cannot replace your knowledge so STM32Cube is waiting for you and your capability to map each project of your app to proper context.
Such said most probably you have to assign x_AppliSecure to a secure context and x_AppliNonSecure to a non secure one. FSB acting as secure boot is part of secure context too.
Secure only is specific device setup having your application running only secure context ... up to you.
2025-12-16 4:16 AM
This GUI is relying on you and your application knowledge. Secure / Non Secure is about your device context to use. Your N6 device is TrustZone capable.
Having a project named a way or another cannot replace your knowledge so STM32Cube is waiting for you and your capability to map each project of your app to proper context.
Such said most probably you have to assign x_AppliSecure to a secure context and x_AppliNonSecure to a non secure one. FSB acting as secure boot is part of secure context too.
Secure only is specific device setup having your application running only secure context ... up to you.
2025-12-16 4:28 AM