<?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[C framework for LoPy]]></title><description><![CDATA[<p dir="auto">Hi Pycom team,</p>
<p dir="auto">Can you provide a simple C development framework with LoRaWan library ?</p>
<p dir="auto">Python is great, but limit control over the Hardware.<br />
I already tried to use micropython and esp-idf from your Github. But, last version of both provide compilation errors (older version are okay). Also have some difficult to extract the LoRaWan stack itself.</p>
<p dir="auto">Regards,<br />
Alexander the lopy lover</p>
]]></description><link>https://forum.pycom.io/topic/962/c-framework-for-lopy</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:04:34 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/962.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 Mar 2017 12:12:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to C framework for LoPy on Mon, 03 Apr 2017 15:12:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karolalexander" aria-label="Profile: karolalexander">@<bdi>karolalexander</bdi></a><br />
Have a look at the code for Lua ESP32 + LoRaWAN (Whitecat project). Should run on the LoPy and might be more to your liking:</p>
<p dir="auto"><a href="https://github.com/whitecatboard/Lua-RTOS-ESP32" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/whitecatboard/Lua-RTOS-ESP32</a></p>
<p dir="auto">In particular they ported the LMIC library for LoRaWAN which is older and less featured than Semtech's but simpler to understand (no HALs) so you might be able to borrow some of the code from there.</p>
]]></description><link>https://forum.pycom.io/post/5930</link><guid isPermaLink="true">https://forum.pycom.io/post/5930</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Mon, 03 Apr 2017 15:12:05 GMT</pubDate></item><item><title><![CDATA[Reply to C framework for LoPy on Mon, 03 Apr 2017 14:53:45 GMT]]></title><description><![CDATA[<p dir="auto">Hi Robert,</p>
<p dir="auto">Thank you</p>
<p dir="auto">After redownloading from the github and trying again compilation =&gt; Everything work well<br />
It just seem like my versions of pycom-esp-idf and micropython were from different date. Or another mistake i did somewhere ...</p>
<p dir="auto">I'm still with the idea of a C framework for LoPy. It may be easier to port some code of esp32 and using the hardware functionality. Also many parts of the documentation are not yet implemented or not explicit (for example: access to I2C and SPI second ports)</p>
<p dir="auto">EDIT: Also, the FreeRTOS by itself, need some time to take hand on. The micropython implementation over it become even more complex to understand and by the way to make modification/adding module</p>
]]></description><link>https://forum.pycom.io/post/5929</link><guid isPermaLink="true">https://forum.pycom.io/post/5929</guid><dc:creator><![CDATA[karolalexander]]></dc:creator><pubDate>Mon, 03 Apr 2017 14:53:45 GMT</pubDate></item><item><title><![CDATA[Reply to C framework for LoPy on Mon, 03 Apr 2017 14:07:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karolalexander" aria-label="Profile: karolalexander">@<bdi>karolalexander</bdi></a><br />
I ha dnot problem in building and flashing. Please make yourself sure, that you build for LoPy:</p>
<p dir="auto"><code>make BOARD=LOPY TARGET=boot</code><br />
<code>make BOARD=LOPY TARGET=app</code><br />
<code>make BOARD=LOPY flash</code></p>
]]></description><link>https://forum.pycom.io/post/5928</link><guid isPermaLink="true">https://forum.pycom.io/post/5928</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Mon, 03 Apr 2017 14:07:25 GMT</pubDate></item><item><title><![CDATA[Reply to C framework for LoPy on Mon, 03 Apr 2017 13:50:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi Jose,</p>
<p dir="auto">Thank you</p>
<p dir="auto">Yes, it's a bit tricky</p>
<p dir="auto">Compilation now okay, but when loading on the board, LoPy don't give prompt &gt;&gt;&gt; and command are not interpreted.</p>
<p dir="auto">Reasons I want a C framework is that my customer need reliability. Currently, the micropython is often evolving and we don't know how the Lopy behave in long use. With C we have all the reported experience of the esp32 community, that limit risks to that we allready know.</p>
]]></description><link>https://forum.pycom.io/post/5926</link><guid isPermaLink="true">https://forum.pycom.io/post/5926</guid><dc:creator><![CDATA[karolalexander]]></dc:creator><pubDate>Mon, 03 Apr 2017 13:50:13 GMT</pubDate></item><item><title><![CDATA[Reply to C framework for LoPy on Fri, 31 Mar 2017 15:42:31 GMT]]></title><description><![CDATA[<p dir="auto">Hey Alexander,</p>
<p dir="auto">It's a bit wasteful but actually easy to add your own C functions into MicroPython environment then just use Python to call them. That way you have less limitations.</p>
<p dir="auto">Have you tried it?</p>
<p dir="auto">By the way the source compiles just fine, just make sure you're using the <a href="https://github.com/pycom/pycom-micropython-sigfox" target="_blank" rel="noopener noreferrer nofollow ugc">pycom-micropython-sigfox</a> tree (not the old pycom-micropython!) and <a href="https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/README.md" target="_blank" rel="noopener noreferrer nofollow ugc">follow all the steps in the ESP32 README</a></p>
]]></description><link>https://forum.pycom.io/post/5864</link><guid isPermaLink="true">https://forum.pycom.io/post/5864</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Fri, 31 Mar 2017 15:42:31 GMT</pubDate></item></channel></rss>