|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
RAII scope that routes cJSON allocations to PSRAM. More...
#include "cJSON.h"#include "esp_heap_caps.h"#include <cstddef>#include <cstdlib>Go to the source code of this file.
Classes | |
| struct | cdc::ui::PsramCjsonScope |
| Routes cJSON allocations to PSRAM for the lifetime of the scope. More... | |
Namespaces | |
| namespace | cdc |
| namespace | cdc::ui |
| Centralized key-code constants for cdc_views. | |
RAII scope that routes cJSON allocations to PSRAM.
Keeps cJSON parse/print trees off the scarce internal heap by swapping the cJSON allocator hooks to PSRAM for the scope's lifetime and restoring the defaults on destruction.
Definition in file PsramCjson.h.