|
|
@ -66,6 +66,11 @@ void settingsSetup() { |
|
|
|
ESP.reset(); |
|
|
|
}); |
|
|
|
|
|
|
|
Embedis::command( F("STATUS"), [](Embedis* e) { |
|
|
|
Serial.printf("Free heap: %d bytes\n", ESP.getFreeHeap()); |
|
|
|
e->response(Embedis::OK); |
|
|
|
}); |
|
|
|
|
|
|
|
Embedis::command( F("EEPROM.DUMP"), [](Embedis* e) { |
|
|
|
for (unsigned int i = 0; i < SPI_FLASH_SEC_SIZE; i++) { |
|
|
|
if (i % 16 == 0) Serial.printf("\n[%04X] ", i); |
|
|
|