SPI NOR Flash Single IO Nucleo F767ZI Helloworld 1Gb NOR Flash S70FL01GS

Dependencies:   S70FL01GS mbed

Fork of SPI_FLASH_MEM by Shivanand Gowda

Files at this revision

API Documentation at this revision

Comitter:
shivanandgowdakr
Date:
Mon May 21 10:28:05 2018 +0000
Parent:
3:659cef358f9f
Commit message:
SPI NOR Flash Single IO Nucleo F767ZI Helloworld; ; 1Gb read write erase

Changed in this revision

S25FL256S.lib Show diff for this revision Revisions of this file
S70FL01GS.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 659cef358f9f -r 7f58f3f34f3e S25FL256S.lib
--- a/S25FL256S.lib	Mon May 21 07:51:08 2018 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://os.mbed.com/users/shivanandgowdakr/code/S25FL256S/#c2707c92ecb5
diff -r 659cef358f9f -r 7f58f3f34f3e S70FL01GS.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/S70FL01GS.lib	Mon May 21 10:28:05 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/shivanandgowdakr/code/S70FL01GS/#b3c242976f7e
diff -r 659cef358f9f -r 7f58f3f34f3e main.cpp
--- 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.