Keil™, An ARM® Company

Discussion Forum

Keil MDK for stellaris

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Author
udit salunke
Posted
5-Jul-2008 07:35
Toolset
ARM
New! Keil MDK for stellaris

Hello friends...

Is there any one using keil for stellaris LM3S6432 !

I am new to the Stellaris ...

I am getting following error while building a project.
however my source file MAIN.C compiled with 0 errors...

Build target 'Target 1'
assembling Startup.s...
linking...
test1_togel.axf: Error: L6218E: Undefined symbol GPIODirModeSet (referred from main.o).
test1_togel.axf: Error: L6218E: Undefined symbol GPIOPadConfigSet (referred from main.o).
test1_togel.axf: Error: L6218E: Undefined symbol GPIOPinWrite (referred from main.o).
test1_togel.axf: Error: L6218E: Undefined symbol SysCtlClockSet (referred from main.o).
test1_togel.axf: Error: L6218E: Undefined symbol SysCtlPeripheralEnable (referred from main.o).
Target not created

reply any one gone through same!!!!!

Author
Andy Neil
Posted
5-Jul-2008 07:40
Toolset
ARM
New! RE: Keil MDK for stellaris

"I am new to the Stellaris ..."

Are you using the Stellaris DevKit with the supplied Keil tools & examples?
IF not, I suggest that you do!

"however my source file MAIN.C compiled with 0 errors"

That's because they are Linker errors.

It looks like you have forgotten to add the appropriate library (or libraries) to your project...

Author
mike malund
Posted
5-Jul-2008 23:58
Toolset
ARM
New! RE: Keil MDK for stellaris

You are hardly explaining what your problem is. You should give more technical details about what you are doing and what you want to achieve. Otherwise, no one is going to be able to help you out.

Author
udit salunke
Posted
6-Jul-2008 21:09
Toolset
ARM
New! RE: Keil MDK for stellaris

hello andy, thanks for reply...

I am using RDK-S2E module...
The example source code given with the module is working fine. but when i compile my project its giving above errors.

I will check for the .lib files, if any needed.

Author
Andy Neil
Posted
6-Jul-2008 22:27
Toolset
ARM
New! Still missing the point

"but when i compile (sic) my project its giving above errors."

No: you said your code is compiling fine - those errors come when you try to Link it!

The diagram here illustrates the processes of compiling and linking: http://www.keil.com/c51/devproc.asp (yes, it's for the 8051 - but the same principle applies to any toolchain)

You need to look at the complete example Projects - not just the source code!

Author
udit salunke
Posted
7-Jul-2008 01:31
Toolset
ARM
New! RE: Still missing the point

Yes, andy...its working now! after adding DriverLib.lib
file.

thanks for your help.

udit

Next Thread | Thread List | Previous Thread Start a Thread | Settings