Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: AT91SAM3U-EK sample code and Eclipse CDT
PostPosted: Mon Jul 26, 2010 2:54 am 
Offline

Joined: Sat Feb 13, 2010 1:05 am
Posts: 6
I am trying to compile the sample code for the AT91SAM3U-EK using Eclipse and the CDT. The sample code comes in a zip file with about 25 different projects. The file structure of each project is roughly the same. You have the project folder which contains at91lib, a second project folder (which contains obj, bin, main.c and Makefile), external_libs, and resources.

I am able to get it to compile but only by moving Makefile into the top project folder and editing lines like
Code:
# AT91 library directory
AT91LIB = ../at91lib

# External library
EXT_LIBS= ../external_libs

to be
Code:
# AT91 library directory
AT91LIB = ./at91lib

# External library
EXT_LIBS= ./external_libs

How can I arrange things such that I only have 1 external_libs and 1 at91lib and I can leave the Makefile where it is at without editing it? I can't believe that this is complicated but I cannot figure it out after several hours of searching.


Top
 Profile  
 
 Post subject: Re: AT91SAM3U-EK sample code and Eclipse CDT
PostPosted: Mon Aug 02, 2010 10:26 pm 
Offline

Joined: Sat Feb 13, 2010 1:05 am
Posts: 6
Does anyone even use this forum? How about using the AT91SAM3U-EK with Windows 7?


Top
 Profile  
 
 Post subject: Re: AT91SAM3U-EK sample code and Eclipse CDT
PostPosted: Wed Aug 11, 2010 1:09 pm 
Offline

Joined: Fri Feb 05, 2010 8:49 am
Posts: 10
What project are you trying to compile?
I doubt many people are using Eclipse as it is a pain to set up IMO. Most people probably use IAR or some other Windows-based IDE.

I can't find any reference to 'at91lib' or 'AT91LIB' in any IAR project files... There is no 'Makefile' :(

Sorry I can't be of more help.


Top
 Profile  
 
 Post subject: Re: AT91SAM3U-EK sample code and Eclipse CDT
PostPosted: Wed Aug 11, 2010 4:30 pm 
Offline

Joined: Thu Jul 08, 2010 9:32 am
Posts: 5
For AT91SAM3U development, I recommend you try Atollic TrueSTUDIO/AT91SAM, which is a well integrated Eclipse based development tool of commercial quality for AT91SAM3U development.

http://www.atollic.com/index.php/truestudio
http://www.atollic.com/index.php/truest ... gets/atmel
http://www.atollic.com/index.php/videotutorials

/Magnus


Top
 Profile  
 
 Post subject: Re: AT91SAM3U-EK sample code and Eclipse CDT
PostPosted: Mon Sep 13, 2010 2:41 am 
Offline

Joined: Mon Sep 06, 2010 3:23 am
Posts: 2
There is a kind of IDE named CoIDE, devolped based on Eclipse CDT. Importantly, it supports AT91SAM3U series. As far as I know, you want to make the sample codes run. After selecting this tool, this work is not that difficult. All you have to do is to rewrite the 'build.xml'. And this step, you could refer to the component project already supplied by CoIDE. More Information about http://coocox.org/CooCox_CoIDE.htm


Top
 Profile  
 
 Post subject: Re: AT91SAM3U-EK sample code and Eclipse CDT
PostPosted: Sun May 01, 2011 4:40 pm 
Offline

Joined: Tue Apr 12, 2011 8:49 am
Posts: 5
I just search the coocox website and found they have released new version of CoIDE, support new adapters such as NGX, KT-link, here is the update info:
CooCox CoIDE V1.2.4 4/29/2011

[CooCox CoIDE-Improved]
Added: the function that CoIDE will use C syntax parse tree to analysis the example files when adding an example to the project, in order to improve the accuracy.
Added: supports new adapters: NGX, PicoJTAG and KT-Link.
Corrected: the bug that the path of CoIDE workspace can’t be set by users.
Corrected: the bug that CoIDE can’t start after closing CoIDE when canceling several help documents that CoIDE is generating.
Corrected: the bug that some chips of ST will not be shown in some PCs.
Corrected: the bug that users can not download or debug some chips of TI.
Corrected: the bug that a part of RAM address of SAM3U and LPC17xx series cannot be read and written.

You can view www.coocox.org for more information.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: