cancel
Showing results for 
Search instead for 
Did you mean: 

Error: L6218E: Undefined symbol arm_fir_init_q15 (referred from low_pass_filter.o).

jim_wei
Associate II
Posted on March 25, 2014 at 06:58

I have a low pass filter function in my project which calls q15 fir filter.  The first statement in the filter function is &sharpinclude ''arm_math.h''.  When complie the project, I received following error:

.\Obj\transmitter.axf: Error: L6218E: Undefined symbol arm_fir_init_q15 (referred from low_pass_filter.o).

Since I have included ''arm_math.h'' which defines symbol arm_fir_init_q15, why the compiler says it is undefined?

Can anyone please help explain?

Thanks!

Jim

 

#stm32
3 REPLIES 3
Amel NASRI
ST Employee
frankmeyer9
Associate II
Posted on March 25, 2014 at 10:47

An you need to add the source file containing the implementation of arm_fir_init_q15 to your project. The headerfile just makes the names known, but (usually) doesn't add anything real.

Or, alternatively, add the respective library to your project.

Posted on July 20, 2017 at 00:31

Fixes for above dead links

https://community.st.com/0D50X00009XkiVXSAZ

 

https://community.st.com/0D50X00009XkYtZSAV

 
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..