cancel
Showing results for 
Search instead for 
Did you mean: 

Can I stop STM32CubeIDE from automatically building the Secure project when I build the Non‑Secure one

Snaku
Associate III

Hi,
I find even I disable Non-Secure Project's "Project References" to the secure one, the secure project still automatically build when I build the Non‑Secure one.
And I find the "disable Project References" setting is work only when the 1st time build the Non-Secure Project after STM32CubeIDE open. After the 1st time build, STM32CubeIDE ignores the 'disable' setting.

Snaku.

1 REPLY 1
thismarkjohnson
Associate II

That’s a known STM32CubeIDE/Eclipse behavior with linked secure–non-secure projects. The IDE rebuilds dependent projects after the first build regardless of the reference toggle. A workaround is to disable “Build Automatically” and build projects manually, or fully decouple the secure project into a separate workspace.