pmt: Last commit for 1.2.0 version

- Major changes for developers.
 - Some changes to flash and sizeof functions.
 - Some minor changes.
This commit is contained in:
2025-09-05 11:31:46 +03:00
parent 51ae72aba1
commit 2615ddd127
14 changed files with 81 additions and 61 deletions

View File

@@ -62,11 +62,13 @@ private:
std::vector<std::string> partitions, imageNames;
std::string rawPartitions, rawImageNames, imageDirectory;
uint64_t bufferSize = 0;
bool deleteAfterProgress = false;
public:
COMMON_FUNCTION_BODY();
static pair runAsync(const std::string &partitionName,
const std::string &imageName, uint64_t bufferSize);
const std::string &imageName, uint64_t bufferSize,
bool deleteAfterProgress);
};
// Eraser function (writes zero bytes to partition)