On Sun, Aug 28, 2022 at 1:07 AM Fotis Panagiotopoulos <f.j.pa...@gmail.com>
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 running the Lua tests suite (
> http://www.lua.org/tests)
> on NuttX, and to my surprise, I got multiple failures.
>
> Some of them are related to issue #6941, but I also got more.
> I even get corruption of the heap in some cases.
>

For heap failure, I would suggest you:

   1. Run the test on sim with CONFIG_SIM_ASAN and CONFIG_SIM_UBSAN
   2. Run the test on real device with CONFIG_MM_KASAN, CONFIG_MM_UBSAN and
   CONFIG_STACK_CANARIES

  and fix the possible errors reported by these tools.


> Have you tried to run these tests?
> Do they succeed?
>
>
> On Wed, Aug 24, 2022 at 4:23 AM Mike Mogenson <michael.mogen...@gmail.com>
> wrote:
>
> > 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
>

Reply via email to