Re: Lua on NuttX blog posts

2022-09-02 Thread Fotis Panagiotopoulos
Oops, sorry I missed this email. Coroutines is a standard Lua library, included in the official code. More information here: http://www.lua.org/pil/9.1.html. I haven't examined the internals of this library yet. It may indeed have excessive memory requirements, or it may be that the tests are

Re: Lua on NuttX blog posts

2022-08-28 Thread Gregory Nutt
One thing that I found odd is the excessive stack usage of the coroutines > library. > On the simulator I had to set the stack to 1M. > > I am afraid that this specific library may not be usable on actual MCU > systems... > Is this a Linux library? I have seen this kind of stack usage a few time

Re: Lua on NuttX blog posts

2022-08-28 Thread Fotis Panagiotopoulos
I spent some time on the weekend hunting down all the issues. Now all tests succeed. The only real "bugs" were issues #6941 & #6945, which I hope to fix soon. The rest were mostly configuration problems. One thing that I found odd is the excessive stack usage of the coroutines library. On the

Re: Lua on NuttX blog posts

2022-08-27 Thread Xiang Xiao
On Sun, Aug 28, 2022 at 1:07 AM Fotis Panagiotopoulos wrote: > Hello Mike! > > I have also been using Lua on microcontrollers for many years, with great > success. > For The last couple of years I have been running Lua on NuttX, these two > are great when combined! > > Quite recently I tried

Re: Lua on NuttX blog posts

2022-08-27 Thread Xiang Xiao
On Sun, Aug 28, 2022 at 1:07 AM Fotis Panagiotopoulos wrote: > Hello Mike! > > I have also been using Lua on microcontrollers for many years, with great > success. > For The last couple of years I have been running Lua on NuttX, these two > are great when combined! > > Quite recently I tried

Re: Lua on NuttX blog posts

2022-08-27 Thread Fotis Panagiotopoulos
Hello Mike! I have also been using Lua on microcontrollers for many years, with great success. For The last couple of years I have been running Lua on NuttX, these two are great when combined! Quite recently I tried running the Lua tests suite (http://www.lua.org/tests) on NuttX, and to my

Lua on NuttX blog posts

2022-08-23 Thread Mike Mogenson
Hello, I’ve published two articles about using Lua on NuttX with libuv for asynchronous IO and networking: https://medium.com/@michael.mogenson/using-lua-on-nuttx-bcc9a39b2814 https://medium.com/@michael.mogenson/using-lua-and-libuv-for-async-networking-on-nuttx-6e4635eeaedc