Hi,
with Luajit, one could use FFI to access NuttX GPIO functions directly. But
I am afraid that Luajit is currently available only for CM7.
On the other hand, one can write standard Lua extension in C and use it
with plain Lua to access GPIOs. There are numerous examples of how to do it
on intern
-1 from me for Rust in the kernel, +1 for Rust in apps
Mixing languages in the kernel was never a good idea. Kernel should follow
"as simple as possible" philosophy whenever it could.
My opinion is that although Rust is safer than C, if you know what you are
doing, a C is good enough.
If you don't
@Tomek No, my SD card filesystem is notu mounted read-only, because I can
delete single files. I believe that rm * is just not implemented.
On Sat, Feb 24, 2024 at 1:04 AM Tomek CEDRO wrote:
> Maybe the SD card filesystem is mounted read-only?
> For instance when filesystem is corrupted it may m
gt; ls
> /tmp:
> nsh>
>
> It reported error "unlink failed: 1", but removed all the files.
>
> BR,
>
> Alan
>
> On Fri, Feb 23, 2024 at 8:47 PM Alan C. Assis wrote:
>
> > Hi Jernej,
> >
> > Did you try enter inside the directory (i.
Hi, I have accidentally written a lot of files on my sdcard and now I would
like to delete them. I have tried with rm * command and it doesn't work. Is
there a way to delete multiple files without formatting the card?
Regards,
Jernej
m soon.
>
> On Tue, Feb 20, 2024 at 3:04 PM Jernej Turnsek
> wrote:
>
> > Hi,
> > I would like to use Sqlite on NuttX and I have managed to successfully
> > build the Sqlite3 library. When running the library, I have noticed that
> > Sqlite is using fcntl F_SETLK
Hi,
the same problem as new UNUSED macro was causing me problems when building
external libraries, like LuaJIT, an assert macro is also causing problems
when building Sqlite3 library. Sqlite code has a lot of assert statements
which are usually excluded when NDEBUG is set. But when assert is defin
Hi,
I would like to use Sqlite on NuttX and I have managed to successfully
build the Sqlite3 library. When running the library, I have noticed that
Sqlite is using fcntl F_SETLK and F_SETLKW for locking and those are not
implemented on NuttX. Is there a plan to implement this in the future?
Regard
al will help:
> https://www.youtube.com/watch?v=hszt15lTsnA
>
> BR,
>
> Alan
>
> On Tue, Jan 23, 2024 at 4:56 PM Jernej Turnsek
> wrote:
>
> > I am running an app in the foreground. I didn't have waitpid enabled.
> Now I
> > have and it works
o nsh after each command?
>
> On 1/23/2024 11:19 AM, Jernej Turnsek wrote:
> > Hi,
> > I would like to develop my own builtin application to process some custom
> > commands. This app is started from nsh over the serial console. I have
> > duplicated the code fr
Never mind. I have found a solution in the Nuttx Shell documentation, where
the CONFIG_SCHED_WAITPID option is described to force synchronous builtin
app execution, instead of asynchronous.
On Tue, Jan 23, 2024 at 6:19 PM Jernej Turnsek
wrote:
> Hi,
> I would like to develop my own b
Hi,
I would like to develop my own builtin application to process some custom
commands. This app is started from nsh over the serial console. I have
duplicated the code from ftpc example and when application is started it
start to process stdin for commands. But this functionality is mixed with
nsh
Hi,
thanks. Will take a look.
On Thu, May 4, 2023 at 1:25 PM Nathan Hartman
wrote:
> On Thu, May 4, 2023 at 7:11 AM Nathan Hartman
> wrote:
>
> > On Thu, May 4, 2023 at 5:46 AM Jernej Turnsek
> > wrote:
> >
> >> I am developing a driver which is processing
I am developing a driver which is processing peripheral interrupts every
6.4 microseconds and every 16th interrupt calling notify function from HP
work queue. But scheduling workqueue does lock interrupts (through critical
section) up to 20us sometimes, causing my peripheral missing interrupts.
The
Hi,
has someone make an effort to bring ESP- Hosted to NuttX OS. ESP-Hosted
supports Linux integration and RTOS integration. One could use the RTOS way
to bring ESP-Hosted up, but on the other hand NuttX is more like Linux.
What do you think?
Regards,
Jernej
to modify that file as
> you see fit. It is not controlled under GIT (but is provided with each
> new release package).
>
> On 1/3/2023 2:38 AM, Jernej Turnsek wrote:
> > Hi All,
> >
> > when building the latest NuttX OS from git, I am having problems with
> > .ve
but is provided with each
> new release package).
>
> On 1/3/2023 2:38 AM, Jernej Turnsek wrote:
> > Hi All,
> >
> > when building the latest NuttX OS from git, I am having problems with
> > .version file, where wrong version is used. Running the git describe, I
> &
Hi All,
when building the latest NuttX OS from git, I am having problems with
.version file, where wrong version is used. Running the git describe, I
get nuttx-8.2-12100-g56c6943311, although I have the latest code. I have
updated the local repo from upstream with --prune and --prune- tags option
+1 for nuttx and nuttx-apps
V čet., 17. nov. 2022 22:47 je oseba Nathan Hartman <
hartman.nat...@gmail.com> napisala:
> Hi all,
>
> As mentioned in the other thread, the repos need to be renamed to
> remove "incubating".
>
> In the discussion from a few months ago [1] several reasons were given
>
ttps://github.com/apache/incubator-nuttx/pull/6976 fixes this problem:
> the default action is activated when driver/socket return either OK or
> -ENOTTY.
> I suggest you cherry-pick this patch to enter the final solution.
>
> On Fri, Nov 4, 2022 at 3:00 AM Jernej Turnsek
> wrote:
Thu, Nov 3, 2022 at 7:04 PM Xiang Xiao wrote:
> Does your branch contain this patch?
> https://github.com/apache/incubator-nuttx/pull/5933
>
> On Fri, Nov 4, 2022 at 1:11 AM Jernej Turnsek
> wrote:
>
> > Hi,
> >
> > I am trying to set O_NONBLOCK flag wi
nch contain this patch?
> https://github.com/apache/incubator-nuttx/pull/5933
>
> On Fri, Nov 4, 2022 at 1:11 AM Jernej Turnsek
> wrote:
>
> > Hi,
> >
> > I am trying to set O_NONBLOCK flag with the help of fcntl on Local Socket
> > structure (AF_U
Hi,
I am trying to set O_NONBLOCK flag with the help of fcntl on Local Socket
structure (AF_UNIX) and I am not getting the non blocking functionality. If
setting the SOCK_NONBLOCK flag while creating the socket, it is working
fine. I am using some Linux based code, where this functionality is
work
s/arm/stm32f7/stm32f746g-disco/configs/nxterm/defconfig:CONFIG_NXTERM=y
> boards/sim/sim/sim/configs/nxwm/defconfig:CONFIG_NXTERM=y
>
> But there is no working example that uses both NxTERM with a USB console:
>
> $ find boards -name defconfig | xargs grep -l CONFIG_NXTERM=y | xargs
&g
> There is a discussion about it here:
>
> https://github.com/apache/incubator-nuttx/pull/6779
>
> The issue with previous implementation was it only worked for integers
> variable.
>
> BR,
>
> Alan
>
> On 9/27/22, Jernej Turnsek wrote:
> > Hi,
> >
it could help us :-)
>
> BR,
>
> Alan
>
> On 9/27/22, Jernej Turnsek wrote:
> > Hi,
> >
> > I have enabled nxterm functionality on my board with a 400x240 display
> and
> > I am using an USB console. When starting nxterm example in nsh, I am
> seeing
I guess I could move the whole region a few bytes forward.
On Tue, Sep 27, 2022 at 12:57 PM Jernej Turnsek
wrote:
> Hi,
>
> I am using mm_heap region from address space which starts with 0x.
> ITCM memory on NXP i.MX RT10xx processors has this address. in mm_heap_s
Hi,
I am using mm_heap region from address space which starts with 0x.
ITCM memory on NXP i.MX RT10xx processors has this address. in mm_heap_s
structure, mm_semaphore is the first element and when initialized, it is
compared to NULL, thus initialization fails. To get around this problem I
Hi,
when compiling LuaJIT on NuttX with new UNUSED macro I get following error:
LuaJIT/src/lj_frame.h:70:61: error: lvalue required as unary '&' operand
70 | #define setframe_gc(f, p, tp) (setgcref((f)->fr.func, (p)),
UNUSED(tp))
What was the reason to change UNUSED macro from:
# define UNU
Hi,
I have enabled nxterm functionality on my board with a 400x240 display and
I am using an USB console. When starting nxterm example in nsh, I am seeing
the nxterm booting and setting the display, but when it should redirect
stdout to nxterm, it doesn't. I am still in USB console. Looking the co
is filled. I
hope I make myself clear now.
Jernej
On Fri, May 14, 2021 at 12:22 PM Alan Carvalho de Assis
wrote:
> Hi Jernej,
>
> Please define "not working"! :-)
>
> Are you flushing it? Also "\n" at end of line forces it to be flushed.
>
> BR,
>
>
Hi all,
while working with stdout fwrite function, I have noticed that line
buffering is not working. Is this by design or it is a bug?
Regards,
Jernej
32 matches
Mail list logo