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 <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 >