Industrial PLC powered by NuttX RTOS

2024-07-09 Thread Alan C. Assis
Dear NuttXers, Talking about NuttX promotion, I just discovered that a Spanish company released a PLC with NuttX support: https://www.industrialshields.com/blog/arduino-industrial-1/first-steps-with-apache-nuttx-rtos-and-esp32-plc-571 Please "start spreading the NuttX" in your social networks ;-

NuttX RTOS inclusion

2024-07-09 Thread Alan C. Assis
Hi Christopher, How are you doing? I hope you are fine. I was looking at the "Related projects" page and noticed there is no reference to Apache NuttX RTOS. As you know, NuttX has supported littlefs since 2019-01-09. Could you please include us in your listing? :-) Thank you very much in advan

Re: Improving NuttX Awareness

2024-07-09 Thread Alan C. Assis
I used a "tutorial" / documentation last month to include a PNG image in the LVGL and the code was mainly done. The only issue I faced was that the converted PNG to C file page generated a code with LVGL v8 information about RGB format. After fixing that everything worked like a charm. BR, Alan

Re: Improving NuttX Awareness

2024-07-09 Thread Gábor Kiss-Vámosi
Actually at LVGL I don't think that we have too many tutorials. What we have are - ready to use projects for many IDEs and several dev boards to easily get started - many simple, short and targeted examples that can be tested by calling functions like lv_example_chart_7() - some complex demos to ha

Re: Improving NuttX Awareness

2024-07-09 Thread Nathan Hartman
On Tue, Jul 9, 2024 at 3:36 PM Alan C. Assis wrote: > Thank you very much Gábor, I think having some nice tutorials like you have > for LVGL will help many people! > > Something that people always asked me to do in the NuttX Channel videos was > create some real file application examples. On th

Re: Improving NuttX Awareness

2024-07-09 Thread Alan C. Assis
Thank you very much Gábor, I think having some nice tutorials like you have for LVGL will help many people! Something that people always asked me to do in the NuttX Channel videos was create some real file application examples. I was more focused on showing NuttX features, but after getting the p

Re: How to improve/simplify NuttX initialization processes?

2024-07-09 Thread Nathan Hartman
On Tue, Jul 9, 2024 at 11:42 AM wrote: > On 2024-07-09 09:21:32, Gregory Nutt wrote: (snip) > Sweeping generalizations generally don't work for all initialization > cases. > > I only meant to use init to replace boardctl initializations but I see your > point. Well, my point still stands for m

Re: Improving NuttX Awareness

2024-07-09 Thread michal . lyszczek
On 2024-07-09 20:12:49, Gábor Kiss-Vámosi wrote: > Hi, > > There are two more points that I'd add: > 1. Easy to get started: have example projects that can be set up by reading > a few lines from the README. Exactly. THE most important thing in project such as this is user friendly. Once the simpl

Re: Improving NuttX Awareness

2024-07-09 Thread Gábor Kiss-Vámosi
Hi, There are two more points that I'd add: 1. Easy to get started: have example projects that can be set up by reading a few lines from the README. 2. Easy to move forward: by reading a few extra sentences the user should know how to customize the project by adding new files, trying new features,

Re: Improving NuttX Awareness

2024-07-09 Thread Alan C. Assis
Another important thing the AI didn't say: YouTube!!! YouTube is another great way to let more people discover about NuttX. There is a nice YouTube channel called Robots5 using NuttX and PySimCoder, please subscribe and help to share it: https://www.youtube.com/watch?v=xFeQVtbyKyQ BR, Alan ht

Re: How to demystify some myths about NuttX

2024-07-09 Thread Nathan Hartman
That should be in the documentation and also further to my thoughts about the NuttX website, this should be distilled to the essence and mentioned right on the landing page, so people won't have to search through a lot of unfamiliar documentation to find it. Cheers Nathan On Tue, Jul 9, 2024 at 1

Re: How to demystify some myths about NuttX

2024-07-09 Thread Alan C. Assis
Hi Michal On Tue, Jul 9, 2024 at 12:08 PM wrote: > On 2024-07-09 09:49:16, Alan C. Assis wrote: > > I think many people outside our community have a misconception about > NuttX: > > They think it is a Linux/Unix RTOS that needs to have a shell integrated > > into it. > > > > Note that all boards

Re: How to demystify some myths about NuttX

2024-07-09 Thread Alin Jerpelea
Hi all, in my opinion nsh provides a good familiar feeling for people coming from Linux and may be missleading for many developers that come from bare metal. I think that we should improve the documentation and list all available options with benefits and drawbacks for each option. Best regards

Re: How to demystify some myths about NuttX

2024-07-09 Thread Saurav Pal
Hi, I agree on a lot of things with Michal (while I can't comment on other things), being almost a beginner to the project (and embedded systems in general) I think my viewpoint can help. Because of the coverage of nsh across videos and documentation, I never knew for sure if nsh was a requirement

Re: How to demystify some myths about NuttX

2024-07-09 Thread Nathan Hartman
Replies inline below: On Tue, Jul 9, 2024 at 11:06 AM wrote: > On 2024-07-09 09:49:16, Alan C. Assis wrote: (snip) > Suggestions about how to proceed to archive it are welcome. > > Probably we will need collective help to archive it for all boards. > > Other problem I've seen is bad (or rathe

Re: How to improve/simplify NuttX initialization processes?

2024-07-09 Thread michal . lyszczek
On 2024-07-09 09:21:32, Gregory Nutt wrote: > On 7/9/2024 9:10 AM, michal.lyszc...@bofc.pl wrote: > > I am just copy pasting my message from other thread, as I did not see > > that one in time :) So my proposition is: > > > > I think I would be good if nuttx had something like /sbin/init that woul

Re: How to demystify some myths about NuttX

2024-07-09 Thread Philippe Leduc
Erf sorry, I messup with my email client... BR, -- Philippe Le 9 juil. 2024 à 16:30, "Alan C. Assis" a écrit :Sorry Nathan, Actually it was Philippe that replied to the incorrect thread :-) BR, Alan On Tue, Jul 9, 2024 at 11:29 AM Alan C. Assis wrote: > Thank you for this great feedback

Re: How to demystify some myths about NuttX

2024-07-09 Thread michal . lyszczek
On 2024-07-09 17:20:26, Sebastien Lorquet wrote: > On 09/07/2024 17:06, michal.lyszc...@bofc.pl wrote: > > I think I would be good if nuttx had something like /sbin/init that would > > do some very simple service management. Then you could just tick > > "Start NSH after boot up". > > I think you c

Re: How to improve/simplify NuttX initialization processes?

2024-07-09 Thread Gregory Nutt
On 7/9/2024 9:10 AM, michal.lyszc...@bofc.pl wrote: I am just copy pasting my message from other thread, as I did not see that one in time :) So my proposition is: I think I would be good if nuttx had something like /sbin/init that would do some very simple service management. Then you could jus

Re: How to demystify some myths about NuttX

2024-07-09 Thread Sebastien Lorquet
Hi, On 09/07/2024 17:06, michal.lyszc...@bofc.pl wrote: I think I would be good if nuttx had something like /sbin/init that would do some very simple service management. Then you could just tick "Start NSH after boot up". I think you can already do this by writing an init app and using that to

Re: How to improve/simplify NuttX initialization processes?

2024-07-09 Thread michal . lyszczek
On 2024-07-09 10:06:53, Alan C. Assis wrote: > How can we improve things? > > How can we simplify this? I am just copy pasting my message from other thread, as I did not see that one in time :) So my proposition is: I think I would be good if nuttx had something like /sbin/init that would do some

Re: How to demystify some myths about NuttX

2024-07-09 Thread michal . lyszczek
On 2024-07-09 09:49:16, Alan C. Assis wrote: > I think many people outside our community have a misconception about NuttX: > They think it is a Linux/Unix RTOS that needs to have a shell integrated > into it. > > Note that all boards are required to have a "nsh" board profile, it was a > suggestion

Re: How to improve/simplify NuttX initialization processes?

2024-07-09 Thread Alan C. Assis
On Tue, Jul 9, 2024 at 11:08 AM Philippe Leduc wrote: > For the record, we had a hard time understanding why NSH is a VIP citizen > and that there are multiple ways of initializing NuttX ( > https://github.com/apache/nuttx/issues/10821). > I agree that the documentation is lacking on this subject

Re: How to demystify some myths about NuttX

2024-07-09 Thread Alan C. Assis
Sorry Nathan, Actually it was Philippe that replied to the incorrect thread :-) BR, Alan On Tue, Jul 9, 2024 at 11:29 AM Alan C. Assis wrote: > Thank you for this great feedback Philippe, but I think it should be at > other thread: > > How to improve/simplify NuttX initialization processes? >

Re: How to demystify some myths about NuttX

2024-07-09 Thread Alan C. Assis
Thank you for this great feedback Philippe, but I think it should be at other thread: How to improve/simplify NuttX initialization processes? I think Nathan replied to incorrect thread. Please move the discussion to the right thread. BR, Alan On Tue, Jul 9, 2024 at 11:08 AM Philippe Leduc wr

Re: How to demystify some myths about NuttX

2024-07-09 Thread Philippe Leduc
For the record, we had a hard time understanding why NSH is a VIP citizen and that there are multiple ways of initializing NuttX (https://github.com/apache/nuttx/issues/10821). I agree that the documentation is lacking on this subject, but I still feel that NSH shall be see as a standard userspa

Re: Fwd: Rust Integration in Apache NuttX Apps: GSoC 2024 Mid-Term Recap

2024-07-09 Thread Nathan Hartman
Thank you Lup for the excellent explanation! Always informative and a pleasure to read. Good luck with the next 6 weeks of GSoC and thanks very much for your efforts. Nathan On Mon, Jul 8, 2024 at 9:29 PM Lee, Lup Yuen wrote: > Hi All: I'm very sorry for the delay. Let me explain what Rushabh

Re: How to demystify some myths about NuttX

2024-07-09 Thread Nathan Hartman
Documentation needs to explicitly have two sections: * NuttX without a shell (booting directly into your custom firmware application) * NuttX with a shell: booting into NSH Within NuttX with a shell, we should explain: * Purpose of NSH: * Example of how to program and use many OS features *

How to improve/simplify NuttX initialization processes?

2024-07-09 Thread Alan C. Assis
Hi Everyone, I decided to bring it from here:https://github.com/apache/nuttx/pull/12641 to improve our discussion. Historically NuttX has many initialization options and not a unified initialization process. NSH for example has its own and exclusive NSH ARCH INIT (because naturally it has more t

How to demystify some myths about NuttX

2024-07-09 Thread Alan C. Assis
Dear NuttXers, I think many people outside our community have a misconception about NuttX: They think it is a Linux/Unix RTOS that needs to have a shell integrated into it. Note that all boards are required to have a "nsh" board profile, it was a suggestion/requirement to confirm that the system