Skip to content

Commit 31a72ce

Browse files
keramlevapigrr
authored andcommitted
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: #785 I tested functionality and now adding here to official documentation. Cheers!
1 parent af06847 commit 31a72ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/libraries.md

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ Several APIs may be used to get flash chip info:
9999

100100
`ESP.getFlashChipSize()` returns the flash chip size, in bytes, as seen by the SDK (may be less than actual size).
101101

102+
`ESP.getFlashChipRealSize()` returns the real chip size, in bytes, based on the flash chip ID.
103+
102104
`ESP.getFlashChipSpeed(void)` returns the flash chip frequency, in Hz.
103105

104106
`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.

0 commit comments

Comments
 (0)