libpq and libscpi: how to start

2022-10-27 Thread michael . schmid

Dear all,

i would like to see Nuttx support for the PostgreSQL client library 
libpq(https://github.com/postgres/postgres/tree/master/src/interfaces/libpq), 
and a library for SCPI(https://www.jaybee.cz/scpi-parser/api/). These 
scpi parser lib could then be used for USBTMC and LXI, 2 standards to 
expose lab instruments in a standardized way to software like LabView, 
GNU Octave, ect.


Both projects are under BSD license, so they should be compatible from 
the license side with Nuttx.


I think, as common libraries for other app, and maybe service, they 
should be placed under nuttxspace/nuttx/libs in the Nuttx tree, not in 
the application tree. At least the PostgreSQL client library requires 
network. What would be the advice, where to place these kind of 
libraries?


For the PostgreSQL client library, there are implementations for 
Arudino, additional to the PC based implementations. But because the 
POSIX compatibility of Nuttx, starting from the Linux version should 
make more sense, or?


regards,
Michael


Re: libpq and libscpi: how to start

2022-10-27 Thread Alan C. Assis
Hi Michael,

I think someone else told some time ago that he used a similar lib for
mysql, I think it was Ivan.

Those libs inside nuttx/libs/ are libs used by the kernel and apps,
but in this case the lib should be put inside apps/databases/postgres
for example. It should be a lib just like apps/graphics/lvgl and many
others.

BR,

Alan

On 10/27/22, michael.sch...@mdc-service.de
 wrote:
> Dear all,
>
> i would like to see Nuttx support for the PostgreSQL client library
> libpq(https://github.com/postgres/postgres/tree/master/src/interfaces/libpq),
>
> and a library for SCPI(https://www.jaybee.cz/scpi-parser/api/). These
> scpi parser lib could then be used for USBTMC and LXI, 2 standards to
> expose lab instruments in a standardized way to software like LabView,
> GNU Octave, ect.
>
> Both projects are under BSD license, so they should be compatible from
> the license side with Nuttx.
>
> I think, as common libraries for other app, and maybe service, they
> should be placed under nuttxspace/nuttx/libs in the Nuttx tree, not in
> the application tree. At least the PostgreSQL client library requires
> network. What would be the advice, where to place these kind of
> libraries?
>
> For the PostgreSQL client library, there are implementations for
> Arudino, additional to the PC based implementations. But because the
> POSIX compatibility of Nuttx, starting from the Linux version should
> make more sense, or?
>
> regards,
> Michael
>


Re: libpq and libscpi: how to start

2022-10-27 Thread Nathan Hartman
On Thu, Oct 27, 2022 at 12:19 PM Alan C. Assis  wrote:

> Hi Michael,
>
> I think someone else told some time ago that he used a similar lib for
> mysql, I think it was Ivan.
>
> Those libs inside nuttx/libs/ are libs used by the kernel and apps,
> but in this case the lib should be put inside apps/databases/postgres
> for example. It should be a lib just like apps/graphics/lvgl and many
> others.


I agree with that; nothing prevents applications from using the libs under
apps.

If they require kernel support then that might be another thing.

Cheers
Nathan


Re: [DISCUSS] NuttX graduation: Draft Resolution

2022-10-27 Thread Nathan Hartman
Ping... Folks, we need to choose a Vice President for the proposed
Apache NuttX TLP.


On Tue, Oct 25, 2022 at 9:55 PM Nathan Hartman  wrote:
>
> Dear NuttX community,
>
> As our community VOTE [1] for graduation to Top Level Project has
> PASSED [2], the next steps are:
>
> (1) Draft our Charter/Resolution
> (2) Decide members of the initial Project Management Committee (PMC)
> (3) Choose the 1st Vice President of the proposed Apache NuttX PMC
>
> Please participate so we can get this done efficiently!
>
> Regarding item #1, below please find a 1st Draft Resolution for review
> and discussion -- this draft was generated by Whimsy (there's a button
> at the bottom of our podling page [3] to draft the resolution). Please
> read it anyway and provide feedback!!!
>
> Regarding item #2, currently the draft resolution lists all members of
> the Apache NuttX (Incubating) PPMC to become members of the proposed
> Apache NuttX PMC. If anyone feels there should be changes, please let
> us know.
>
> Regarding item #3, the draft resolution has [!! INSERT NAME HERE !!]
> where the name of the proposed Vice President should be written. We
> need to decide who that will be. The Vice President reports to the
> board 4 times each year, similarly to how we have been reporting to
> the Incubator PMC (IPMC), but there are no mentors who need to sign
> off on it. Speak up if you're interested in being the Vice President
> of Apache NuttX!
>
> 1st draft of our Resolution:
>
> [[[
>
> Establish the Apache NuttX Project
>
> WHEREAS, the Board of Directors deems it to be in the best interests of
> the Foundation and consistent with the Foundation's purpose to
> establish a Project Management Committee charged with the creation and
> maintenance of open-source software, for distribution at no charge to
> the public, related to a mature, real-time embedded operating system
> (RTOS).
>
> NOW, THEREFORE, BE IT RESOLVED, that a Project Management Committee
> (PMC), to be known as the "Apache NuttX Project", be and hereby is
> established pursuant to Bylaws of the Foundation; and be it further
>
> RESOLVED, that the Apache NuttX Project be and hereby is responsible
> for the creation and maintenance of software related to a mature, real-
> time embedded operating system (RTOS); and be it further
>
> RESOLVED, that the office of "Vice President, Apache NuttX" be and
> hereby is created, the person holding such office to serve at the
> direction of the Board of Directors as the chair of the Apache NuttX
> Project, and to have primary responsibility for management of the
> projects within the scope of responsibility of the Apache NuttX
> Project; and be it further
>
> RESOLVED, that the persons listed immediately below be and hereby are
> appointed to serve as the initial members of the Apache NuttX Project:
>
>  * Abdelatif Guettouche   
>  * Alan Carvalho de Assis 
>  * Alin Jerpelea  
>  * Anthony Merlino
>  * Brennan Ashton 
>  * David Sidrane  
>  * Duo Zhang  
>  * Flavio Paiva Junqueira 
>  * Gregory Nutt   
>  * Gustavo Henrique Nihei 
>  * Junping Du 
>  * Justin Mclean  
>  * Lup Yuen Lee   
>  * Masayuki Ishikawa  
>  * Mohammad Asif Siddiqui 
>  * Nathan Hartman 
>  * Sara Monteiro  
>  * Xiang Xiao 
>
> NOW, THEREFORE, BE IT FURTHER RESOLVED, that [!! INSERT NAME HERE !!]
> be appointed to the office of Vice President, Apache NuttX, to serve in
> accordance with and subject to the direction of the Board of Directors
> and the Bylaws of the Foundation until death, resignation, retirement,
> removal or disqualification, or until a successor is appointed; and be
> it further
>
> RESOLVED, that the Apache NuttX Project be and hereby is tasked with
> the migration and rationalization of the Apache Incubator NuttX
> podling; and be it further
>
> RESOLVED, that all responsibilities pertaining to the Apache Incubator
> NuttX podling encumbered upon the Apache Incubator PMC are hereafter
> discharged.
>
> ]]]
>
> References:
>
> [1] https://lists.apache.org/thread/r1tn6qstkqmhh52szy4j2bgnnydbjmx4
>
> [2] https://lists.apache.org/thread/ss1dqyh8b80zlkq42cp5so4qth7z08q2
>
> [3] https://whimsy.apache.org/roster/ppmc/nuttx
>
> [4] https://incubator.apache.org/guides/graduation.html
>
> Thanks to everyone!
>
> Cheers,
> Nathan


Re: [DISCUSS] NuttX graduation: Draft Resolution

2022-10-27 Thread Alin Jerpelea
If none has a better idea I can step in

Best Regards
Alin

On Fri, 28 Oct 2022, 06:35 Nathan Hartman,  wrote:

> Ping... Folks, we need to choose a Vice President for the proposed
> Apache NuttX TLP.
>
>
> On Tue, Oct 25, 2022 at 9:55 PM Nathan Hartman 
> wrote:
> >
> > Dear NuttX community,
> >
> > As our community VOTE [1] for graduation to Top Level Project has
> > PASSED [2], the next steps are:
> >
> > (1) Draft our Charter/Resolution
> > (2) Decide members of the initial Project Management Committee (PMC)
> > (3) Choose the 1st Vice President of the proposed Apache NuttX PMC
> >
> > Please participate so we can get this done efficiently!
> >
> > Regarding item #1, below please find a 1st Draft Resolution for review
> > and discussion -- this draft was generated by Whimsy (there's a button
> > at the bottom of our podling page [3] to draft the resolution). Please
> > read it anyway and provide feedback!!!
> >
> > Regarding item #2, currently the draft resolution lists all members of
> > the Apache NuttX (Incubating) PPMC to become members of the proposed
> > Apache NuttX PMC. If anyone feels there should be changes, please let
> > us know.
> >
> > Regarding item #3, the draft resolution has [!! INSERT NAME HERE !!]
> > where the name of the proposed Vice President should be written. We
> > need to decide who that will be. The Vice President reports to the
> > board 4 times each year, similarly to how we have been reporting to
> > the Incubator PMC (IPMC), but there are no mentors who need to sign
> > off on it. Speak up if you're interested in being the Vice President
> > of Apache NuttX!
> >
> > 1st draft of our Resolution:
> >
> > [[[
> >
> > Establish the Apache NuttX Project
> >
> > WHEREAS, the Board of Directors deems it to be in the best interests of
> > the Foundation and consistent with the Foundation's purpose to
> > establish a Project Management Committee charged with the creation and
> > maintenance of open-source software, for distribution at no charge to
> > the public, related to a mature, real-time embedded operating system
> > (RTOS).
> >
> > NOW, THEREFORE, BE IT RESOLVED, that a Project Management Committee
> > (PMC), to be known as the "Apache NuttX Project", be and hereby is
> > established pursuant to Bylaws of the Foundation; and be it further
> >
> > RESOLVED, that the Apache NuttX Project be and hereby is responsible
> > for the creation and maintenance of software related to a mature, real-
> > time embedded operating system (RTOS); and be it further
> >
> > RESOLVED, that the office of "Vice President, Apache NuttX" be and
> > hereby is created, the person holding such office to serve at the
> > direction of the Board of Directors as the chair of the Apache NuttX
> > Project, and to have primary responsibility for management of the
> > projects within the scope of responsibility of the Apache NuttX
> > Project; and be it further
> >
> > RESOLVED, that the persons listed immediately below be and hereby are
> > appointed to serve as the initial members of the Apache NuttX Project:
> >
> >  * Abdelatif Guettouche   
> >  * Alan Carvalho de Assis 
> >  * Alin Jerpelea  
> >  * Anthony Merlino
> >  * Brennan Ashton 
> >  * David Sidrane  
> >  * Duo Zhang  
> >  * Flavio Paiva Junqueira 
> >  * Gregory Nutt   
> >  * Gustavo Henrique Nihei 
> >  * Junping Du 
> >  * Justin Mclean  
> >  * Lup Yuen Lee   
> >  * Masayuki Ishikawa  
> >  * Mohammad Asif Siddiqui 
> >  * Nathan Hartman 
> >  * Sara Monteiro  
> >  * Xiang Xiao 
> >
> > NOW, THEREFORE, BE IT FURTHER RESOLVED, that [!! INSERT NAME HERE !!]
> > be appointed to the office of Vice President, Apache NuttX, to serve in
> > accordance with and subject to the direction of the Board of Directors
> > and the Bylaws of the Foundation until death, resignation, retirement,
> > removal or disqualification, or until a successor is appointed; and be
> > it further
> >
> > RESOLVED, that the Apache NuttX Project be and hereby is tasked with
> > the migration and rationalization of the Apache Incubator NuttX
> > podling; and be it further
> >
> > RESOLVED, that all responsibilities pertaining to the Apache Incubator
> > NuttX podling encumbered upon the Apache Incubator PMC are hereafter
> > discharged.
> >
> > ]]]
> >
> > References:
> >
> > [1] https://lists.apache.org/thread/r1tn6qstkqmhh52szy4j2bgnnydbjmx4
> >
> > [2] https://lists.apache.org/thread/ss1dqyh8b80zlkq42cp5so4qth7z08q2
> >
> > [3] https://whimsy.apache.org/roster/ppmc/nuttx
> >
> > [4] https://incubator.apache.org/guides/graduation.html
> >
> > Thanks to everyone!
> >
> > Cheers,
> > Nathan
>