Re: fcntl F_SETLK, F_SETLKW, F_GETLK

2024-02-19 Thread Jernej Turnsek
Cool. Is there a possibility to share your work via PM? This way I can test the solution on my side also. Jernej On Tue, Feb 20, 2024 at 8:23 AM Xiang Xiao wrote: > We have implemented file lock to support the database engine like sqlite > and unqlite. The implementation will go upstream soon.

Re: fcntl F_SETLK, F_SETLKW, F_GETLK

2024-02-19 Thread Xiang Xiao
We have implemented file lock to support the database engine like sqlite and unqlite. The implementation will go upstream soon. On Tue, Feb 20, 2024 at 3:04 PM Jernej Turnsek wrote: > Hi, > I would like to use Sqlite on NuttX and I have managed to successfully > build the Sqlite3 library. When

Assert macro causing problems when building Sqlite

2024-02-19 Thread Jernej Turnsek
Hi, the same problem as new UNUSED macro was causing me problems when building external libraries, like LuaJIT, an assert macro is also causing problems when building Sqlite3 library. Sqlite code has a lot of assert statements which are usually excluded when NDEBUG is set. But when assert is

fcntl F_SETLK, F_SETLKW, F_GETLK

2024-02-19 Thread Jernej Turnsek
Hi, I would like to use Sqlite on NuttX and I have managed to successfully build the Sqlite3 library. When running the library, I have noticed that Sqlite is using fcntl F_SETLK and F_SETLKW for locking and those are not implemented on NuttX. Is there a plan to implement this in the future?

Re: Better FPGA support on NuttX //was Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Victor Suarez Rovere
Reference to cheap FPGA boards (< $20) were added to the new repo, more docs will follow there: https://github.com/cederom/nuttx-fpga So, FPGA is not strictly related to $$$

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Victor Suarez Rovere
FPGA development boards are indeed not cheap, as the chips themselves are expensive. But those of us who are in the field know some solutions. Indeed I'm working on designing a low cost FPGA board right now. Until mine is ready, a useful alternative is to reuse some mass marketed products that are

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Tomek CEDRO
Okay, this may be too complex and too early, true I also had lots of issues and was not able to work on my FreeBSD with Open-Source only tools, lets start step by step from simple things first then more complex ones, will try again with NuttX+FPGA funding next round, thank you guys, I will be in

Better FPGA support on NuttX //was Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Alan C. Assis
Let's follow the discussion here to avoid polluting the previous thread. On 2/18/24, Tomek CEDRO wrote: > Closed, okay, and the FPGA part did not get in? > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > On Sun, Feb 18, 2024 at 10:17 PM Alan C. Assis wrote: >> >> Hi Tomek, >> Thank you

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Alan C. Assis
Hi Victor, Yes, as I said before I also think this is a very important field, but at least for this chinese board I realized that things are not there yet. Maybe using a Lattice FPGA could work better, but anyway, a good FPGA board to run a RISC-V is not too low cost. Tang Primer 20K is lower

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Victor Suarez Rovere
Hi I have experience doing FPGA development including graphics (micropython port, ImGUI port, USB mouse/keyboard etc.) I think the open-source tool ecosystem for FPGA development is mature enough not to depend on proprietary tools and IP, mainly related to Lattice devices but also for most Xilinx

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Alan C. Assis
Tomek, The list with all GSoC 2024 from Apache Foundation is here: https://cwiki.apache.org/confluence/display/COMDEV/GSoC+2024+Ideas+list Until now we have two contributors interested in participating, but we proposed 6 projects. Best Regards, Alan On Sun, Feb 18, 2024 at 8:02 PM Tomek

Re: [OT] Projects for GSoC 2024

2024-02-19 Thread Alan C. Assis
No, as we pointed out, it is a long term project that needs to be well thought out. You listed many possibilities, we need to define a goal and focus on it. Let me share my (bad) experience with FPGA: Sometime ago I bought a low cost Tang Primer 20K board expecting to start using open-source