Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By rudy
#57907 I found the following code in cleanESP8266. I am confused about the number reported. The first block makes sense. I don't understand why I get the numbers from the second block. Why is it so big and shouldn't I be getting 3MB? (Chip compile setup is 3M size with 3M SPIFFS)


Code: Select all 
 
          Serial.print("Flash Real Size: ");
          Serial.println(ESP.getFlashChipRealSize());
          Serial.print("Flash Firmware Configured Size: ");
          Serial.println(ESP.getFlashChipSize());
         
          FSInfo fsInfo;
          SPIFFS.info(fsInfo);
          Serial.print("FS Bytes: ");
          Serial.print(fsInfo.usedBytes);
          Serial.print(" / ");
          Serial.println(fsInfo.totalBytes);
         


Prints the following/

Flash Real Size: 4194304
Flash Firmware Configured Size: 4194304
FS Bytes: 1885644992 / 1073683708 < I don't get this.