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:
parent
e0b7e0443c
commit
fe1cc18ddb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user