This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Undefined symbol

I can not compile a very simple PWM program on Keil
The same program is compiled on Energia
The message that I get is below:
For your information main.c is in the source file and I use C not C++.

µVision Build Log

Project:

C:\Keil\MyPojects\PortF\Led.uvproj
Project File Date: 04/24/2018

Output:

Build target 'PWithM'
assembling startup_TM4C123.s...
compiling main.c...
linking...
.\LedMain.axf: Error: L6218E: Undefined symbol GPIOPinConfigure (referred from main.o).
.\LedMain.axf: Error: L6218E: Undefined symbol GPIOPinTypePWM (referred from main.o).
.\LedMain.axf: Error: L6218E: Undefined symbol PWMGenConfigure (referred from main.o).
.\LedMain.axf: Error: L6218E: Undefined symbol PWMGenEnable (referred from main.o).
.\LedMain.axf: Error: L6218E: Undefined symbol PWMGenPeriodSet (referred from main.o).
.\LedMain.axf: Error: L6218E: Undefined symbol PWMOutputState (referred from main.o).
.\LedMain.axf: Error: L6218E: Undefined symbol PWMPulseWidthSet (referred from main.o).
.\LedMain.axf: Error: L6218E: Undefined symbol SysCtlDelay (referred from main.o).
.\LedMain.axf: Error: L6218E: Undefined symbol SysCtlPWMClockSet (referred from main.o).
.\LedMain.axf: Error: L6218E: Undefined symbol SysCtlPeripheralEnable (referred from main.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 10 error messages.
".\LedMain.axf" - 10 Error(s), 0 Warning(s).
Target not created

Parents
  • Energia is TI's Arduino-alike - isn't it?

    So I guess - like Arduino - it hides a lot of necessary detail from you. Like providing necessary libraries.

    Now you're moving to Keil, You're going to have to do all that yourself.

    You should probably look to TI for support in taking an Energia project into a "conventional" development environment.
    Perhaps they have a tool in their Code Composer Studio ... ?
    (rather like Atmel do for importing Arduino stuff into Atmel Studio).

    But you would have to ask TI about that.

Reply
  • Energia is TI's Arduino-alike - isn't it?

    So I guess - like Arduino - it hides a lot of necessary detail from you. Like providing necessary libraries.

    Now you're moving to Keil, You're going to have to do all that yourself.

    You should probably look to TI for support in taking an Energia project into a "conventional" development environment.
    Perhaps they have a tool in their Code Composer Studio ... ?
    (rather like Atmel do for importing Arduino stuff into Atmel Studio).

    But you would have to ask TI about that.

Children