<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=4&amp;t=7563&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2014-06-27T06:02:22+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=7563&amp;mode</id>
<entry>
<author><name><![CDATA[kicajek]]></name></author>
<updated>2014-06-27T06:02:22+01:00</updated>
<published>2014-06-27T06:02:22+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85861#p85861</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85861#p85861"/>
<title type="html"><![CDATA[Re: Kompilowanie gotowego projektu w eclipse]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85861#p85861"><![CDATA[
Witam<br /><div class="quotetitle">qwertyasdfgh napisał(a):</div><div class="quotecontent"><br />jednak gdy wybiorę jako target Atmega8 pojawia się takie coś:<br />Kod:c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: dwa.elf section .text will not fit in region textc:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: region text overflowed by 140 bytesmake: *** [dwa.elf] Error 1<br /></div><br />... a nie za dużo chcesz wpompować do biednej ATmegi8 ? <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> <br /><div class="quotetitle">kicajek napisał(a):</div><div class="quotecontent"><br />...bo podstawiłem Mega16.<br /></div><br />Pozdr.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=826">kicajek</a> — 27 cze 2014, o 06:02</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[qwertyasdfgh]]></name></author>
<updated>2014-06-26T16:34:56+01:00</updated>
<published>2014-06-26T16:34:56+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85822#p85822</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85822#p85822"/>
<title type="html"><![CDATA[Re: Kompilowanie gotowego projektu w eclipse]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85822#p85822"><![CDATA[
Dzięki za odpowiedź. Gdy zrobiłem tak jak Ty to też mi kompiluje jednak gdy wybiorę jako target Atmega8 pojawia się takie coś:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: dwa.elf section .text will not fit in region text<br />c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: region text overflowed by 140 bytes<br />make: *** &#91;dwa.elf&#93; Error 1</div><br />Na stronie autora jest napisane: Also add the malib to the linker (-m option). <br />Więc robię to według tej instrukcji: <!-- m --><a class="postlink" href="http://mirekk36.blogspot.com/2013/04/eclipse-nie-dziaa-mi-printf-dla-float.html" >http://mirekk36.blogspot.com/2013/04/ec ... float.html</a><!-- m --> a wtedy pojawia mi się taki błąd po kompilacji:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">main.c:(.text+0x80): undefined reference to `uart_init'<br />main.c:(.text+0xf2): undefined reference to `uart_putc'<br />main.c:(.text+0x10a): undefined reference to `uart_putc'<br />main.c:(.text+0x110): undefined reference to `uart_putc'<br />main.c:(.text+0x116): undefined reference to `uart_putc'<br />main.c:(.text+0x11c): undefined reference to `uart_putc'<br />./main.o:main.c:(.text+0x134): more undefined references to `uart_putc' follow<br />make: *** &#91;dwa.elf&#93; Error </div><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2933">qwertyasdfgh</a> — 26 cze 2014, o 16:34</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kicajek]]></name></author>
<updated>2014-06-26T16:09:41+01:00</updated>
<published>2014-06-26T16:09:41+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85819#p85819</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85819#p85819"/>
<title type="html"><![CDATA[Re: Kompilowanie gotowego projektu w eclipse]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85819#p85819"><![CDATA[
Witam<br />Nie wiem co to jest, ale u mnie się kompiluje  <img src="https://forum.atnel.pl/images/smilies/icon_e_biggrin.gif" alt=":D" title="Bardzo szczęśliwy" /> .<br />Był tylko ERROR dot.<br />[syntax=c]#if MPU6050_GETATTITUDE == 1<br />MPU6050_TIMER0INIT<br />#endif[/syntax]<br />więc w mpu6050.h zmieniłem na:<br />[syntax=c]#define MPU6050_TIMER0INIT TCCR0 |=(1&lt;&lt;CS02)|(1&lt;&lt;CS00); \<br />TIMSK |=(1&lt;&lt;TOIE0);[/syntax]<br />...bo podstawiłem Mega16.<br /><div class="quotetitle">qwertyasdfgh napisał(a):</div><div class="quotecontent"><br />Mam w głównym folderze projektu plik main.c i podfoldery uart itd. Dołaczam jeszcze biblioteke mlib.a i kompiluje<br /></div><br />Poza tym &quot;poszło za pierwszym kopem&quot;; kompilowałem to co ściągnąłem, bez Twojego &quot; Dołaczam...&quot;<br /><br />Pozdr.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=826">kicajek</a> — 26 cze 2014, o 16:09</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[qwertyasdfgh]]></name></author>
<updated>2014-06-26T11:58:09+01:00</updated>
<published>2014-06-26T11:58:09+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85798#p85798</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85798#p85798"/>
<title type="html"><![CDATA[Kompilowanie gotowego projektu w eclipse]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=7563&amp;p=85798#p85798"><![CDATA[
Witam, chce wypróbwać układ mpu-6050 i sciagnałęm sobie gotowy projekt z tego linku <!-- m --><a class="postlink" href="https://sourceforge.net/projects/davidegironi/files/avr-lib/avr_lib_mpu6050_03.zip/download" >https://sourceforge.net/projects/davide ... p/download</a><!-- m --><br />Otwieram eclipse, robie nowy projekt dla mojego mikrokontrolera i pozniej klikam prawym na ten projekt i robie import, zaznaczam general &gt; file system i wybieram folder src z tego archiwum. Mam w głównym folderze projektu plik main.c i podfoldery uart itd. Dołaczam jeszcze biblioteke mlib.a i kompiluje. Niestety wychodza mi błędy ze:<br />undeclared reference to uart_init<br />i inne funkcje zamieszczone w uart.h. Czy ktoś może sprawdzić czy mu się ten projekt kompiluje? pozdrawiam<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2933">qwertyasdfgh</a> — 26 cze 2014, o 11:58</p><hr />
]]></content>
</entry>
</feed>