SPI NOR Flash Single IO Nucleo F767ZI Helloworld 1Gb NOR Flash S70FL01GS
Fork of SPI_FLASH_MEM by
Diff: main.cpp
- Revision:
- 4:7f58f3f34f3e
- Parent:
- 2:f62261b0ef55
--- a/main.cpp Mon May 21 07:51:08 2018 +0000 +++ b/main.cpp Mon May 21 10:28:05 2018 +0000 @@ -4,14 +4,14 @@ #include "mbed.h" -#include "S25FL256S.h" +#include "S70FL01GS.h" #include <string> Serial pc(USBTX, USBRX); // tx, rx int main() { - S25FL256S flash(PA_7, PA_6, PA_5, PA_4); + S70FL01GS flash(PA_7, PA_6, PA_5, PA_4); pc.printf("SPI init done\r\n\r\n"); uint8_t buffer[100]= {0}; // Read Identification information Related to chip.