Skip to content

Commit fe1cc18

Browse files
committed
add W25Q40 chipid
1 parent e0b7e04 commit fe1cc18

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎cores/esp8266/Esp.cpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ uint32_t EspClass::getFlashChipSizeByChipId(void) {
280280
return (2_MB);
281281
case 0x1440EF: // W25Q80
282282
return (1_MB);
283+
case 0x1340EF: // W25Q40
284+
return (512_kB);
283285

284286
default:
285287
return 0;

0 commit comments

Comments
 (0)