Skip to main content
AE104
Associate III
September 16, 2018
Question

L6218E: Undefined symbol Error

  • September 16, 2018
  • 2 replies
  • 2334 views

Hello,

During SPI programming , I got this error,

DAC and Analog Switch Control 9 14 18 v1\DAC and Analog Switch Control 9 14 18 v1.axf: Error: L6218E: Undefined symbol SystemClock_Config (referred from main.o).

DAC and Analog Switch Control 9 14 18 v1\DAC and Analog Switch Control 9 14 18 v1.axf: Error: L6218E: Undefined symbol _Error_Handler (referred from spi.o).

Is there anyone have an idea about solving the problem?

Thank you

    2 replies

    Tesla DeLorean
    Guru
    September 16, 2018

    >>Is there anyone have an idea about solving the problem?

    Make sure you project actually contains code for these functions, and they are correctly named?

    Functions that are "static" will not be visible to different files.

    Include files and function prototypes provide calling details, not body code for the functions.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    AE104
    AE104Author
    Associate III
    September 17, 2018

    Thank you, I solved the problem with creating new project.

    wojtekdera
    Associate
    January 11, 2024

    new project helped