Re: [OT] Moving to a RTOS on the RP2040

2024-07-07 Thread Alan C. Assis
Thank you Greg! I didn't know about this detail, normally I use only "depends on" and "select", but in fact "default" fixes the issue! I will submit some fixes to improve our Kconfig. I invite other to help: whenever you see some unsatisfied dependence, please submit a fix. BR, Alan On Sun, Ju

Re: [OT] Moving to a RTOS on the RP2040

2024-07-07 Thread Gregory Nutt
On 7/7/2024 6:05 AM, Alan C. Assis wrote: I was thinking about an idea to include some #ifdefs to detect that some probable feature combination: https://github.com/apache/nuttx/pull/12638 I.E.: if the user selected NET and IPv4 it is probable that he will need ICMP, but we cannot enforce th

Re: [OT] Moving to a RTOS on the RP2040

2024-07-07 Thread Alan C. Assis
I investigated the issue and in fact it was caused by a logic error in our netinit.c, I just submitted a fix: https://github.com/apache/nuttx-apps/pull/2435/commits/0ee93e1aaaca9de2680458278253eeed85808ac

Re: [OT] Moving to a RTOS on the RP2040

2024-07-05 Thread Alan C. Assis
Nathan, Absolutely! I'm talking with him and he already spotted many issues. Other issues we all faced and we didn't care, like enabling DHCPC and the Kconfig didn't enable DNSCLIENT). Although we know that in theory people could use DHCPC without DNS, in common usage it will not happen. He also

Re: [OT] Moving to a RTOS on the RP2040

2024-07-04 Thread Nathan Hartman
On Thu, Jul 4, 2024 at 7:19 PM Gregory Nutt wrote: > > On 7/4/2024 4:44 PM, Alan C. Assis wrote: > > I think Greg avoided using submodules because there are many issues > caused > > by it. > > > > In fact submodules could avoid this issue, but maybe we could have some > > marks indicating the las

Re: [OT] Moving to a RTOS on the RP2040

2024-07-04 Thread Gregory Nutt
On 7/4/2024 4:44 PM, Alan C. Assis wrote: I think Greg avoided using submodules because there are many issues caused by it. In fact submodules could avoid this issue, but maybe we could have some marks indicating the last commit expected on apps/ to the current nuttx/ This way if someone git

Re: [OT] Moving to a RTOS on the RP2040

2024-07-04 Thread Alan C. Assis
I think Greg avoided using submodules because there are many issues caused by it. In fact submodules could avoid this issue, but maybe we could have some marks indicating the last commit expected on apps/ to the current nuttx/ This way if someone git pull the nuttx/ and forgot to git pull the app

Re: [OT] Moving to a RTOS on the RP2040

2024-07-04 Thread Nathan Hartman
On Thu, Jul 4, 2024 at 5:21 PM Alan C. Assis wrote: > Nice post for a guy (apparently with previous Linux experience, that type > of person normally find their way well on NuttX) moving from baremetal to > RTOS: > > https://blog.brixit.nl/moving-to-a-rtos-on-the-rp2040/ > > The issue he commented

[OT] Moving to a RTOS on the RP2040

2024-07-04 Thread Alan C. Assis
Nice post for a guy (apparently with previous Linux experience, that type of person normally find their way well on NuttX) moving from baremetal to RTOS: https://blog.brixit.nl/moving-to-a-rtos-on-the-rp2040/ The issue he commented about "make distclean" not working is serious and we need to find