PSram check

This commit is contained in:
Emanuele Trabattoni
2025-08-17 18:41:24 +02:00
parent bbf604e1a8
commit c973632fb8
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#pragma once
enum RO // relay output channels enum RO // relay output channels
{ {

View File

@@ -24,6 +24,11 @@ void setup()
LOG_ATTACH_SERIAL(Serial); LOG_ATTACH_SERIAL(Serial);
LOG_SET_LEVEL(DebugLogLevel::LVL_INFO); LOG_SET_LEVEL(DebugLogLevel::LVL_INFO);
conf.init(); // read the configuration from internal flash 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() void loop()