mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-27 21:16:50 +03:00
add BergMicro Flash IDs
This commit is contained in:
parent
866921c54a
commit
5d7a3e939c
@ -283,6 +283,16 @@ uint32_t EspClass::getFlashChipSizeByChipId(void) {
|
|||||||
case 0x1340EF: // W25Q40
|
case 0x1340EF: // W25Q40
|
||||||
return (512_kB);
|
return (512_kB);
|
||||||
|
|
||||||
|
// BergMicro
|
||||||
|
case 0x1640E0: // BG25Q32
|
||||||
|
return (4_MB);
|
||||||
|
case 0x1540E0: // BG25Q16
|
||||||
|
return (2_MB);
|
||||||
|
case 0x1440E0: // BG25Q80
|
||||||
|
return (1_MB);
|
||||||
|
case 0x1340E0: // BG25Q40
|
||||||
|
return (512_kB);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user