diff --git a/include/pinlist.h b/include/pinlist.h index 109ca24..b64f7e7 100644 --- a/include/pinlist.h +++ b/include/pinlist.h @@ -1,3 +1,4 @@ +#pragma once enum RO // relay output channels { diff --git a/src/main.cpp b/src/main.cpp index 8b5a470..d6b009c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,6 +24,11 @@ void setup() LOG_ATTACH_SERIAL(Serial); LOG_SET_LEVEL(DebugLogLevel::LVL_INFO); conf.init(); // read the configuration from internal flash + LOG_INFO("ESP32 Chip:", ESP.getChipModel()); + LOG_INFO("ESP32 PSram:", ESP.getPsramSize()); + LOG_INFO("ESP32 Flash:", ESP.getFlashChipSize()); + LOG_INFO("ESP32 Heap:", ESP.getHeapSize()); + LOG_INFO("ESP32 Sketch:", ESP.getFreeSketchSpace()); } void loop()