Skip to content

Commit 12b2376

Browse files
committed
ATLEDGE-643: Add chip ID to SerialFlash example sketch
RawHardwareTest reports the 101's on-board SPI flash chip as an unknown device. Fix this by adding the device's JEDEC ID to the example sketch.
1 parent b8162e9 commit 12b2376

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/SerialFlash/examples/RawHardwareTest/RawHardwareTest.ino

+1
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ const char * id2chip(const unsigned char *id)
391391
// Winbond
392392
if (id[1] == 0x40) {
393393
if (id[2] == 0x14) return "W25Q80BV";
394+
if (id[2] == 0x15) return "W25Q16DV";
394395
if (id[2] == 0x17) return "W25Q64FV";
395396
if (id[2] == 0x18) return "W25Q128FV";
396397
if (id[2] == 0x19) return "W25Q256FV";

0 commit comments

Comments
 (0)