2026-01-27 10:04 PM
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.
2026-01-27 11:13 PM
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.