CodeSourcery, DriverLib and first steps
Hello to all,
I've just bought the EK-LM3S6965 evaluation board. I installed the included software and I'm able to create, compile and debug source code.
I still have some questions. I searched the forum but I didn't find the answers I need.
1) I can download to the micro the executable file with LM Flash Programmer utility. Could it be done also from Eclipse?
2) I'm a bit confused about GCC and CodeSourcery... When I read the pdf guides I have to follow instructions related to GCC or CodeSourcery? I ask this because sometimes it isn't so obvious.
Example: the Quick Start Guide of DriverLib states:
2.4 Building with CodeSourcery Sourcery G++ The peripheral driver library and each example application can be built utilizing the CodeSourcery Common Startup Code Sequence (CS3). By setting the COMPILER environment variable to “sourcerygxx”, CS3 will be used to build the application. The advantage of using CS3 is the ability to easily use the C library provided by CodeSourcery for things such as printf().
But I can't see any COMPILER environment variable in the Eclipse configuration. Should I add it?
3) I can't compile DriverLib examples. I noticed they uses relative paths to include header files, but if I follow the start guide - that is create a new project and import the source file - these will be copied in my folder. Hence, the other included files won't be longer found. Furthermore, I have to add the DriverLib root folder to the project include paths.
How to compile and then use driverlib library in my own projects?
4) I'm going to buy the Personal Edition of CodeSourcery G++: which are in detail the missing libraries available only in the Professional Edition?
Thank in advance for your answers to my many questions. I apologize for my poor English
Marco
login or register to reply
|