-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
#pragma once | ||
|
||
#include <array> | ||
#include <string> | ||
#include "esp_partition.h" | ||
|
||
namespace esphome { | ||
void dump_partitions(); | ||
namespace daikin_rotex_can { | ||
|
||
class PartitionsDumper { | ||
public: | ||
static void dump(); | ||
|
||
private: | ||
static std::string to_hex(std::array<uint8_t, 16> const& data); | ||
static void print_ota_partition(esp_partition_t const* partition, std::string const& partition_getter); | ||
}; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters