From dc6ea492bc31b3082cc321f922a0dcc8d003a2c3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 16 Mar 2026 17:34:25 -1000 Subject: [PATCH] make tidy happen even though compiler would strip it anywyas --- esphome/core/application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphome/core/application.cpp b/esphome/core/application.cpp index ca6c203b18..0281d12b0e 100644 --- a/esphome/core/application.cpp +++ b/esphome/core/application.cpp @@ -239,7 +239,9 @@ void Application::process_dump_config_() { esp_chip_info(&chip_info); ESP_LOGI(TAG, "ESP32 Chip: %s rev%d.%d, %d core(s)", ESPHOME_VARIANT, chip_info.revision / 100, chip_info.revision % 100, chip_info.cores); +#if defined(USE_ESP32_VARIANT_ESP32) && (!defined(USE_ESP32_MIN_CHIP_REVISION_SET) || !defined(USE_ESP32_SRAM1_AS_IRAM)) static const char *const ESP32_ADVANCED_PATH = "under esp32 > framework > advanced"; +#endif #if defined(USE_ESP32_VARIANT_ESP32) && !defined(USE_ESP32_MIN_CHIP_REVISION_SET) { // Suggest optimization for chips that don't need the PSRAM cache workaround