Re: Inter-task communication example / uORB implentation

2024-06-13 Thread 董九柱
Hi Janardhan, As you can see, the current sensor driver framework and uORB are tightly integrated. The reason why I introduced the uORB framework from px4 to NuttX is primarily because it is based on pub-sub,which provides great flexibility in sharing messages between multiple applications. There

Re: LVGL and LCD driver - SAMA5D2

2024-06-13 Thread Gregory Nutt
On 6/13/2024 8:32 PM, Gregory Nutt wrote: On 6/13/2024 11:56 AM, Gregory Nutt wrote: Changing the existing driver interface would break the NX graphics. NX graphics is mis-named.  It is not a graphics system like LVGL, but a windowing system like X.  Whatever you do should not break the windo

Re: LVGL and LCD driver - SAMA5D2

2024-06-13 Thread Gregory Nutt
On 6/13/2024 11:56 AM, Gregory Nutt wrote: Changing the existing driver interface would break the NX graphics. NX graphics is mis-named.  It is not a graphics system like LVGL, but a windowing system like X.  Whatever you do should not break the windowing system and, in fact, really should opt

Re: Inter-task communication example / uORB implentation

2024-06-13 Thread Alan C. Assis
Hi Janardhan, AFAIK all sensors with uORB support can work with apps/testing/sensortest support. I prefer to use simple char driver sensors to avoid overhead and make things simple, maybe Xiang can give your more help about your multi-application usage. Also you can take a look how it is done on

LVGL and LCD driver - SAMA5D2

2024-06-13 Thread Tim Hardisty
I am getting in a mental pickle regarding LVGL (V9) and NuttX, in conjunction with the SAMA5D2 with it's built in LCD Controller peripheral. In the past - bare metal - I have simply set up two buffers so one can be written to while the other is copied out to the actual display. But now NuttX i

Re: LVGL and LCD driver - SAMA5D2

2024-06-13 Thread Gregory Nutt
On 6/13/2024 11:15 AM, Tim Hardisty wrote: I am getting in a mental pickle regarding LVGL (V9) and NuttX, in conjunction with the SAMA5D2 with it's built in LCD Controller peripheral. In the past - bare metal - I have simply set up two buffers so one can be written to while the other is copie

Re: Heap Logging

2024-06-13 Thread Mark Stevens
Lup, Thank you for the information, I’ll have a look tomorrow. Regards, Mark --- Mark Stevens Blog: blog.mark-stevens.co.uk > On 13 Jun 2024, at 13:51, Lee, Lup Yuen wrote: > > Hi Mark: Thanks for watching my presentation! To show the Heap Logs, I > ena

Re: Inter-task communication example / uORB implentation

2024-06-13 Thread Janardhan Silwal
Hi Alan, Thanks for the path! I saw the uorb libraries as well as the sensor drivers for uorb. I am currently working with a magnetometer (Lis3mdl), i did not find a driver, uorb, for the sensor and used another sensor driver gyroscope (l3gd20_uorb.c) as a example and edited the driver. senso

Re: Heap Logging

2024-06-13 Thread Lee, Lup Yuen
Hi Mark: Thanks for watching my presentation! To show the Heap Logs, I enabled "Build Setup > Debug Options > Enable Debug Features > Memory Manager Debug Features". Here's the complete definition (I hope it's applicable to your platform)... << Symbol: DEBUG_MM_INFO Type : boolean Prompt: Memory

Re: Problems Flashing

2024-06-13 Thread michal . lyszczek
On 2024-06-12 07:35:27, Felix Leonbacher wrote: > Hey Guys, > > I am an embedded systems Student in Germany and wanted to use ur apache > nuttx in my project. Sadly I am unable to flash it. I have a STM32F207 > nucleo-144 and when I come to > openocd -f interface/stlink-v2.cfg -f target/stm32f2x.c

Heap Logging

2024-06-13 Thread Mark Stevens
I am just catching up with the NuttX workshop presentations and something sparked my interest from one of the later presentations. I am looking at the "Heap Usage for QuickJS” slide from Lup Yuens presentation. There is mention of turning on heap logging and this is something I would like to i

Configuring internal watchdog

2024-06-13 Thread Sangam Thapa
Hello everyone. Although I have initialized the both independent watchdog and window watchdog, the timeout seems to be 0 all the time. The watchdog waits tills it reaches 36500 and resets the MCU. Attached here is a log of nsh shell(running IWDG watchdog). Though the driver for WWDG has been in

How to use UART DMA in nuttx?

2024-06-13 Thread Sangam Thapa
Hello. I am currently working on implementing UART transmission using DMA (Direct Memory Access) mode. However, I've encountered challenges due to the scarcity of information available online regarding this topic. My main struggle lies in understanding where and how to define the interrupt callb