Re: GSoC 2021 - How Mentors and Students will apply?

2021-03-11 Thread Matias N.
Just created the issue here: https://github.com/apache/incubator-nuttx/issues/3031 Please let me know if something needs more clarification. Best, Matias On Thu, Mar 11, 2021, at 13:02, Matias N. wrote: > I think I will open a GH issue for this, so as not to derail this thread. > I don't know th

Re: Discussion regarding termios support in NuttX.

2021-03-11 Thread Sara da Cunha Monteiro de Souza
Great explanation! Thanks Mr Nutt 😊 Em qui., 11 de mar. de 2021 às 13:38, Gregory Nutt escreveu: > > > 1. tcgetsid() and tcsendbreak() interfaces are declared but never > defined > > in NuttX. Why? > > Prototypes for those functions are required to be in termios.h whether > they are implemented

Re: What to be perfomed in up_earlyserialinit?

2021-03-11 Thread Sara da Cunha Monteiro de Souza
Hum.. ok. Running "git grep lowsetup" I just found it on UART peripheral code. And in the case of ESP32, for example, although there is a comment mentioning "esp32_lowsetup()" it was not actually implemented. Em qui., 11 de mar. de 2021 às 13:13, Gregory Nutt escreveu: > No, xyz_earlyearlyinit()

Re: Discussion regarding termios support in NuttX.

2021-03-11 Thread Gregory Nutt
1. tcgetsid() and tcsendbreak() interfaces are declared but never defined in NuttX. Why? Prototypes for those functions are required to be in termios.h whether they are implemented or not. https://pubs.opengroup.org/onlinepubs/7908799/xsh/termios.h.html Of course it would be better if the

Re: What to be perfomed in up_earlyserialinit?

2021-03-11 Thread Gregory Nutt
No, xyz_earlyearlyinit() initializes the serial driver to support a serial console device (stdin, stdout, stderr).  xyz_lowsetup() may initialize any hardware, not necessarily UART.  It has nothing to do with the serial driver. It initializes whatever hardware in necessary to start the system. 

Re: GSoC 2021 - How Mentors and Students will apply?

2021-03-11 Thread Matias N.
I think I will open a GH issue for this, so as not to derail this thread. I don't know the mentor's GitHub username so please CC him if you do. Best, Matias On Thu, Mar 11, 2021, at 12:22, Alan Carvalho de Assis wrote: > Hi Matias, > > For sure! I recall you even start to creating some prototype

RE: [EXT] Re: Project specific power management configuration

2021-03-11 Thread Matias N.
Calling those functions from applications would be a violation of OS/application isolation, as these are OS level calls. The general idea is that a driver only knows what to do on each sleep level and the IDLE loop uses those functions to drive the change of states of PM system. >From application

RE: [EXT] Re: Project specific power management configuration

2021-03-11 Thread Cis Van Mierlo
Hi Matias, So I didn't implement the activity triggers and reactions plus IDLE loop like on https://nuttx.apache.org/docs/latest/components/power.html. We just call pm_changestate(MCU_POWER_DOMAIN, PM_SLEEP) from the application, because this application has a sleep state. The pm_changestate() f

Re: GSoC 2021 - How Mentors and Students will apply?

2021-03-11 Thread Alan Carvalho de Assis
Hi Matias, For sure! I recall you even start to creating some prototype of this idea. We should to discuss it in more details here. I think Mr. Bhargav is already subscribed to this mailing list, he could align with you too. BR, Alan On 3/11/21, Matias N. wrote: > Hi Alan, > Just saw the prop

Re: What to be perfomed in up_earlyserialinit?

2021-03-11 Thread Sara da Cunha Monteiro de Souza
Hi Mr Nutt, I am so sorry for delaying my answer. I went into vacation and missed this conversation. So, I came up to the conclusion that the *_lowsetup *function that I've seen in many chips is a standard deviation and it is actually playing the role of the *xyz_earlyserialinit().* Am I right?

GSoC 2021 - How Mentors and Students will apply?

2021-03-11 Thread Matias N.
Hi Alan, Just saw the proposal about device tree integration. While I cannot commit to being a mentor it would be great to be part of the discussion on how to bring it forward. I thought about it for some time now and I have some sort of roadmap that I was intending to propose eventually. Maybe

Re: GSoC 2021 - How Mentors and Students will apply?

2021-03-11 Thread Alan Carvalho de Assis
Hi Maxim, Thank you very much! I'll subscribe and instruct the mentors and students to do so! BR, Alan On 3/11/21, Maxim Solodovnik wrote: > I believe this is described here: https://community.apache.org/gsoc.html :) > > On Thu, 11 Mar 2021 at 20:08, Alan Carvalho de Assis > wrote: > >> Hi Sa

Re: GSoC 2021 - How Mentors and Students will apply?

2021-03-11 Thread Maxim Solodovnik
I believe this is described here: https://community.apache.org/gsoc.html :) On Thu, 11 Mar 2021 at 20:08, Alan Carvalho de Assis wrote: > Hi Sally, > > We already got some Mentors and Student interested to apply. > > I know that Students need to apply before March 29, but reading the > links at

Re: Invitation to participate with the ASF at GSoC 2021

2021-03-11 Thread Maxim Solodovnik
please subscribe to mentors@ list first :) then read this http://community.apache.org/gsoc.html document :) On Mon, 8 Mar 2021 at 19:18, Alan Carvalho de Assis wrote: > Thank you Maxim, > > What is the next step? > > For pysimCoder we already have a student and a mentor available. > > BR, > > Al

Discussion regarding termios support in NuttX.

2021-03-11 Thread Sara da Cunha Monteiro de Souza
Hi all, I've been implementing termios support for ESP32-C3 and I noticed a couple of things that left me curious about. 1. tcgetsid() and tcsendbreak() interfaces are declared but never defined in NuttX. Why? 2. I noticed no chip implemented the TCXONC ioctl required by tcflow() interface. Is t

GSoC 2021 - How Mentors and Students will apply?

2021-03-11 Thread Alan Carvalho de Assis
Hi Sally, We already got some Mentors and Student interested to apply. I know that Students need to apply before March 29, but reading the links at Apache website it is not clear how they should apply? This is our listing until now: Project - Interested Mentor - Interest