<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/1046" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-12-14T20:03:47+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/1046</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-12-14T20:03:47+02:00</updated>

		<published>2007-12-14T20:03:47+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1046&amp;p=3498#p3498</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1046&amp;p=3498#p3498"/>
		<title type="html"><![CDATA[Compiler AVR Studio 4]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1046&amp;p=3498#p3498"><![CDATA[
I am trying to compile power switch using the AVR Studio.....but i am receaving some errors...<br /> <br /><br />rm -rf usbteste.o  usbteste.elf dep/* usbteste.hex usbteste.eep<br />Build succeeded with 0 Warnings...<br />avr-gcc.exe  -mmcu=at86rf401 -Wall -gdwarf-2 -O0 -MD -MP -MT usbteste.o -MF dep/usbteste.o.d  -c  ../usbteste.c<br />In file included from ../usbteste.c:18:<br />c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning &quot;Compiler optimizations disabled; functions from &lt;util/delay.h&gt; won't work as designed&quot;<br />../usbteste.c: In function 'outputByte':<br />../usbteste.c:41: error: 'PORTB' undeclared (first use in this function)<br />../usbteste.c:41: error: (Each undeclared identifier is reported only once<br />../usbteste.c:41: error: for each function it appears in.)<br />../usbteste.c:42: error: 'PORTD' undeclared (first use in this function)<br />../usbteste.c: In function 'eepromWrite':<br />../usbteste.c:47: error: 'EECR' undeclared (first use in this function)<br />../usbteste.c:47: error: 'EEWE' undeclared (first use in this function)<br />../usbteste.c:48: error: 'EEARL' undeclared (first use in this function)<br />../usbteste.c:49: error: 'EEDR' undeclared (first use in this function)<br />../usbteste.c:51: error: 'EEMWE' undeclared (first use in this function)<br />../usbteste.c: In function 'eepromRead':<br />../usbteste.c:58: error: 'EECR' undeclared (first use in this function)<br />../usbteste.c:58: error: 'EEWE' undeclared (first use in this function)<br />../usbteste.c:59: error: 'EEARL' undeclared (first use in this function)<br />../usbteste.c:60: error: 'EERE' undeclared (first use in this function)<br />../usbteste.c:61: error: 'EEDR' undeclared (first use in this function)<br />../usbteste.c:62: warning: control reaches end of non-void function<br />../usbteste.c: In function 'main':<br />../usbteste.c:155: error: 'DDRD' undeclared (first use in this function)<br />../usbteste.c:156: error: 'PORTD' undeclared (first use in this function)<br />../usbteste.c:157: error: 'PORTB' undeclared (first use in this function)<br />../usbteste.c:163: error: 'DDRB' undeclared (first use in this function)<br />../usbteste.c:171: error: 'TCCR0' undeclared (first use in this function)<br />../usbteste.c:177: error: 'TIFR' undeclared (first use in this function)<br />../usbteste.c:177: error: 'TOV0' undeclared (first use in this function)<br />make: *** [usbteste.o] Error 1<br />Build failed with 21 errors and 2 warnings...<p>Statistics: Posted by Guest — Fri Dec 14, 2007 8:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
