FlashDB/demos/esp32_spi_flash
Anuj Deshpande 86d00aa5fd
[fdb] Fixes to build for IDF w/o errors (#293)
2024-04-24 20:24:11 +08:00
..
components/FlashDB Add support for building esp32 demo under IDF 5.x (#292) 2024-04-22 14:20:14 +08:00
main Add support for building esp32 demo under IDF 5.x (#292) 2024-04-22 14:20:14 +08:00
.gitignore feat: add demo project for esp32 2022-04-24 11:03:01 +02:00
CMakeLists.txt [fdb] Fixes to build for IDF w/o errors (#293) 2024-04-24 20:24:11 +08:00
Makefile feat: add demo project for esp32 2022-04-24 11:03:01 +02:00
README.md feat: add demo project for esp32 2022-04-24 11:03:01 +02:00
partitions.csv feat: add demo project for esp32 2022-04-24 11:03:01 +02:00
sdkconfig.defaults feat: add demo project for esp32 2022-04-24 11:03:01 +02:00

README.md

flashDB demo esp32 Example

built with ESP IDF version 4.4.1 (v4.4.1-64-g4b2098bc58) using cmake.

run idf.py build in this directory and then flash with idf.py flash and monitor the output with idf.py monitor.

A custom partition table is required so that a partition can be created for the FlashDB. The size in the demo is set to 32K, see file partitions.csv. Custom partitions are enabled by default in sdkconfig.defaults.

The file sdkconfig.defaults contains by default all values required for the demo to work, i.e. the custom partitions are configured. By default the SPI flash is configured to be 4MB.