From 348ba0deb7245e333316534226f16ec123b018b6 Mon Sep 17 00:00:00 2001 From: brentru Date: Fri, 9 Aug 2024 15:30:53 -0400 Subject: [PATCH 1/2] add output --- src/Wippersnapper.h | 3 ++- src/provisioning/tinyusb/Wippersnapper_FS.cpp | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/Wippersnapper.h b/src/Wippersnapper.h index e0e9f3546..d05c8c4d5 100644 --- a/src/Wippersnapper.h +++ b/src/Wippersnapper.h @@ -115,9 +115,10 @@ #include "components/digitalIO/Wippersnapper_DigitalGPIO.h" #include "components/i2c/WipperSnapper_I2C.h" -// LEDC-Manager, ESP32-only +// Inlcudes for ESP32-only #ifdef ARDUINO_ARCH_ESP32 #include "components/ledc/ws_ledc.h" +#include #endif // Display diff --git a/src/provisioning/tinyusb/Wippersnapper_FS.cpp b/src/provisioning/tinyusb/Wippersnapper_FS.cpp index 5d4db75f3..3dbbcf4bc 100644 --- a/src/provisioning/tinyusb/Wippersnapper_FS.cpp +++ b/src/provisioning/tinyusb/Wippersnapper_FS.cpp @@ -279,6 +279,16 @@ bool Wippersnapper_FS::createBootFile() { bootFile.print("MAC Address: "); bootFile.println(sMAC); + // Print ESP-specific info to boot file + #ifdef ARDUINO_ARCH_ESP32 + // Get version of ESP-IDF + bootFile.print("ESP-IDF Version: "); + bootFile.println(ESP.getSdkVersion()); + // Get version of this core + bootFile.print("ESP32 Core Version: "); + bootFile.println(ESP.getCoreVersion()); + #endif + bootFile.flush(); bootFile.close(); is_success = true; From d1b90f9e56d55c4ea2bf252ea60d7b95a6adeecc Mon Sep 17 00:00:00 2001 From: brentru Date: Tue, 13 Aug 2024 10:33:36 -0400 Subject: [PATCH 2/2] fix typo --- src/Wippersnapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wippersnapper.h b/src/Wippersnapper.h index d05c8c4d5..6966dd058 100644 --- a/src/Wippersnapper.h +++ b/src/Wippersnapper.h @@ -115,7 +115,7 @@ #include "components/digitalIO/Wippersnapper_DigitalGPIO.h" #include "components/i2c/WipperSnapper_I2C.h" -// Inlcudes for ESP32-only +// Includes for ESP32-only #ifdef ARDUINO_ARCH_ESP32 #include "components/ledc/ws_ledc.h" #include