Skip to main content
Associate III
Feb 26, 2026 4:11 PM UTC
Question

ll_aton_config.h: #error "Needed define 'LL_ATON_PLATFORM' undefined"

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

1 reply

Julian E.
ST Technical Moderator
Mar 4, 2026 1:08 PM UTC

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

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.