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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2020-10-01T13:10:47+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=23359&amp;mode</id>
<entry>
<author><name><![CDATA[cineks]]></name></author>
<updated>2020-10-01T13:10:47+01:00</updated>
<published>2020-10-01T13:10:47+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229181#p229181</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229181#p229181"/>
<title type="html"><![CDATA[Re: BME280 - błąd kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229181#p229181"><![CDATA[
dzięki za szybko odpowiedź.<br />najpierw zaktualizuje Eclipse i Toolchain a potem zobaczę.<br /><br />Modyfikacja oryginalnej biblioteki leży poza moimi możliwościami, niestety <img src="https://forum.atnel.pl/images/smilies/icon_e_sad.gif" alt=":(" title="Smutny" /><br /><br />pozdrawiam<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=21562">cineks</a> — 1 paź 2020, o 13:10</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[fofex]]></name></author>
<updated>2020-10-01T12:41:45+01:00</updated>
<published>2020-10-01T12:41:45+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229180#p229180</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229180#p229180"/>
<title type="html"><![CDATA[Re: BME280 - błąd kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229180#p229180"><![CDATA[
<div class="quotetitle">cineks napisał(a):</div><div class="quotecontent"><br />maxmclau<br /></div><br />Floaty na sztywno i od 6 lat brak aktualizacji - odradzam. W zamian polecam dobrą firmową bibliotekę: <!-- m --><a class="postlink" href="https://github.com/BoschSensortec/BME280_driver" >https://github.com/BoschSensortec/BME280_driver</a><!-- m --><br /><div class="quotetitle">cineks napisał(a):</div><div class="quotecontent"><br />Indigo Service Release 2<br /></div><br />Eclipse do aktualizacji<br /><div class="quotetitle">cineks napisał(a):</div><div class="quotecontent"><br />AVR 8-bit GNU Toolchain: Release 3.4.1.798<br /></div><br />Toolchain do aktualizacji<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=21072">fofex</a> — 1 paź 2020, o 12:41</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Zealota]]></name></author>
<updated>2020-10-01T12:34:41+01:00</updated>
<published>2020-10-01T12:34:41+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229179#p229179</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229179#p229179"/>
<title type="html"><![CDATA[Re: BME280 - błąd kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229179#p229179"><![CDATA[
Czy przypadkiem ta ATmega328p nie jest &quot;za mała&quot; jeśli chodzi o flash?<br />Spróbuj może skompilować pod ATmega644P albo zmienić poziom optymalizacji na -Os<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=16487">Zealota</a> — 1 paź 2020, o 12:34</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[cineks]]></name></author>
<updated>2020-10-01T12:23:58+01:00</updated>
<published>2020-10-01T12:23:58+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229178#p229178</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229178#p229178"/>
<title type="html"><![CDATA[BME280 - błąd kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=23359&amp;p=229178#p229178"><![CDATA[
Witam,<br />posiadam moduł BME280 i razem z atmegą328p chcę zrobić sobie prosty układ<br />mierzący temp, ciśnienie i wilgotność.<br />Na forum znalazłem info, że  moduł BME280 działa z biblioteką <br />użytkownika  maxmclau  na githubie.<br />Sam nie jestem w stanie napisać takiej biblioteki, dlatego posiłkuje się <br />tym co znajdę w sieci<br /><br />Niestety jak próbuje ją skompilować to dostaje takie info :<br /><br />[syntax=c]&quot;**** Build of configuration Release for project TEST_BME_2 ****<br /><br />make all <br />'Building target: TEST_BME_2.elf'<br />'Invoking: AVR C Linker'<br />avr-gcc -Wl,-Map,TEST_BME_2.map -Wl,--start-group -mmcu=atmega328p -o &quot;TEST_BME_2.elf&quot;  ./bme280.o ./ftoa.o ./i2c_master.o ./main.o ./uart.o   <br />g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5\libc.a(pow.o):/home/tools/hudson/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/pow.S:214:(.text.avr-libc.fplib+0x94): relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulsf3' defined in .text section in g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_mul_sf.o)<br />g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5\libc.a(inverse.o):/home/tools/hudson/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/inverse.S:50:(.text.avr-libc.fplib+0xc): relocation truncated to fit: R_AVR_13_PCREL against symbol `__divsf3' defined in .text section in g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_div_sf.o)<br />g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5\libc.a(log.o):/home/tools/hudson/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/log.S:96:(.text.avr-libc.fplib+0x46): relocation truncated to fit: R_AVR_13_PCREL against symbol `__addsf3' defined in .text section in g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_addsub_sf.o)<br />g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5\libc.a(log.o):/home/tools/hudson/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/log.S:100:(.text.avr-libc.fplib+0x4e): relocation truncated to fit: R_AVR_13_PCREL against symbol `__addsf3' defined in .text section in g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_addsub_sf.o)<br />g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5\libc.a(log.o):/home/tools/hudson/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/log.S:116:(.text.avr-libc.fplib+0x6a): relocation truncated to fit: R_AVR_13_PCREL against symbol `__floatsisf' defined in .text section in g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_si_to_sf.o)<br />g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/../../../../avr/lib/avr5\libc.a(modf.o):/home/tools/hudson/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/modf.S:90:(.text.avr-libc.fplib+0x3e): relocation truncated to fit: R_AVR_13_PCREL against symbol `__subsf3' defined in .text section in g:/root/c_tool/eclipse32_indigo/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.6.2/avr5\libgcc.a(_addsub_sf.o)<br />collect2: ld returned 1 exit status<br />make: *** &#91;TEST_BME_2.elf&#93; Błąd 1<br /><br />**** Build Finished ****[/syntax]<br /><br /><br />Czy któryś z forumowiczów wie w czym jest problem i jak go rozwiązać?<br />pozdrawiam<br /><br /><br />atmega328p, 11592000Hz<br />Version: Indigo Service Release 2<br />Build id: 20120216-1857eclipse indygo, <br />AVR 8-bit GNU Toolchain: Release 3.4.1.798<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=21562">cineks</a> — 1 paź 2020, o 12:23</p><hr />
]]></content>
</entry>
</feed>