Skip to content

Commit

Permalink
Documenting of ESP.getFlashChipRealSize() (esp8266#2210)
Browse files Browse the repository at this point in the history
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: esp8266#785
I tested functionality and now adding here to official documentation.
Cheers!
  • Loading branch information
keramlevap authored and igrr committed Jul 4, 2016
1 parent af06847 commit 31a72ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 31a72ce

Please sign in to comment.