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.
Dependencies: S25FL216K_FATFileSystem mbed
Fork of S25FL216K_HelloWorld by
Revision 3:321618d7c9a5, committed 2013-11-19
- Comitter:
- Sissors
- Date:
- Tue Nov 19 21:09:35 2013 +0000
- Parent:
- 1:e8698224bb08
- Child:
- 4:6a2931c19204
- Commit message:
- Bugfix
Changed in this revision
--- a/S25FL216K_USBFileSystem.lib Fri Aug 02 19:01:53 2013 +0000 +++ b/S25FL216K_USBFileSystem.lib Tue Nov 19 21:09:35 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/Sissors/code/S25FL216K_USBFileSystem/#355e49586f92 +http://mbed.org/users/Sissors/code/S25FL216K_USBFileSystem/#ec125501d68f
--- a/main.cpp Fri Aug 02 19:01:53 2013 +0000
+++ b/main.cpp Tue Nov 19 21:09:35 2013 +0000
@@ -18,7 +18,7 @@
int main()
{
flash.attachUSB(&usbCallback);
-
+
wait(0.1);
printf("Hello World!\r\n");
@@ -26,7 +26,10 @@
if(fp == NULL) {
printf("Could not open file, assuming unformatted disk!\r\n");
- printf("Click in the nice popup window to format disk with default settings!\r\n");
+ printf("Formatting disk!\r\n");
+ flash.format();
+ printf("Disk formatted!\r\n");
+ printf("Reset your device!\r\n");
while(1);
} else {
wait(0.2);
--- a/mbed-src.lib Fri Aug 02 19:01:53 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/Sissors/code/mbed-src2/#aee376ec5d1a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.lib Tue Nov 19 21:09:35 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/#673126e12c73
