1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Documenting of ESP.getFlashChipRealSize() (#2210)

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!
This commit is contained in:
keramlevap 2016-07-04 05:45:18 +03:00 committed by Ivan Grokhotkov
parent af06847f4a
commit 31a72cebb0

View File

@ -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.