You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
Copy file name to clipboardExpand all lines: doc/libraries.md
+2
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,8 @@ Several APIs may be used to get flash chip info:
99
99
100
100
`ESP.getFlashChipSize()` returns the flash chip size, in bytes, as seen by the SDK (may be less than actual size).
101
101
102
+
`ESP.getFlashChipRealSize()` returns the real chip size, in bytes, based on the flash chip ID.
103
+
102
104
`ESP.getFlashChipSpeed(void)` returns the flash chip frequency, in Hz.
103
105
104
106
`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