This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

unable to use fir filter function of cmsis

.\I2C.axf: Error: L6218E: Undefined symbol arm_fir_init_f32 (referred from i2ctestmain.o).

above error comes after build.

already checked the arm_math.h library and also included it in program.Is their any problem of IDE ? I am using Keil.

any suggestions please.

  • Hello Akshay

    Have you included the precompiled library for CMSIS during the link phase?

    Regards
    Amit
  • Hello Akshay,

    Can you share the linker logs?

    Regards
    Amit
  • <html>
    <body>
    <pre>
    <h1>µVision Build Log</h1>
    <h2>Project:</h2>
    C:\Keil\Labware\I2C_4C123 - Copy\I2C.uvproj
    Project File Date: 03/26/2015

    <h2>Output:</h2>
    Rebuild target 'I2C'
    assembling startup.s...
    compiling I2CTestMain.c...
    UART.h(120): warning: #1-D: last line of file ends without a newline
    #endif // __UART_H__
    I2CTestMain.c(95): warning: #1-D: last line of file ends without a newline
    }
    I2CTestMain.c: 2 warnings, 0 errors
    compiling I2C0.c...
    compiling PLL.c...
    compiling UART.c...
    UART.h(120): warning: #1-D: last line of file ends without a newline
    #endif // __UART_H__
    UART.c: 1 warning, 0 errors
    linking...
    .\I2C.axf: Error: L6218E: Undefined symbol arm_fir_f32 (referred from i2ctestmain.o).
    .\I2C.axf: Error: L6218E: Undefined symbol arm_fir_init_f32 (referred from i2ctestmain.o).
    Not enough information to list image symbols.
    Finished: 1 information, 0 warning and 2 error messages.
    ".\I2C.axf" - 2 Error(s), 3 Warning(s).
    Target not created

    this is what you asked!!! right?

  • Hello Akshay,

    OK, so Keil does not give the log file with options. I wanted to check what have you set as options for linker stage. Also is this only these two API's or is it true for any other CMSIS DSP API? The last statement is from ensuring that the validity of the precompiled CMSIS driver files.

    Regards
    Amit
  • I think there is problem with included DSP libraries in keil.. 

    Except core libraries other API's themselves include arm_math.h library...also there are certain undefined things in core libraries for eg. undefined symbol "IRQn_Type" when I include <core_sc000.h> in my program...  

    So I am going to re install the software & will convey you..

    thanks for everything.