MCPcopy Create free account
hub / github.com/PaulStoffregen/SerialFlash / blockSize

Method blockSize

SerialFlashChip.cpp:466–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466uint32_t SerialFlashChip::blockSize()
467{
468 // Spansion chips >= 512 mbit use 256K sectors
469 if (flags & FLAG_256K_BLOCKS) return 262144;
470 // everything else seems to have 64K sectors
471 return 65536;
472}
473
474
475

Callers 1

eraseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected