Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
eaanon01
PostPosted: Jun 22, 2007 - 10:38 AM
Posting Freak


Joined: Aug 22, 2002
Posts: 1586
Location: Arendal Norway

How ca I remove these includes when I'am woking in a windows version? Tese includes seems to appear for no reson?!?

Help? Smile Shocked

Edit:
Code:
Invalid project path: Include path not found (\usr\include).
Invalid project path: Include path not found (\usr\include\w32api).
Invalid project path: Include path not found (\usr\lib\gcc\i686-pc-cygwin\3.4.4\include).
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
joern2204
PostPosted: Jul 24, 2007 - 06:10 PM
Newbie


Joined: Jul 16, 2007
Posts: 7


Hi eaanon01,

I've the same problem running AVR32 1.0 with the latest updates, toolchain 1.2.5 and library 1.0.0 trying to understand the hello world example.
(I also used the library 1.1.0)
I cannot find where to change the path information
I can add a directory at properties c/c++ build include paths and add "..\..\..\..\Cygwin\usr\include" Then I have a new include path in the project.

But I don't know where to change the environment variables.
changing the environment at properties c/c++ build environment also doesn't help.

Any ideas?

cheers

Joern
 
 View user's profile Send private message  
Reply with quote Back to top
natanel
PostPosted: Jul 24, 2007 - 06:49 PM
Hangaround


Joined: Jul 05, 2007
Posts: 179


if I understand you correctly

I was able to add environment variable "BOARD"

by going to
project->properties->C/C++ build->Symbols->add

and adding
"BOARD=AVK1100"

hope I helped
 
 View user's profile Send private message  
Reply with quote Back to top
joern2204
PostPosted: Jul 30, 2007 - 05:25 PM
Newbie


Joined: Jul 16, 2007
Posts: 7


Dear natanel,

thanks for your poste. But after adding BOARD=AVK1100 I've got an "make.exe Application Error":
The instruction at "0x6100365f" referenced at "0x0062da90". The memery could not be "written".

check environment fails.

Any ideas what went wrong?

Regards

Joern
 
 View user's profile Send private message  
Reply with quote Back to top
torkildr
PostPosted: Jul 30, 2007 - 10:49 PM
Hangaround


Joined: Aug 07, 2006
Posts: 300
Location: Trondheim, Norway

eaanon01 wrote:
How ca I remove these includes when I'am woking in a windows version? Tese includes seems to appear for no reson?!?

Help? Smile Shocked


These includes are generated by CDT which for some reason does not respect the toolchain compiler/linker command and retrieves the values from whatever gcc you have first in the path. The warning can be safeley ignored as they do no harm. We're looking into the matter.
 
 View user's profile Send private message  
Reply with quote Back to top
eaanon01
PostPosted: Jul 31, 2007 - 07:26 AM
Posting Freak


Joined: Aug 22, 2002
Posts: 1586
Location: Arendal Norway

The most anoying part with this error is that you can not take build to times in a row because then you get:
Code:
*** multiple target patterns.  Stop.   *proj*/Debug   C*.d line 1  1185860210054 208

(I have inserted some *)

That means that you have to recompile the whole project each time...... and that can take some time.....

EDIT:

I found this thread but in avr32 studio this menu does not appear...
http://dev.eclipse.org/newslists/news.e ... 08379.html
https://bugs.eclipse.org/bugs/show_bug.cgi?id=156187
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
joern2204
PostPosted: Jul 31, 2007 - 05:23 PM
Newbie


Joined: Jul 16, 2007
Posts: 7


ok torkildr,

I will ignore the warning.

By the way, today the IDE was operative again, but a
gcc.exe.stackdump is new in may project.

Exception: STATUS_ACCESS_VIOLATION at eip=00000000
eax=00000001 ebx=18C7CDF0 ecx=61105500 edx=FFFFFFFF esi=61104F30 edi=18C7CE64
ebp=00000000 esp=18C7CDBC program=C:\Cygwin\bin\gcc.exe, pid 948, thread proc_waiter
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame Function Args
End of stack trace
1284936483 [unknown (0x548)] gcc 948 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1284972214 [unknown (0x548)] gcc 948 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)

Best Regards

Joern
 
 View user's profile Send private message  
Reply with quote Back to top
joern2204
PostPosted: Aug 06, 2007 - 02:40 PM
Newbie


Joined: Jul 16, 2007
Posts: 7


there is a typo in the tread
please use
BOARD=EVK1100
instead of
BOARD=AVK1100
 
 View user's profile Send private message  
Reply with quote Back to top
philjama
PostPosted: Feb 29, 2008 - 11:55 PM
Newbie


Joined: Feb 29, 2008
Posts: 4


Guys,

I'm having a problem that might be related.

I am trying to run the blinky example (loading using batch isp). When I load the binary that I compiled, LEDs 0, 1 and 3 light up, and 2 is off (i.e. it doesn't work).

When I load the gpio example from AT32UC3B-1.1.1 drivers, it works fine.

This leads me to believe it is my compiler that is broken.

Please help!

-P
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits