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