From 2e2937f3f52425c238908702e140826841360091 Mon Sep 17 00:00:00 2001 From: keramlevap Date: Thu, 30 Jun 2016 20:47:19 +0300 Subject: [PATCH] Documenting of ESP.getFlashChipRealSize() Hi, I added ESP.getFlashChipRealSize() function to the documentation. I couldn't determine flash size of my ESP based on getFlashChipSize function, so I was googling and found this: https://github.com/esp8266/Arduino/issues/785 I tested functionality and now adding here to official documentation. Cheers! --- doc/libraries.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/libraries.md b/doc/libraries.md index 767a64085f..de9926d51f 100644 --- a/doc/libraries.md +++ b/doc/libraries.md @@ -99,6 +99,8 @@ Several APIs may be used to get flash chip info: `ESP.getFlashChipSize()` returns the flash chip size, in bytes, as seen by the SDK (may be less than actual size). +`ESP.getFlashChipRealSize()` returns the real chip size, in bytes, based on the flash chip ID. + `ESP.getFlashChipSpeed(void)` returns the flash chip frequency, in Hz. `ESP.getCycleCount()` returns the cpu instruction cycle count since start as an unsigned 32-bit. This is useful for accurate timing of very short actions like bit banging.