Skip to main content
Associate III
April 30, 2024
Solved

How to use NanoEdge AI-generated files in keil

  • April 30, 2024
  • 1 reply
  • 1677 views

Can NanoEdge AI only generate.a static library? If so, how do I use it in keil? This is because keil does not use GCC but ARMCC.

Best answer by Alpha_Lee

I know how to compile.a file with keil.I checked fshort-wchar and it worked.

 

Alpha_Lee_0-1714959988491.png

 

But I ran into a new problem.No matter what data I entered, the similarity score was always 0.I checked the return value of this function, neai_anomalydetection_learn(float data_input[]), which starts with nine iterations of learning followed by done.My number of iterations is 50.

1 reply

Alpha_LeeAuthorBest answer
Associate III
May 6, 2024

I know how to compile.a file with keil.I checked fshort-wchar and it worked.

 

Alpha_Lee_0-1714959988491.png

 

But I ran into a new problem.No matter what data I entered, the similarity score was always 0.I checked the return value of this function, neai_anomalydetection_learn(float data_input[]), which starts with nine iterations of learning followed by done.My number of iterations is 50.

Alpha_LeeAuthor
Associate III
May 6, 2024

I found the problem because I had too little training data