[debug] Add min_free heap sensor for ESP32 and LibreTiny, add fragmentation for ESP32 (#13231)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-01-15 18:08:26 -10:00
1 parent 14b7539094
commit 8263a8273f
12 files changed
+93 -5

No files matched your search

@@ -51,6 +51,9 @@ void DebugComponent::update_platform_() {
if (this->block_sensor_ != nullptr) {
this->block_sensor_->publish_state(lt_heap_get_max_alloc());
}
if (this->min_free_sensor_ != nullptr) {
this->min_free_sensor_->publish_state(lt_heap_get_min_free());
}
#endif
}