1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

add W25Q40 chipid

This commit is contained in:
Martin Ayotte 2015-09-04 09:52:27 -04:00
parent e0b7e0443c
commit fe1cc18ddb

View File

@ -280,6 +280,8 @@ uint32_t EspClass::getFlashChipSizeByChipId(void) {
return (2_MB);
case 0x1440EF: // W25Q80
return (1_MB);
case 0x1340EF: // W25Q40
return (512_kB);
default:
return 0;