Can TrustZone applications work with X-CUBE-AI?
I'm using a Nucleo-144 and have not been able to get X-CUBE-AI working in TrustZone. I'm using STM32CubeIDE and trying to add X-CUBE-AI with the software component manager (with the integrated STM32CubeMX).
Interestingly, before a recent update (so STM32CubeIDE 1.5.1, STM32L5 package version 1.3.1, and I think STM32CubeMX 6.1.1), adding X-CUBE-AI wasn't even an option in the component manager with TrustZone applications, I just tried to manually add the code but it would hang once it entered the X-CUBE-AI library (NetworkRuntime520_CM33_GCC.a). After an update (STM32Cube IDE 1.6.0, STM32L5 package version 1.4.0, and STM32CubeMX 6.2.0) it's an option in the component manager but STM32CubeMX fails to generate the code (FreeMarker template error).
Anyways, I'm just wondering if there are any known reasons why X-CUBE-AI should or shouldn't work in a TrustZone application. It's hard to tell if the component "support" in the latest version was on accident or if there's just a bug in the code generation.
