GitHub - aeljandro2/esp32-psram-stl: Put the C++ standard library in the ESP32's PSRAM: header-only C++17 allocators for vector, map, unordered_map, string, and your own objects. Arduino and ESP-IDF.

Wait 5 sec.

I built this. It's a header-only C++17 library for Arduino-ESP32 and ESP-IDF that puts every standard container (vector, map, unordered_map, string...) and your own objects in PSRAM, with the exact same `std::` API. ```cpp psram::vector samples(250'000); // 1 MB, in PSRAM psram::map names; // nodes in PSRAM too ``` * PSRAM-only or PSRAM-first-with-fallback policies * `make_unique`, `make_shared`, and a base class for your own types * diagnostics and heap integrity checks * tested with sanitizers and in Espressif's QEMU on ESP32 and ESP32-S3 on every push MIT: https://github.com/aeljandro2/esp32-psram-stl   submitted by   /u/aeljandro2   to   r/coolgithubprojects [link]   [comments]