Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it there a runnable version of sqlite on NuttX ? #9350

Closed
GooTal opened this issue May 20, 2023 · 2 comments
Closed

Is it there a runnable version of sqlite on NuttX ? #9350

GooTal opened this issue May 20, 2023 · 2 comments

Comments

@GooTal
Copy link

GooTal commented May 20, 2023

Hi, i notice that a lady or gentleman ported sqlite to NuttX 5 years ago. But it seems some problems occurred.

I wonder if it`s possbile to run sqlite on NuttX. Specifically, on rv-virt:knsh64 or rv-virt:nsh64 build of NuttX.

Is it possible to read/write files using semihosting(on qemu) both on kernel build and flat build?

@acassis
Copy link
Contributor

acassis commented May 20, 2023

@GooTal yes, it was a FAE from Microchip that did the port many years ago. He shared the port with me and I tried to update it for a new version. It still needs some improvement to integrate on mainline. I'm attaching here the patches that I was testing on ESP32 in 2021:

0001-apps-Add-SQLite-support-on-NuttX.zip
0001-esp32-devkitc-Add-board-config-to-sqlite.zip

@xiaoxiang781216
Copy link
Contributor

@GooTal Please see this patch #12305, let's close this pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants