mirror of
https://github.com/sanni/cartreader.git
synced 2025-02-02 14:52:40 +01:00
Add S29GL064M to flash.ino
Thanks to BASSIX
This commit is contained in:
parent
70b820cb96
commit
8a40898544
@ -504,6 +504,13 @@ idtheflash:
|
|||||||
sectorSize = 65536;
|
sectorSize = 65536;
|
||||||
bufferSize = 32;
|
bufferSize = 32;
|
||||||
}
|
}
|
||||||
|
// S29GL064M
|
||||||
|
else if (readByte_Flash(28) == 0x10) {
|
||||||
|
println_Msg(F("S29GL064M detected"));
|
||||||
|
flashSize = 8388608;
|
||||||
|
sectorSize = 65536;
|
||||||
|
bufferSize = 32;
|
||||||
|
}
|
||||||
// Unknown S29GL type
|
// Unknown S29GL type
|
||||||
else {
|
else {
|
||||||
println_Msg(F("Unknown S29GL Type"));
|
println_Msg(F("Unknown S29GL Type"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user