Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SerialFlash by
Diff: SerialFlash.cpp
- Revision:
- 1:5f1a6c63fa57
- Parent:
- 0:e5c9fd5789d7
diff -r e5c9fd5789d7 -r 5f1a6c63fa57 SerialFlash.cpp --- a/SerialFlash.cpp Thu Apr 14 12:05:15 2016 +0000 +++ b/SerialFlash.cpp Mon Jul 11 07:49:22 2016 +0000 @@ -27,8 +27,8 @@ #include "mbed.h" #include "SerialFlash.h" -static SPI spi(D11,D12,D13); // mosi, miso, sclk - DigitalOut cspin(D6); +static SPI spi(PB_15,PB_14,PB_13); // mosi, miso, sclk + DigitalOut cspin(PB_12); #define CSASSERT() cspin = 0 #define CSRELEASE() cspin = 1 @@ -471,7 +471,7 @@ // size sector busy pgm/erase chip // Part Mbyte kbyte ID bytes cmd suspend erase // ---- ---- ----- -------- --- ------- ----- -// Winbond W25Q64CV 8 64 EF 40 17 +// Winbond W25Q64CV 8 64 EF 40 17 // Winbond W25Q128FV 16 64 EF 40 18 05 single 60 & C7 // Winbond W25Q256FV 32 64 EF 40 19 // Spansion S25FL064A 8 ? 01 02 16
