| 109 | } |
| 110 | |
| 111 | void init() |
| 112 | { |
| 113 | Serial.begin(SERIAL_BAUD_RATE); // 115200 or 9600 by default |
| 114 | |
| 115 | testPgm(); |
| 116 | testProgmem(Serial); |
| 117 | |
| 118 | Serial.println("> ESP8266EX Memory Layout:"); |
| 119 | Serial.println("> 0x3FFE8000 ~ 0x3FFFBFFF - User data RAM, 80kb. Available to applications."); |
| 120 | Serial.println("> 0x40200000 ~ ... - SPI Flash."); |
| 121 | |
| 122 | Serial << "> demoRam array address: 0x" << String(uintptr_t(demoRam), HEX) << " is in the RAM" << endl; |
| 123 | Serial << "> demoPgm array address: 0x" << String(uintptr_t(demoPgm), HEX) << " is in the Flash" << endl; |
| 124 | } |
nothing calls this directly
no test coverage detected