FlashDB/demos/esp32_spi_flash
Jens Saalmüller b5bc536a96 fix: set printf format depending on size of time 2022-04-25 07:38:38 +02:00
..
components/FlashDB fix: set printf format depending on size of time 2022-04-25 07:38:38 +02:00
main feat: add demo project for esp32 2022-04-24 11:03:01 +02:00
.gitignore feat: add demo project for esp32 2022-04-24 11:03:01 +02:00
CMakeLists.txt feat: add demo project for esp32 2022-04-24 11:03:01 +02: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.