mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-30 02:29:12 +03:00
move some vectors to psram, fix syslog start/stop
This commit is contained in:
29
lib/esp32-psram/src/esp32-psram.h
Normal file
29
lib/esp32-psram/src/esp32-psram.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef ESP32
|
||||
/**
|
||||
* @file ESP32-PSRAM.h
|
||||
* @brief Main include file for the ESP32-PSRAM library
|
||||
*
|
||||
* This header includes all components of the ESP32-PSRAM library and
|
||||
* provides a using namespace directive for easier access to library features.
|
||||
*/
|
||||
|
||||
// Include all library components
|
||||
#include "esp32-psram/AllocatorPSRAM.h" // PSRAM-backed vector
|
||||
#include "esp32-psram/VectorPSRAM.h" // PSRAM-backed vector
|
||||
#include "esp32-psram/VectorHIMEM.h" // HIMEM-backed vector
|
||||
// #include "esp32-psram/InMemoryFile.h" // File interface using vectors
|
||||
// #include "esp32-psram/PSRAM.h" // PSRAM file system
|
||||
// #include "esp32-psram/HIMEM.h" // HIMEM file system
|
||||
#include "esp32-psram/RingBufferStream.h" // Stream-based ring buffer
|
||||
#include "esp32-psram/TypedRingBuffer.h" // Typed ring buffer for structured data
|
||||
|
||||
#ifndef ESP32_PSRAM_NO_NAMESPACE
|
||||
using namespace esp32_psram;
|
||||
#endif
|
||||
|
||||
#else
|
||||
#error "This library is only compatible with ESP32 platforms."
|
||||
#endif // ESP32
|
||||
|
||||
Reference in New Issue
Block a user