<?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=5985&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2014-02-14T09:36:35+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=5985&amp;mode</id>
<entry>
<author><name><![CDATA[filipo96]]></name></author>
<updated>2014-02-14T09:36:35+01:00</updated>
<published>2014-02-14T09:36:35+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70399#p70399</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70399#p70399"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70399#p70399"><![CDATA[
kacperu2: Czy oglądałeś poradnik???<br />Jeżeli tak to chyba nieuważnie.<br />Jest tam mowa o tej funkcji jak ją zrobić wykorzystując libsy z lcd hd44780 lub przepisując to co jest na filmiku. <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /><br />Oglądałem ten poradnik zaraz jak wyszedł, a nadal to pamiętam. <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=99">filipo96</a> — 14 lut 2014, o 09:36</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kurnachatka]]></name></author>
<updated>2014-02-14T09:18:51+01:00</updated>
<published>2014-02-14T09:18:51+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70397#p70397</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70397#p70397"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70397#p70397"><![CDATA[
Prawdę mówiąc to już nie pamiętam z kąt ją mam bo na CD jej nie ma.<br />Ma ona taką postać<br />[syntax=c]void uart_puts_P(const char *s)[/syntax]<br /><br />Nie chcę jej tu umieszczać w całości, chyba że Mirek wyrazi na to zgodę.  <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=930">kurnachatka</a> — 14 lut 2014, o 09:18</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kurnachatka]]></name></author>
<updated>2014-02-14T07:26:20+01:00</updated>
<published>2014-02-14T07:26:20+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70392#p70392</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70392#p70392"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70392#p70392"><![CDATA[
musisz do funkcji uart_puts_P dołożyć const<br /><br /><strong><span style="color: #808000">------------------------ [ Dodano po: 3 minutach ]</span></strong><br /><br />Jak w ogóle masz tą funkcje<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=930">kurnachatka</a> — 14 lut 2014, o 07:26</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kacperu2]]></name></author>
<updated>2014-02-13T22:46:53+01:00</updated>
<published>2014-02-13T22:46:53+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70372#p70372</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70372#p70372"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70372#p70372"><![CDATA[
Dobra, dodałem te libsy i teraz dostaje to:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Building file: ../main.c<br />Invoking: AVR Compiler<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega328p -DF_CPU=8000000UL -MMD -MP -MF&quot;main.d&quot; -MT&quot;main.d&quot; -c -o &quot;main.o&quot; &quot;../main.c&quot;<br />Finished building: ../main.c<br /> <br />Building target: TERMINAL.elf<br />Invoking: AVR C Linker<br />avr-gcc -Wl,-Map,TERMINAL.map -mmcu=atmega328p -o &quot;TERMINAL.elf&quot;  ./MK_TERMINAL/mk_term.o  ./MKUART/mkuart.o  ./main.o   <br />./MK_TERMINAL/mk_term.o: In function `tr_cursor_hide':<br />mk_term.c:(.text.tr_cursor_hide+0x8): undefined reference to `uart_puts_P'<br />collect2: error: ld returned 1 exit status<br />make: *** &#91;TERMINAL.elf&#93; Błąd 1<br /></div><br /><br />pomysły?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1258">kacperu2</a> — 13 lut 2014, o 22:46</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kurnachatka]]></name></author>
<updated>2014-02-13T14:51:30+01:00</updated>
<published>2014-02-13T14:51:30+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70282#p70282</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70282#p70282"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70282#p70282"><![CDATA[
Ja mam książkę jeszcze w miękkiej oprawie i u mnie znajdują się one w takiej lokalizacji:<br />Nazwa napędu CD   ECLIPSE\workspace\07_UART\MKUART\mkuart.c i mkurat.h<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=930">kurnachatka</a> — 13 lut 2014, o 14:51</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kacperu2]]></name></author>
<updated>2014-02-13T14:48:02+01:00</updated>
<published>2014-02-13T14:48:02+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70281#p70281</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70281#p70281"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70281#p70281"><![CDATA[
Ehh... człowiek to ma chyba oczy w du*** <img src="https://forum.atnel.pl/images/smilies/icon_e_biggrin.gif" alt=":D" title="Bardzo szczęśliwy" /><br />Wielkie dzięki, nie sprawdziłem tych plików <img src="https://forum.atnel.pl/images/smilies/icon_razz.gif" alt=":P" title="Pokazuje język" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1258">kacperu2</a> — 13 lut 2014, o 14:48</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kurnachatka]]></name></author>
<updated>2014-02-13T14:43:51+01:00</updated>
<published>2014-02-13T14:43:51+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70280#p70280</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70280#p70280"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70280#p70280"><![CDATA[
<div class="quotetitle">kacperu2 napisał(a):</div><div class="quotecontent"><br />Nie, mam tylko workspace z bloga<br /></div><br />To za żyj do do plików co ci podałem.<br />Jest tam napisane że musisz je uzupełnić funkcjami z książki.<br />Dlatego ci wywala błędy bo ich nie znajduje.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=930">kurnachatka</a> — 13 lut 2014, o 14:43</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kacperu2]]></name></author>
<updated>2014-02-13T14:39:11+01:00</updated>
<published>2014-02-13T14:39:11+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70279#p70279</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70279#p70279"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70279#p70279"><![CDATA[
<div class="quotetitle">kurnachatka napisał(a):</div><div class="quotecontent"><br />A podegrałeś sobie funkcje do mkuart.c i  mkuart.h z płyty z książki<br /></div><br /><br />Nie, mam tylko workspace z bloga<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1258">kacperu2</a> — 13 lut 2014, o 14:39</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[MirkoT]]></name></author>
<updated>2014-02-13T14:24:23+01:00</updated>
<published>2014-02-13T14:24:23+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70278#p70278</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70278#p70278"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70278#p70278"><![CDATA[
moim skromnym zdaniem brakuje Ci inkluda do pliku nagłówkowego *.h<br />tego gdzie masz te wszystkie funkcje zadeklarowane...<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=189">MirkoT</a> — 13 lut 2014, o 14:24</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kurnachatka]]></name></author>
<updated>2014-02-13T13:53:02+01:00</updated>
<published>2014-02-13T13:53:02+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70270#p70270</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70270#p70270"/>
<title type="html"><![CDATA[Re: Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70270#p70270"><![CDATA[
A podegrałeś sobie funkcje do mkuart.c i  mkuart.h z płyty z książki<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=930">kurnachatka</a> — 13 lut 2014, o 13:53</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kacperu2]]></name></author>
<updated>2014-02-13T13:44:11+01:00</updated>
<published>2014-02-13T13:44:11+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70266#p70266</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70266#p70266"/>
<title type="html"><![CDATA[Linker w eclipse pluje błędami]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5985&amp;p=70266#p70266"><![CDATA[
Siemka, od trzech dni nie moge sie uporać z takim problemem. Sciągam sobie ten kod od Mirka:<br /><!-- m --><a class="postlink" href="http://mirekk36.blogspot.com/2013/05/terminal-jako-kolorowy-wyswietlacz-lcd.html" >http://mirekk36.blogspot.com/2013/05/te ... z-lcd.html</a><!-- m --><br />dodaje w main.c &quot;#define __UBRR 1666&quot; (SunRiver tak kazał, jak źle to sie nie czepiać <img src="https://forum.atnel.pl/images/smilies/icon_razz.gif" alt=":P" title="Pokazuje język" />)<br />A przy próbie skompilowania linker wypluwa mi to:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">   <br /><br />    make all<br />    Building file: ../main.c<br />    Invoking: AVR Compiler<br />    avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega328p -DF_CPU=8000000UL -MMD -MP -MF&quot;main.d&quot; -MT&quot;main.d&quot; -c -o &quot;main.o&quot; &quot;../main.c&quot;<br />    ../main.c: In function ‘main’:<br />    ../main.c:27:2: warning: implicit declaration of function ‘USART_Init’ &#91;-Wimplicit-function-declaration&#93;<br />    ../main.c:32:2: warning: implicit declaration of function ‘uart_puts’ &#91;-Wimplicit-function-declaration&#93;<br />    ../main.c:40:3: warning: implicit declaration of function ‘uart_getc’ &#91;-Wimplicit-function-declaration&#93;<br />    ../main.c: In function ‘show_counter’:<br />    ../main.c:125:3: warning: implicit declaration of function ‘uart_putint’ &#91;-Wimplicit-function-declaration&#93;<br />    Finished building: ../main.c<br />     <br />    Building target: TERMINAL.elf<br />    Invoking: AVR C Linker<br />    avr-gcc -Wl,-Map,TERMINAL.map -mmcu=atmega328p -o &quot;TERMINAL.elf&quot;  ./MK_TERMINAL/mk_term.o  ./MKUART/mkuart.o  ./main.o  <br />    ./MK_TERMINAL/mk_term.o: In function `tr_cursor_hide':<br />    mk_term.c:(.text.tr_cursor_hide+0xe): undefined reference to `uart_puts_P'<br />    ./MK_TERMINAL/mk_term.o: In function `tr_cls':<br />    mk_term.c:(.text.tr_cls+0x8): undefined reference to `uart_puts_P'<br />    mk_term.c:(.text.tr_cls+0x16): undefined reference to `uart_puts_P'<br />    mk_term.c:(.text.tr_cls+0x20): undefined reference to `uart_puts_P'<br />    ./MK_TERMINAL/mk_term.o: In function `fill_line':<br />    mk_term.c:(.text.fill_line+0x1a): undefined reference to `uart_putc'<br />    ./MK_TERMINAL/mk_term.o: In function `tr_attr':<br />    mk_term.c:(.text.tr_attr+0x16): undefined reference to `uart_putc'<br />    mk_term.c:(.text.tr_attr+0x1e): undefined reference to `uart_putc'<br />    mk_term.c:(.text.tr_attr+0x28): undefined reference to `uart_putc'<br />    mk_term.c:(.text.tr_attr+0x30): undefined reference to `uart_putc'<br />    ./MK_TERMINAL/mk_term.o:mk_term.c:(.text.tr_attr+0x38): more undefined references to `uart_putc' follow<br />    ./MK_TERMINAL/mk_term.o: In function `tr_locate':<br />    mk_term.c:(.text.tr_locate+0x20): undefined reference to `uart_putint'<br />    mk_term.c:(.text.tr_locate+0x28): undefined reference to `uart_putc'<br />    mk_term.c:(.text.tr_locate+0x34): undefined reference to `uart_putint'<br />    mk_term.c:(.text.tr_locate+0x40): undefined reference to `uart_putc'<br />    ./main.o: In function `rysuj_menu':<br />    main.c:(.text.rysuj_menu+0x1c): undefined reference to `uart_puts'<br />    main.c:(.text.rysuj_menu+0x36): undefined reference to `uart_puts'<br />    main.c:(.text.rysuj_menu+0x46): undefined reference to `uart_puts'<br />    main.c:(.text.rysuj_menu+0x56): undefined reference to `uart_puts'<br />    main.c:(.text.rysuj_menu+0x70): undefined reference to `uart_puts'<br />    ./main.o:main.c:(.text.show_adc+0x1c): more undefined references to `uart_puts' follow<br />    ./main.o: In function `show_adc':<br />    main.c:(.text.show_adc+0x84): undefined reference to `uart_getc'<br />    ./main.o: In function `show_counter':<br />    main.c:(.text.show_counter+0x1c): undefined reference to `uart_puts'<br />    main.c:(.text.show_counter+0x56): undefined reference to `uart_puts'<br />    main.c:(.text.show_counter+0x70): undefined reference to `uart_puts'<br />    main.c:(.text.show_counter+0x86): undefined reference to `uart_putint'<br />    main.c:(.text.show_counter+0x8e): undefined reference to `uart_puts'<br />    main.c:(.text.show_counter+0xa0): undefined reference to `uart_puts'<br />    main.c:(.text.show_counter+0xb6): undefined reference to `uart_getc'<br />    ./main.o: In function `main':<br />    main.c:(.text.startup.main+0x4): undefined reference to `USART_Init'<br />    main.c:(.text.startup.main+0x14): undefined reference to `uart_puts'<br />    main.c:(.text.startup.main+0x2e): undefined reference to `uart_getc'<br />    main.c:(.text.startup.main+0x54): undefined reference to `uart_puts'<br />    collect2: error: ld returned 1 exit status<br />    make: *** &#91;TERMINAL.elf&#93; Błąd 1<br /><br /></div><br /><br />Moge tylko dodać że jeżeli powodem mogą być sterowniki do konwertera rs-232 to będę musiał je przeinstalować. Zamiast D2XX od FTDI zainstalowałem wolne (w rozumieniu środowiska GNU <img src="https://forum.atnel.pl/images/smilies/icon_razz.gif" alt=":P" title="Pokazuje język" />) sterowniki libftdi z repozytoriów. System oczywiście linux.<br />A tak oprócz tego to inne programy kompilują się normalnie <img src="https://forum.atnel.pl/images/smilies/icon_e_sad.gif" alt=":(" title="Smutny" /><br />Z góry dzięki za jakąkolwiek pomoc <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1258">kacperu2</a> — 13 lut 2014, o 13:44</p><hr />
]]></content>
</entry>
</feed>