This commit is contained in:
Thomas Peterson 2026-02-11 11:23:38 +01:00
parent 3db65ce8e8
commit 519b095d16
14 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ add_definitions(
-Wno-unknown-pragmas -Wno-unknown-pragmas
-DMASK_VERSION=0x07B0 -DMASK_VERSION=0x07B0
-DKNX_NO_AUTOMATIC_GLOBAL_INSTANCE -DKNX_NO_AUTOMATIC_GLOBAL_INSTANCE
-DKNX_FLASH_SIZE=16384 -DKNX_FLASH_SIZE=32768
#-DKNX_NO_PRINT #-DKNX_NO_PRINT
#-Wno-stringop-truncation #-Wno-stringop-truncation
) )

View File

@ -24,10 +24,10 @@ static void widget_manager_timer_cb(lv_timer_t* timer)
{ {
(void)timer; (void)timer;
// Debug: Log every 100th call to verify timer is running // Debug: Log every 100th call to verify timer is running
static uint32_t callCount = 0; /*static uint32_t callCount = 0;
if (++callCount % 10 == 0) { if (++callCount % 10 == 0) {
ESP_LOGI("Gui", "Timer tick %lu", callCount); ESP_LOGI("Gui", "Timer tick %lu", callCount);
} }*/
WidgetManager::instance().loop(); WidgetManager::instance().loop();
} }

View File

@ -744,13 +744,13 @@ void WidgetManager::enterStandby() {
} }
void WidgetManager::loop() { void WidgetManager::loop() {
static uint32_t loopCount = 0; /*static uint32_t loopCount = 0;
loopCount++; loopCount++;
if (loopCount % 40 == 0) { if (loopCount % 40 == 0) {
ESP_LOGI(TAG, "Heap: %lu | Internal: %lu", ESP_LOGI(TAG, "Heap: %lu | Internal: %lu",
esp_get_free_heap_size(), esp_get_free_heap_size(),
heap_caps_get_free_size(MALLOC_CAP_INTERNAL)); heap_caps_get_free_size(MALLOC_CAP_INTERNAL));
} }*/
bool didUiNav = false; bool didUiNav = false;
if (navPending_) { if (navPending_) {

View File

@ -1,4 +1,4 @@
# Name, Type, SubType, Offset, Size, Flags # Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000, nvs, data, nvs, 0x9000, 0x20000,
phy_init, data, phy, 0xf000, 0x1000, phy_init, data, phy, 0x29000, 0x1000,
factory, app, factory, 0x10000, 0x300000, factory, app, factory, 0x30000, 0x2D0000,

1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x6000 0x20000
3 phy_init data phy 0xf000 0x29000 0x1000
4 factory app factory 0x10000 0x30000 0x300000 0x2D0000