Storage::ProgMem::ProgMemPartitionTable Class Reference
#include <ProgMem.h>
Inheritance diagram for Storage::ProgMem::ProgMemPartitionTable:
Collaboration diagram for Storage::ProgMem::ProgMemPartitionTable:
Public Member Functions | |
Partition | add (const String &name, const void *flashPtr, size_t size, Partition::FullType type) |
Add partition entry for PROGMEM data access. More... | |
Partition | add (const String &name, const FSTR::ObjectBase &fstr, Partition::FullType type) |
Add partition entry for FlashString data access. More... | |
![]() | |
PartitionTable (Device &device) | |
operator bool () const | |
Partition | find (const String &name) const |
Find partition by name. More... | |
Partition | find (uint32_t address) const |
Find partition containing the given address. More... | |
Partition | findOta (uint8_t index) const |
Find the n'th OTA partition. More... | |
Iterator | begin () const |
Iterator | end () const |
Device & | device () const |
Partition | add (const Partition::Info *info) |
Add new partition using given Info. More... | |
template<typename... Args> | |
Partition | add (const String &name, Partition::FullType type, Args... args) |
void | clear () |
Iterator | find (Partition::Type type=Partition::Type::any, uint8_t subType=Partition::SubType::any) const |
Find partitions based on one or more parameters. More... | |
Iterator | find (Partition::FullType fullType) const |
Additional Inherited Members | |
![]() | |
void | load (const esp_partition_info_t *entry, unsigned count) |
![]() | |
friend | Device |
friend | Iterator |
Device & | mDevice |
Partition::Info::OwnedList | mEntries |
Member Function Documentation
◆ add() [1/2]
|
inline |
Add partition entry for FlashString data access.
◆ add() [2/2]
Partition Storage::ProgMem::ProgMemPartitionTable::add | ( | const String & | name, |
const void * | flashPtr, | ||
size_t | size, | ||
Partition::FullType | type | ||
) |
The documentation for this class was generated from the following file: