Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/siara-cc/esp32-idf-sqlite3
Sqlite library for esp-idf (esp32) framework
https://github.com/siara-cc/esp32-idf-sqlite3
esp-idf esp32 esp32-idf sqlite sqlite3
Last synced: 3 days ago
JSON representation
Sqlite library for esp-idf (esp32) framework
- Host: GitHub
- URL: https://github.com/siara-cc/esp32-idf-sqlite3
- Owner: siara-cc
- License: apache-2.0
- Created: 2018-10-13T10:59:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T17:46:45.000Z (about 1 year ago)
- Last Synced: 2023-11-07T17:19:43.623Z (about 1 year ago)
- Topics: esp-idf, esp32, esp32-idf, sqlite, sqlite3
- Language: C
- Homepage:
- Size: 19.6 MB
- Stars: 126
- Watchers: 10
- Forks: 43
- Open Issues: 14
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
SQLite3 library
===============Overview
--------Create / access SQLite3 database files using this library through SPIFFS / SD Cards.
For more information, please see https://github.com/siara-cc/esp32_arduino_sqlite3_lib
Installation
------------Install ESP-IDF sdk using instructions from https://docs.espressif.com/projects/esp-idf/en/latest/get-started/.
Unzip this project under esp-idf/components folder. Or if you are cloning the repository at https://github.com/espressif/esp-idf, add this repository as submodule using:
`git submodule add https://github.com/siara-cc/esp32-idf-sqlite3 components/esp32-idf-sqlite3`.
Using examples
--------------1. Download [esp-idf-v4.1.1.zip](https://github.com/espressif/esp-idf/releases/download/v4.1.1/esp-idf-v4.1.1.zip) that includes submodules and unzip
2. `cd esp-idf-v4.1.1`, install using `sudo ./install.sh`
3. `git submodule add https://github.com/siara-cc/esp32-idf-sqlite3 components/esp32-idf-sqlite3`
4. `git submodule add https://github.com/siara-cc/esp32-idf-sqlite3-examples examples/esp32-idf-sqlite3-examples`
5. `cd examples/esp32-idf-sqlite3-examples/spiffs`
6. `make flash`
7. To check output, use `miniterm.py 115200` and reset boardInformation specific to ESP-IDF
-------------------------------To check out how this library works, please try the examples using:
`git submodule add https://github.com/siara-cc/esp32-idf-sqlite3-examples examples/esp32-idf-sqlite3-examples`
For instance, to check how Sqlite3 databases can be created on SPIFFS, navigate to the folder `examples/esp32-idf-sqlite3-examples/spiffs` and invoke `make flash`.
Many configurations specific to SQLite library have been set in the `sdkconfig.defaults` file, such as:
- Increasing stack size
- Setting SPIFFS partition information
- Partition sizeThe Flash size has been assumed as 4MB for SPIFFS example. Please change any of these configurations if necessary.
Issues
------If you face any issues, please contact the author (Arundale Ramanathan) at [email protected] or create a github issue.