2026-02-26 8:11 AM - last edited on 2026-02-26 8:13 AM by Andrew Neil
Hi,
I'm developing an Edge AI project for a Nucleo N6. After having gernerate c code model files of my neural network and having imported (and included the paths) the necessary libraries into Middlewares (Inc, Lib and Npu) I continue to have as error "../../Middlewares/ST/AI/Npu/ll_aton_config.h:90:2: error: #error "Needed define 'LL_ATON_PLATFORM' undefined" when compiling the Appli project. I've tried to check st edge ai core documentation, but it's poorly explained about the fact on how to integrate C code generated files in a STM32CubeIDE project (or at least I haven't found any section that explains it in detail), please add further details on what precise steps to follow to integrate a model into a project.
I upload my project to replicate the error I get
2026-03-04 5:08 AM
Hi @s319189,
Did this thread help you or is this another issue?
Cannot integrate manually a generated C AI model w... - STMicroelectronics Community
Have a good day,
Julian