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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2019-08-03T18:21:23+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=30&amp;t=22459&amp;mode</id>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2019-08-03T18:21:23+01:00</updated>
<published>2019-08-03T18:21:23+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220954#p220954</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220954#p220954"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220954#p220954"><![CDATA[
a co to:<br /><br />LCD_uint8xy<br /><br />np jest ? toż tu masz błędy - jakieś funkcje których nie ma<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 3 sie 2019, o 18:21</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[piotrasta]]></name></author>
<updated>2019-08-03T18:09:33+01:00</updated>
<published>2019-08-03T18:09:33+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220952#p220952</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220952#p220952"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220952#p220952"><![CDATA[
ściągłem wszystko z <!-- m --><a class="postlink" href="https://mirekk36.blogspot.com/2015/07/eclipse-start-plus-pierwszy-program.html" >https://mirekk36.blogspot.com/2015/07/e ... ogram.html</a><!-- m --><br />i teraz inne projekty działają a mój projekt z pierwszego postu pokazuje make: *** [b.elf] Error 1<br /><br /><br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />19:00:20 **** Build of configuration Release for project b ****<br />make all <br />'Building file: ../I2CTWI.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=atmega32 -DF_CPU=1000000UL -MMD -MP -MF&quot;I2CTWI.d&quot; -MT&quot;I2CTWI.o&quot; -c -o &quot;I2CTWI.o&quot; &quot;../I2CTWI.c&quot;<br />'Finished building: ../I2CTWI.c'<br />' '<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=atmega32 -DF_CPU=1000000UL -MMD -MP -MF&quot;main.d&quot; -MT&quot;main.o&quot; -c -o &quot;main.o&quot; &quot;../main.c&quot;<br />../main.c: In function 'main':<br />../main.c:45:1: warning: implicit declaration of function 'i2cInit' [-Wimplicit-function-declaration]<br /> i2cInit();  //inicjalizacja i2c<br /> ^<br />../main.c:46:1: warning: implicit declaration of function 'PCF8583_init' [-Wimplicit-function-declaration]<br /> PCF8583_init(); //inicjalizacja scalaka pcf8583<br /> ^<br />../main.c:47:1: warning: implicit declaration of function 'PCF8583_set_time' [-Wimplicit-function-declaration]<br /> PCF8583_set_time( 19, 17, 1, 0 ); //ustawienie czasu<br /> ^<br />../main.c:48:1: warning: implicit declaration of function 'PCF8583_set_date' [-Wimplicit-function-declaration]<br /> PCF8583_set_date( 6, 2, 2012 ); //ustawienie daty<br /> ^<br />../main.c:49:1: warning: implicit declaration of function 'LCD_start' [-Wimplicit-function-declaration]<br /> LCD_start();<br /> ^<br />../main.c:54:1: warning: implicit declaration of function 'PCF8583_get_time' [-Wimplicit-function-declaration]<br /> PCF8583_get_time( &amp;godz, &amp;min, &amp;sek, &amp;hsek );  //pobranie czasu<br /> ^<br />../main.c:55:1: warning: implicit declaration of function 'PCF8583_get_date' [-Wimplicit-function-declaration]<br /> PCF8583_get_date( &amp;dzien, &amp;miesiac, &amp;rok );  //pobranie daty<br /> ^<br />../main.c:57:1: warning: implicit declaration of function 'LCD_uint8xy' [-Wimplicit-function-declaration]<br /> LCD_uint8xy(sek, 0, 0);  //wyświetlenie sekund<br /> ^<br />../main.c:60:1: warning: implicit declaration of function 'LCD_uint16xy' [-Wimplicit-function-declaration]<br /> LCD_uint16xy(rok, 0, 1);  //wyświetlenie roku<br /> ^<br />'Finished building: ../main.c'<br />' '<br />'Building target: b.elf'<br />'Invoking: AVR C Linker'<br />avr-gcc -Wl,-Map,b.map -mmcu=atmega32 -o &quot;b.elf&quot;  ./LCD/lcd44780.o  ./I2CTWI.o ./main.o   <br />./main.o: In function `main':<br />main.c:(.text.startup.main+0x20): undefined reference to `i2cInit'<br />main.c:(.text.startup.main+0x24): undefined reference to `PCF8583_init'<br />main.c:(.text.startup.main+0x38): undefined reference to `PCF8583_set_time'<br />main.c:(.text.startup.main+0x48): undefined reference to `PCF8583_set_date'<br />main.c:(.text.startup.main+0x4c): undefined reference to `LCD_start'<br />main.c:(.text.startup.main+0x60): undefined reference to `PCF8583_get_time'<br />main.c:(.text.startup.main+0x70): undefined reference to `PCF8583_get_date'<br />main.c:(.text.startup.main+0x8e): undefined reference to `LCD_uint8xy'<br />main.c:(.text.startup.main+0xa0): undefined reference to `LCD_uint8xy'<br />main.c:(.text.startup.main+0xb2): undefined reference to `LCD_uint8xy'<br />main.c:(.text.startup.main+0xc6): undefined reference to `LCD_uint16xy'<br />main.c:(.text.startup.main+0xd8): undefined reference to `LCD_uint8xy'<br />main.c:(.text.startup.main+0xea): undefined reference to `LCD_uint8xy'<br />collect2.exe: error: ld returned 1 exit status<br />make: *** [b.elf] Error 1<br /><br />19:00:21 Build Finished (took 692ms)<br /></div><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2519">piotrasta</a> — 3 sie 2019, o 18:09</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[micky]]></name></author>
<updated>2019-08-03T17:39:53+01:00</updated>
<published>2019-08-03T17:39:53+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220950#p220950</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220950#p220950"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220950#p220950"><![CDATA[
Najlepiej to ściągnij nowego MkClipse'a od Mirka i w nim sobie ściągasz toolchaina i wtedy testuj kody. Ja Eclipsa juz praktycznie nie używam.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1546">micky</a> — 3 sie 2019, o 17:39</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Harry]]></name></author>
<updated>2019-08-03T17:37:52+01:00</updated>
<published>2019-08-03T17:37:52+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220949#p220949</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220949#p220949"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220949#p220949"><![CDATA[
<div class="quotetitle">mirekk36 napisał(a):</div><div class="quotecontent"><br />Moim zdaniem masz pewnie coś kompletnie źle zrobione z toolchainem ...<br /></div><br />Też mi się tak wydaje, bo na poziomie dostępu do plików jest ok.<br />Zastanawia mnie tylko czemu cc1.exe jest z 2014 roku, avr-gcc 2016 - straszny staroć.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=14685">Harry</a> — 3 sie 2019, o 17:37</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[micky]]></name></author>
<updated>2019-08-03T17:34:54+01:00</updated>
<published>2019-08-03T17:34:54+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220948#p220948</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220948#p220948"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220948#p220948"><![CDATA[
Wrzucaj zip'a a nie żadne wynalazki, które nie są natywnie wspierane w OS<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1546">micky</a> — 3 sie 2019, o 17:34</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[piotrasta]]></name></author>
<updated>2019-08-03T17:14:30+01:00</updated>
<published>2019-08-03T17:14:30+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220946#p220946</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220946#p220946"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220946#p220946"><![CDATA[
W result jest No more filter<br />W detail jest dużo desired access<br />niestety plik logfile musiałem spakować ponieważ plików pml nie można doodawać<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2519">piotrasta</a> — 3 sie 2019, o 17:14</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2019-08-03T17:03:21+01:00</updated>
<published>2019-08-03T17:03:21+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220944#p220944</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220944#p220944"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220944#p220944"><![CDATA[
<div class="quotetitle">piotrasta napisał(a):</div><div class="quotecontent"><br />Wcześniej jakiś miesiąc temu wszystko działało ok, więc nie sprawdzałem nic tylko ten projekt. Po sprawdzeniu innych projektów nie kompilują się i jest błąd nazwa_biblioteki_dodawanej.o.<br />Do eraty zaglądałem już wcześniej i najprostszy program 03_Multi_LED też się nie kompiluje z powodu d_led.o.<br />[s]Zastanawia mnie jeszcze dlaczego biblioteka /LCD/lcd44780.c przechodzi a I2C_TWI.c już nie.[/s] po  usunięciu z I2C_TWI &quot;__ problem dalej występuje.<br />toolchain i plugin jest<br /></div><br /><br />Moim zdaniem masz pewnie coś kompletnie źle zrobione z toolchainem ...<br /><br />Skorzystaj z tego poradnika:<br /><br /><!-- m --><a class="postlink" href="https://mirekk36.blogspot.com/search?q=mars" >https://mirekk36.blogspot.com/search?q=mars</a><!-- m --><br /><br />zrób to od nowa całkowicie - bo pewnie antywirus pożarł ci część toolchaina<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 3 sie 2019, o 17:03</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Harry]]></name></author>
<updated>2019-08-03T16:37:09+01:00</updated>
<published>2019-08-03T16:37:09+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220943#p220943</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220943#p220943"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220943#p220943"><![CDATA[
Hmm, wygląda chyba ok. <br />Czy przy make.exe wywala jakieś błędy(Error/Failed), czy wszędzie jest Success?<br />Niema czegoś w kolumnie &quot;Details&quot; w rodzaju &quot;read only&quot;, access denied, locked file, albo coś w tym rodzaju(przy make)?<br /><br />Jak możesz to zapisz log jako *.pml i wrzuć.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=14685">Harry</a> — 3 sie 2019, o 16:37</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[piotrasta]]></name></author>
<updated>2019-08-03T16:00:09+01:00</updated>
<published>2019-08-03T16:00:09+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220941#p220941</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220941#p220941"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220941#p220941"><![CDATA[
Version: Oxygen.3a Release (4.7.3a)<br />Build id: 20180405-1200<br />Clean projekt robiony<br /><br />@harry<br /><a href="https://obrazkiforum.atnel.pl/2519/277fefa67a2cf4688679cf1ba662a7e1.PNG"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/2519/277fefa67a2cf4688679cf1ba662a7e1.PNG" alt="Obrazek" /></a><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2519">piotrasta</a> — 3 sie 2019, o 16:00</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Harry]]></name></author>
<updated>2019-08-03T15:55:17+01:00</updated>
<published>2019-08-03T15:55:17+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220940#p220940</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220940#p220940"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220940#p220940"><![CDATA[
Jeżeli to windows to bierz w łapki <a href="https://docs.microsoft.com/en-us/sysinternals/downloads/procmon"  class="postlink">Process Monitor</a>, włącz filtrowanie (Ctrl+L), ustaw &quot;Path is&quot; ścieżkę tego co się nie chce zbudować i zobaczysz co blokuje.<br />Zakładam że próbowałeś robić Clean projektu?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=14685">Harry</a> — 3 sie 2019, o 15:55</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[micky]]></name></author>
<updated>2019-08-03T14:54:42+01:00</updated>
<published>2019-08-03T14:54:42+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220939#p220939</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220939#p220939"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220939#p220939"><![CDATA[
A w jakim środowisku i wersji to kompilujesz?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1546">micky</a> — 3 sie 2019, o 14:54</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[piotrasta]]></name></author>
<updated>2019-08-03T14:42:22+01:00</updated>
<published>2019-08-03T14:42:22+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220938#p220938</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220938#p220938"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220938#p220938"><![CDATA[
Wcześniej jakiś miesiąc temu wszystko działało ok, więc nie sprawdzałem nic tylko ten projekt. Po sprawdzeniu innych projektów nie kompilują się i jest błąd nazwa_biblioteki_dodawanej.o.<br />Do eraty zaglądałem już wcześniej i najprostszy program 03_Multi_LED też się nie kompiluje z powodu d_led.o.<br />[s]Zastanawia mnie jeszcze dlaczego biblioteka /LCD/lcd44780.c przechodzi a I2C_TWI.c już nie.[/s] po  usunięciu z I2C_TWI &quot;__ problem dalej występuje.<br />toolchain i plugin jest<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2519">piotrasta</a> — 3 sie 2019, o 14:42</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2019-08-03T13:12:35+01:00</updated>
<published>2019-08-03T13:12:35+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220937#p220937</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220937#p220937"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220937#p220937"><![CDATA[
no jeśli to pierwsze i najstarsze wydanie to przede wszystkim warto byłoby wejść na stronę wydawnictwa Atnel i sięgnąć do erraty<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 3 sie 2019, o 13:12</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[micky]]></name></author>
<updated>2019-08-03T12:37:12+01:00</updated>
<published>2019-08-03T12:37:12+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220935#p220935</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220935#p220935"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220935#p220935"><![CDATA[
A czy przypadkiem pierwsze wydanie nie było pod WinAVR i stąd te problemy?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1546">micky</a> — 3 sie 2019, o 12:37</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2019-08-03T12:13:00+01:00</updated>
<published>2019-08-03T12:13:00+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220934#p220934</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220934#p220934"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220934#p220934"><![CDATA[
to sprawdź czy na pewno wyłączony bo być może uśpiłeś tylko jego niektóre kocie opcje a zostawiony jest koci mechanizm wykrywania potencjalnych zagrożeń  - jedna z najgorszych głupot w obecnych antywirusach.<br /><br />Poza tym sprawdź czy masz dobrze zainstalowany toolchain - inne projekty ci się kompilują ? nie sprawdzałeś ?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 3 sie 2019, o 12:13</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[piotrasta]]></name></author>
<updated>2019-08-03T11:49:32+01:00</updated>
<published>2019-08-03T11:49:32+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220933#p220933</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220933#p220933"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220933#p220933"><![CDATA[
Wyłącziny ponieważ w czasie kompilowania kodu izoluje jeden z plików<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2519">piotrasta</a> — 3 sie 2019, o 11:49</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2019-08-03T10:50:03+01:00</updated>
<published>2019-08-03T10:50:03+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220932#p220932</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220932#p220932"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220932#p220932"><![CDATA[
antywirusa wyłącz<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 3 sie 2019, o 10:50</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[piotrasta]]></name></author>
<updated>2019-08-03T10:23:22+01:00</updated>
<published>2019-08-03T10:23:22+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220930#p220930</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220930#p220930"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220930#p220930"><![CDATA[
Wydanie 1 w bibliotekach nic nie zmieniane<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2519">piotrasta</a> — 3 sie 2019, o 10:23</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[micky]]></name></author>
<updated>2019-08-03T06:54:48+01:00</updated>
<published>2019-08-03T06:54:48+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220929#p220929</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220929#p220929"/>
<title type="html"><![CDATA[Re: kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220929#p220929"><![CDATA[
Z którego wydania są te biblioteki? Zmieniłeś w nich cokolwiek?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1546">micky</a> — 3 sie 2019, o 06:54</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[piotrasta]]></name></author>
<updated>2019-08-03T01:00:32+01:00</updated>
<published>2019-08-03T01:00:32+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220928#p220928</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220928#p220928"/>
<title type="html"><![CDATA[kompilacja błąd 1 I2C_TWI.o]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22459&amp;p=220928#p220928"><![CDATA[
Witajcie<br />Treść z console<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />01:31:06 **** Build of configuration Release for project b ****<br />make all <br />'Building file: ../LCD/lcd44780.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=atmega32 -DF_CPU=1000000UL -MMD -MP -MF&quot;LCD/lcd44780.d&quot; -MT&quot;LCD/lcd44780.o&quot; -c -o &quot;LCD/lcd44780.o&quot; &quot;../LCD/lcd44780.c&quot;<br />'Finished building: ../LCD/lcd44780.c'<br />' '<br />'Building file: ../I2C_TWI.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=atmega32 -DF_CPU=1000000UL -MMD -MP -MF&quot;I2C_TWI.d&quot; -MT&quot;I2C_TWI.o&quot; -c -o &quot;I2C_TWI.o&quot; &quot;../I2C_TWI.c&quot;<br />make: *** [I2C_TWI.o] Błąd 1<br /><br />01:33:06 Build Finished (took 2m:629ms)<br /></div><br /><br />main<br />[syntax=c]/*<br /> * main.c<br /> *<br /> *  Created on: 27 maj 2019<br /> *      Author: Piotr<br /> */<br /><br />#include &lt;avr/io.h&gt;<br />#include &lt;avr/sleep.h&gt;//uśpienia<br />#include &lt;avr/interrupt.h&gt;// biblioteka obsługi przerywań<br />#include &lt;avr/pgmspace.h&gt;<br />#include &lt;util/delay.h&gt;<br /><br />#include &quot;LCD/lcd44780.h&quot;<br />#include &quot;I2C_TWI.h&quot;<br /><br />#define SEKCJA_1 (0&lt;&lt;PD7)<br />#define SEKCJA_2 (0&lt;&lt;PD6)<br />#define SEKCJA_3 (0&lt;&lt;PD5)<br />#define SEKCJA_4 (0&lt;&lt;PD4)<br />#define SEKCJA_5 (0&lt;&lt;PD3)<br />#define SEKCJA_6 (0&lt;&lt;PD2)<br />#define SEKCJA_7 (0&lt;&lt;PD1)<br />#define SEKCJA_8 (0&lt;&lt;PD0)<br /><br />uint8_t godz, min, sek, hsek;<br />uint8_t dzien, miesiac;<br />uint16_t rok;<br /><br /><br /><br />int main(void)<br />{<br />DDRD |=SEKCJA_1;<br />DDRD |=SEKCJA_2;<br />DDRD |=SEKCJA_3;<br />DDRD |=SEKCJA_4;<br />DDRD |=SEKCJA_5;<br />DDRD |=SEKCJA_6;<br />DDRD |=SEKCJA_7;<br />DDRD |=SEKCJA_8;<br /><br />i2cInit();  //inicjalizacja i2c<br />PCF8583_init(); //inicjalizacja scalaka pcf8583<br />PCF8583_set_time( 19, 17, 1, 0 ); //ustawienie czasu<br />PCF8583_set_date( 6, 2, 2012 ); //ustawienie daty<br />LCD_start();<br /><br />while (1) //pętla główna programu, to co jest w tej pętli powtarza się w nieskończoność<br />{<br /><br />PCF8583_get_time( &amp;godz, &amp;min, &amp;sek, &amp;hsek );  //pobranie czasu<br />PCF8583_get_date( &amp;dzien, &amp;miesiac, &amp;rok );  //pobranie daty<br />_delay_ms(100);<br />LCD_uint8xy(sek, 0, 0);  //wyświetlenie sekund<br />LCD_uint8xy(min, 6, 0);  //wyświetlenie minut<br />LCD_uint8xy(godz, 12, 0); //wyświetlenie godzin<br />LCD_uint16xy(rok, 0, 1);  //wyświetlenie roku<br />LCD_uint8xy(miesiac, 6, 1);  //wyświetlenie miesiecy<br />LCD_uint8xy(dzien, 12, 1); //wyświetlenie dni<br /><br /><br /><br /><br />if (godz==22&amp;&amp;min==00)<br />{ PORTD ^= SEKCJA_1;<br />}<br />else if (godz==01 &amp;&amp; min==5)<br />{<br />PORTD^=SEKCJA_1;<br />PORTD^=SEKCJA_2;<br />}<br />else if (godz==22 &amp;&amp; min==10)<br />{<br />PORTD^=SEKCJA_2;<br />PORTD^=SEKCJA_3;<br />}<br />else if (godz==22 &amp;&amp; min==15)<br />{<br />PORTD^=SEKCJA_3;<br />PORTD^=SEKCJA_4;<br />}<br />else if (godz==22 &amp;&amp; min==20)<br />{<br />PORTD^=SEKCJA_4;<br />PORTD^=SEKCJA_5;<br />}<br />else if (godz==22 &amp;&amp; min==25)<br />{<br />PORTD^=SEKCJA_5;<br />PORTD^=SEKCJA_1;<br />}<br />else if (godz==22 &amp;&amp; min==30)<br />{<br />PORTD^=SEKCJA_1;<br />PORTD^=SEKCJA_2;<br />}<br />else if (godz==22 &amp;&amp; min==35)<br />{<br />PORTD^=SEKCJA_2;<br />PORTD^=SEKCJA_3;<br />}<br />else if (godz==22 &amp;&amp; min==40)<br />{<br />PORTD^=SEKCJA_3;<br />PORTD^=SEKCJA_4;<br />}<br />else if (godz==22 &amp;&amp; min==45)<br />{<br />PORTD^=SEKCJA_4;<br />PORTD^=SEKCJA_5;<br />}<br />else if (godz==22 &amp;&amp; min==50)<br />{<br />PORTD^=SEKCJA_5;<br />PORTD^=SEKCJA_6;<br />}<br />else if (godz==23 &amp;&amp; min==20)<br />{<br />PORTD^=SEKCJA_6;<br />}<br /><br />}<br /><br /><br />}[/syntax]<br /><br />biblioteka LCD i I2C_TWI są to biblioteki z BB<br />Czy ktoś spotkał się z takim problemem?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2519">piotrasta</a> — 3 sie 2019, o 01:00</p><hr />
]]></content>
</entry>
</feed>