cancel
Showing results for 
Search instead for 
Did you mean: 

B-L4S5I-IOT01A Board, NanoEdge AI Studio : NanoEdge AI model not compile with board project.

HarishKumarSingh
Associate II

To STM,

Subject: NanoEdge AI package not compile with B-L4S5I-IOT01A Board.

Board - B-L4S5I-IOT01A Board

AI application tool - NanoEdge AI Studio

CUBEMX

IDE -  STM32CubeIDE 1.15.1

1. AI model generate from NanoEdge AI Studio for B-L4S5I-IOT01A Board. Package download for deployment.

2. CUBE mx generate code for B-L4S5I-IOT01A Board.

3. NanoEdge AI Studio package include in code.

4. Code compile for variable from header file of NanoEdge AI.

Please see image file - ModelPackInclude2Code

5. Compilation fail on function call of NanoEdge AI.

Please see image file - Cmplitn fail on edge ai fun cal

 

Please help to include deployment package to B-L4S5I-IOT01A Board code.

 

Reference :

[1] https://www.youtube.com/watch?v=yXMUv_C5FGk&t=101s
[2] https://stm32ai.st.com/nanoedge-ai/
[3] https://wiki.stmicroelectronics.cn/stm32mcu/wiki/STM32StepByStep:Step4_Sensors_usage#Using_sensors_with_B-L475E-IOT0-

1 ACCEPTED SOLUTION

Accepted Solutions
Julian E.
ST Employee

Hello,

You need to include the library path in the project settings:

  • Right click on your project > Properties
  • Then Click on C/C++ build > Settings
  • Then MCU GCC Linker > Libraries

JulianE_0-1716193133891.png

  • In Libraries (-l) click on the green + icon and type the name of the library without lib (by default the library name is libneai, so type neai)
  • Below in the Library search path (-L), add your path to the library
  • Click Apply and Close

 

Best regards,

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.

View solution in original post

4 REPLIES 4
Julian E.
ST Employee

Hello,

 

What error do you get exactly? In your screenshot you commented the code and there are only warnings.

If you can, please include your project (as a .zip for example).

 

Best regards,

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.

- Compilation fail on function call of NanoEdge AI.

Please see image file - compl fail for ai packg

 

Program  - https://drive.google.com/file/d/16dNmOCJFgMpMOzahzxTpnzNy4Ftat050/view?usp=sharing

 

 

Julian E.
ST Employee

Hello,

You need to include the library path in the project settings:

  • Right click on your project > Properties
  • Then Click on C/C++ build > Settings
  • Then MCU GCC Linker > Libraries

JulianE_0-1716193133891.png

  • In Libraries (-l) click on the green + icon and type the name of the library without lib (by default the library name is libneai, so type neai)
  • Below in the Library search path (-L), add your path to the library
  • Click Apply and Close

 

Best regards,

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.

Thank you.