mn_basic_caps_allocator.hpp File Reference
#include "../mn_config.hpp"
#include "esp_heap_caps.h"
#include "esp32/spiram.h"
#include "soc/efuse_reg.h"

Go to the source code of this file.

Classes

class  mn::memory::basic_caps_allocator< TCAPS, TSBITS >
 

Namespaces

 mn
 
 mn::memory
 

Macros

#define CAP_ALLOCATOR_MAP_SIZE(TCAPS, TSBITS)   ((int)(TCAPS)|(int)(TSBITS))
 

Typedefs

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS, class TFilter = basic_allocator_filter>
using mn::memory::caps_allocator = basic_allocator< basic_caps_allocator< TCAPS, TSBITS >, TFilter >
 

Enumerations

enum class  mn::memory::cap_allocator_map {
  mn::memory::NotUse2 = MALLOC_CAP_PID2 , mn::memory::NotUse3 = MALLOC_CAP_PID3 , mn::memory::NotUse4 = MALLOC_CAP_PID4 , mn::memory::NotUse5 = MALLOC_CAP_PID5 ,
  mn::memory::NotUse6 = MALLOC_CAP_PID6 , mn::memory::NotUse7 = MALLOC_CAP_PID7 , mn::memory::SpiRam = MALLOC_CAP_SPIRAM , mn::memory::Internal = MALLOC_CAP_INTERNAL ,
  mn::memory::Default = MALLOC_CAP_DEFAULT , mn::memory::DMA = MALLOC_CAP_EXEC , mn::memory::Exec = MALLOC_CAP_DMA
}
 
enum class  mn::memory::cap_allocator_size { mn::memory::Size8Bit = MALLOC_CAP_8BIT , mn::memory::Size32Bit = MALLOC_CAP_32BIT }
 

Macro Definition Documentation

◆ CAP_ALLOCATOR_MAP_SIZE

#define CAP_ALLOCATOR_MAP_SIZE (   TCAPS,
  TSBITS 
)    ((int)(TCAPS)|(int)(TSBITS))