• Stars
    star
    106
  • Rank 314,458 (Top 7 %)
  • Language
    C
  • License
    Apache License 2.0
  • Created over 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sqlite library for esp-idf (esp32) framework

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 <device> 115200 and reset board

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

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

More Repositories

1

esp32_arduino_sqlite3_lib

Sqlite3 Arduino library for ESP32
C
285
star
2

sqlite_blaster

Create huge Sqlite indexes at breakneck speeds
C++
173
star
3

sqlite_micro_logger_arduino

Fast and Lean Sqlite database logger for Arduino UNO and above
C
161
star
4

Unishox2

Compression for Unicode short strings (works on arduino)
C
134
star
5

esp_arduino_sqlite3_lib

Sqlite3 library for ESP8266 Arduino core
C
81
star
6

unishox_js

JS Library for Guaranteed compression of Unicode short strings
JavaScript
28
star
7

php_webview

Cross Platform WebView Interface for PHP-ians
C
26
star
8

sqlite_micro_logger_c

C
22
star
9

Shox96_Arduino_lib

Compressing and decompressing Strings for Arduino
C++
19
star
10

Unishox_Arduino_Progmem_lib

Retrieve compressed UTF-8 strings from Arduino Flash memory (Progmem)
C++
17
star
11

sqlite3_page_explorer

Cross Platform app to explore internal organisation of tables and indices
HTML
16
star
12

esp32-idf-sqlite3-examples

Examples for esp-idf sqlite3 component at repository esp32-idf-sqlite3
C
14
star
13

Shox96

Guaranteed Compression for Short Strings
C
10
star
14

ruby_webview

Cross Platform WebView extension for Ruby lovers
C
9
star
15

csv_parser_npmjs

Parse Master-detail CSV data
JavaScript
7
star
16

Shox96_Arduino_Progmem_lib

Store and retrieve compressed text using Progmem for Arduino Uno and upwards
C++
6
star
17

csv_ml

Multi-Level CSV (csv_ml) is a light(er)-weight data interchange format equivalent to JSON and XML
Java
6
star
18

sqlite_blaster_python

A library for creating huge Sqlite indexes at breakneck speeds
C++
5
star
19

Unishox_Sqlite_UDF

Sqlite User defined functions for Unishox compression and decompression as loadable extension
C
5
star
20

employee_db

Sqlite3 version of mysql test_db
4
star
21

Shox96_Sqlite_UDF

Compress / Decompress functions based on Shox96 for SQLite3
C
3
star
22

marisa-esp32

Fast lookups in large static dictionaries - an ESP32 Arduino wrapper for Marisa library
C++
3
star
23

vfp-dbf-reader

VFP DBF Reader
JavaScript
2
star
24

bloom_cpp

Bloom Filter implemention in C++
C++
2
star
25

Unishox_Arduino_lib

Arduino library for Unishox 2 compression method
C++
2
star
26

sakila_sqlite3

Sqlite version of Mysql Sakila sample database
2
star
27

SQLiteNoSQL

NoSQL API for SQLite databases
C++
1
star
28

FirestoreCompress

Store compressed text in Firestore
1
star