<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[SOLVED] Having issues build firmware from soure]]></title><description><![CDATA[<p dir="auto">Hi. This is the first time a try to build the firmware from soure and i am getting a error.</p>
<p dir="auto">I have used the instruction from here:<br />
<a href="https://github.com/pycom/pycom-micropython-sigfox" target="_blank" rel="noopener noreferrer nofollow">https://github.com/pycom/pycom-micropython-sigfox</a><br />
<a href="https://github.com/pycom/pycom-micropython-sigfox/tree/master/esp32" target="_blank" rel="noopener noreferrer nofollow">https://github.com/pycom/pycom-micropython-sigfox/tree/master/esp32</a></p>
<p dir="auto">$ cd ../mpy-cross<br />
$ make all</p>
<ul>
<li>Compiled fine</li>
</ul>
<p dir="auto">$ cd ../esp32<br />
$ make BOARD=LOPY -j5 TARGET=boot</p>
<ul>
<li>Compiled fine</li>
</ul>
<p dir="auto">make BOARD=LOPY -j5 LORA_BAND=USE_BAND_868 TARGET=app</p>
<ul>
<li>Failed part way though</li>
</ul>
<p dir="auto">C mods/moducrypto.c<br />
CC mods/machtimer.c<br />
CC mods/machtimer_alarm.c<br />
In file included from /root/esp/pycom-esp-idf/components/soc/esp32/include/soc/soc.h:20:0,<br />
from /root/esp/pycom-esp-idf/components/driver/include/driver/timer.h:19,<br />
from mods/machtimer_alarm.c:6:<br />
/root/esp/pycom-esp-idf/components/soc/esp32/include/soc/io_mux_reg.h: In function 'PIN_PULLUP_DIS':<br />
/root/esp/pycom-esp-idf/components/esp32/include/esp_assert.h:23:28: error: first argument to '__builtin_choose_expr' not a constant<br />
_Static_assert(__builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG);   <br />
.....................................................................................................................................................................................................<br />
../py/mkrules.mk:47: recipe for target 'build/LOPY_868/release/mods/machtimer_alarm.o' failed<br />
make: *** [build/LOPY_868/release/mods/machtimer_alarm.o] Error 1</p>
<p dir="auto">[0_1498856183565_Build output.txt](Uploading 100%)<br />
My build enviroment is based on Debian 9<br />
Is anyne else have similer issues? Would very much appreciate help.</p>
<p dir="auto">Thanks!<br />
//Jonatan</p>
]]></description><link>https://forum.pycom.io/topic/1429/solved-having-issues-build-firmware-from-soure</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 10:36:56 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/1429.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Jun 2017 21:07:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] Having issues build firmware from soure on Sat, 01 Jul 2017 09:01:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi. This is the first time a try to build the firmware from soure and i am getting a error.</p>
<p dir="auto">I have used the instruction from here:<br />
<a href="https://github.com/pycom/pycom-micropython-sigfox" target="_blank" rel="noopener noreferrer nofollow">https://github.com/pycom/pycom-micropython-sigfox</a><br />
<a href="https://github.com/pycom/pycom-micropython-sigfox/tree/master/esp32" target="_blank" rel="noopener noreferrer nofollow">https://github.com/pycom/pycom-micropython-sigfox/tree/master/esp32</a></p>
<p dir="auto">$ cd ../mpy-cross<br />
$ make all</p>
<ul>
<li>Compiled fine</li>
</ul>
<p dir="auto">$ cd ../esp32<br />
$ make BOARD=LOPY -j5 TARGET=boot</p>
<ul>
<li>Compiled fine</li>
</ul>
<p dir="auto">make BOARD=LOPY -j5 LORA_BAND=USE_BAND_868 TARGET=app</p>
<ul>
<li>Failed part way though</li>
</ul>
<p dir="auto">C mods/moducrypto.c<br />
CC mods/machtimer.c<br />
CC mods/machtimer_alarm.c<br />
In file included from /root/esp/pycom-esp-idf/components/soc/esp32/include/soc/soc.h:20:0,<br />
from /root/esp/pycom-esp-idf/components/driver/include/driver/timer.h:19,<br />
from mods/machtimer_alarm.c:6:<br />
/root/esp/pycom-esp-idf/components/soc/esp32/include/soc/io_mux_reg.h: In function 'PIN_PULLUP_DIS':<br />
/root/esp/pycom-esp-idf/components/esp32/include/esp_assert.h:23:28: error: first argument to '__builtin_choose_expr' not a constant<br />
_Static_assert(__builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG);   <br />
.....................................................................................................................................................................................................<br />
../py/mkrules.mk:47: recipe for target 'build/LOPY_868/release/mods/machtimer_alarm.o' failed<br />
make: *** [build/LOPY_868/release/mods/machtimer_alarm.o] Error 1</p>
<p dir="auto">[0_1498856183565_Build output.txt](Uploading 100%)<br />
My build enviroment is based on Debian 9<br />
Is anyne else have similer issues? Would very much appreciate help.</p>
<p dir="auto">Thanks!<br />
//Jonatan</p>
]]></description><link>https://forum.pycom.io/post/8989</link><guid isPermaLink="true">https://forum.pycom.io/post/8989</guid><dc:creator><![CDATA[Jonatan_Mc]]></dc:creator><pubDate>Sat, 01 Jul 2017 09:01:44 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Having issues build firmware from soure on Fri, 30 Jun 2017 22:30:55 GMT]]></title><description><![CDATA[<p dir="auto">Please try using the latest toolchain (1.22.0-61-gab8375a) instead of the older one linked to on the README (1.22.0-59)</p>
<p dir="auto">for 64-bit Linux:<br />
<a href="https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz" target="_blank" rel="noopener noreferrer nofollow">https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz</a></p>
<p dir="auto">for 32-bit Linux:<br />
<a href="https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz" target="_blank" rel="noopener noreferrer nofollow">https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz</a></p>
]]></description><link>https://forum.pycom.io/post/8991</link><guid isPermaLink="true">https://forum.pycom.io/post/8991</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Fri, 30 Jun 2017 22:30:55 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Having issues build firmware from soure on Sat, 01 Jul 2017 08:43:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a></p>
<p dir="auto">That was it. It's working now.</p>
<p dir="auto">Thank you very much!</p>
]]></description><link>https://forum.pycom.io/post/8999</link><guid isPermaLink="true">https://forum.pycom.io/post/8999</guid><dc:creator><![CDATA[Jonatan_Mc]]></dc:creator><pubDate>Sat, 01 Jul 2017 08:43:22 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Having issues build firmware from soure on Tue, 19 Sep 2017 14:11:20 GMT]]></title><description><![CDATA[<p dir="auto">I had the same problem today, and i've searched for a solution for hours before finding this post. It did worked for me as well, please update your docuentation. I really love my wipy, but the lack of clear documentation is a bit of a problem for newbies like me. Please help us enjoing your fantastic work</p>
]]></description><link>https://forum.pycom.io/post/11247</link><guid isPermaLink="true">https://forum.pycom.io/post/11247</guid><dc:creator><![CDATA[pedro]]></dc:creator><pubDate>Tue, 19 Sep 2017 14:11:20 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Having issues build firmware from soure on Mon, 09 Oct 2017 17:13:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a></a> said in <a href="/post/8991">[SOLVED] Having issues build firmware from soure</a>:</p>
<blockquote>
<p dir="auto"><a href="https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz" target="_blank" rel="noopener noreferrer nofollow">https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz</a></p>
</blockquote>
<p dir="auto">once again, <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a></a> saved my day, thanks</p>
]]></description><link>https://forum.pycom.io/post/11702</link><guid isPermaLink="true">https://forum.pycom.io/post/11702</guid><dc:creator><![CDATA[Charly86]]></dc:creator><pubDate>Mon, 09 Oct 2017 17:13:07 GMT</pubDate></item></channel></rss>