mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
Johny Mattsson
2b454abfdf
Improved flash size detection.
With the recent flash layout changes, it became very possible to misdetect the flash size. We're now using the partition table as the guard marker, since that really shouldn't be all 0xff. Also, we now don't clobber the flash device id (and keep block/sector/page/mask values).
Languages
C
93.1%
Lua
5.5%
Makefile
0.7%
C++
0.3%
Python
0.1%
Other
0.1%