MicroSwap

Vectors, strings, maps and ring buffers bigger than your board's RAM, swapped to an SD card, an SPI memory chip or flash.

Author
espmaniac
Website
https://github.com/espmaniac/MicroSwap
Category
Data Storage
License
Unlicense
Library Type
Contributed
Architectures
Any

Keeps a few pages of data in RAM and moves the rest to storage by itself as you use it. VMVector, VMString (any length), VMMap, VMRingBuffer, VMArray and VMPtr work like the standard containers. Storage: a file on SD or flash, SPI SRAM, PSRAM or FRAM chips, or two functions of your own. No malloc, no exceptions; AVR, ESP32, ESP8266, STM32, SAMD, RP2040 and any core with a C++11 compiler.

Downloads

Filename Release Date File Size
MicroSwap-0.2.0.zip 2026-11-07 98.11 KiB