> Hmm, I don't think this is true. You just need to enable `system()` in
configuration
Well... Yes and no...
system() requires NSH, which is part of the apps package.
So, technically, the NuttX kernel does not support it directly.
In my case, there is no NSH, so os.execute had to be removed.
But
> as NuttX does not support the function system()
Hmm, I don't think this is true. You just need to enable `system()` in
configuration
http://nuttx-config.nxtlabs.pl/#/?current=SYSTEM_SYSTEM
Am Do., 10. Juni 2021 um 17:52 Uhr schrieb Fotis Panagiotopoulos <
f.j.pa...@gmail.com>:
> Regarding Lu
Regarding Lua.
I have been using Lua in MCU environment for many years now.
This is the first time to use it along with NuttX.
I am using Lua 5.2.4, for which I have ported the LTR patch, as described
here:
http://www.eluaproject.net/doc/v0.9/en_arch_ltr.html
The way I am using it, is to enable
It would be great to put NuttX special build files to apps/interpreters
folder after you finish the port, so other people can benefit from your
work and improve it in the future. For the code change, I would
suggest that:
1. If the api called by 3rd party is very common in other Unix variants but
N
>
> We really ought to talk to the Lua team and see if we can upstream the
> changes. Unsupported ports in NuttX don't have good shelf life.
>
I believe that one of the reasons is that Lua's major use case is to
be embedded inside applications, isn't it?
I don't know if Lua is used so much as a
Since setjmp and longjmp need be called from userspace, the location is
moved to:
libs/libc/machine/arch
Here is the related issue and PR:
https://github.com/apache/incubator-nuttx/issues/2478
https://github.com/apache/incubator-nuttx/pull/3315
On Thu, Jun 10, 2021 at 2:51 AM David S. Alessio
wr
Lua has been ported to NuttX several times. If you Google for
"lua+NuttX" you find lots of hits, many from
https://nuttx.yahoogroups.narkive.com.
This is from 2018: https://github.com/tokoro10g/lua-nuttx
We really ought to talk to the Lua team and see if we can upstream the
changes. Unsup
There is also a configuration option that must be set to use the setjmp
in NuttX. It is in the top-level Kconfig as I recall.
You don't get a compilation error so you are probably including the
toolchain's setjmp.h. So most likely you have -nostdlib or something
like that on the command line
Also, if you need/want help with getting Lua to run on NuttX, let me know. I
had Lua 5.1.4 on NuttX (5 maybe it was) a long time ago. I believe I submitted
a patch to add it, but I can’t find it now. The addition of Lua to NuttX was
in the form of a subdirectory in apps containing only a Make
Hello, Foti,I wrote setjmp/longjmp for armv7-m some time ago. The code should be in file: arch/arm/src/armv7-m/gnu/up_setjmp.SIf not, it’s attached here.Cheers,-david
up_setjmp.S.gz
Description: GNU Zip compressed data
On Jun 9, 2021, at 11:10 AM, Fotis Panagiotopoulos wrote
Hi everyone!
I just started adding Lua to my NuttX-based project, but I have some
problems with it.
I am getting undefined references to longjmp/setjmp.
I am using an STM32F4 and GCC:
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major)
9.2.1 20191025 (release) [ARM/arm-9-bra
11 matches
Mail list logo