From 29355e7c3d140ae3d7f480a57e56074cd243a022 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Fri, 13 Feb 2026 00:43:18 +0100 Subject: [PATCH] use full silicon version (aka chip revision) in startup output --- wled00/wled.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wled00/wled.cpp b/wled00/wled.cpp index 6798c748..9f1b0199 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -569,7 +569,12 @@ void WLED::setup() #endif USER_PRINT(F("CPU: ")); USER_PRINT(ESP.getChipModel()); - USER_PRINT(F(" rev.")); USER_PRINT(ESP.getChipRevision()); + #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 3) // use the full revision if we can + esp_chip_info_t chip_info; esp_chip_info(&chip_info); + USER_PRINTF(" v%u.%u", unsigned(chip_info.full_revision / 100), unsigned(chip_info.full_revision % 100)); + #else + USER_PRINT(F(" rev.")); USER_PRINT(ESP.getChipRevision()); + #endif USER_PRINT(F(", ")); USER_PRINT(ESP.getChipCores()); USER_PRINT(F(" core(s)")); USER_PRINT(F(", ")); USER_PRINT(ESP.getCpuFreqMHz()); USER_PRINTLN(F("MHz."));