SDFileSystem test for FRDM-KL25Z
Dependencies: SDFileSystem mbed
Fork of SDFileSystem_HelloWorld by
Revision 1:f9fb0a1c21e1, committed 2013-05-31
- Comitter:
- bikeNomad
- Date:
- Fri May 31 02:40:33 2013 +0000
- Parent:
- 0:bdbd3d6fc5d5
- Commit message:
- Changes for FRDM-KL25Z
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r bdbd3d6fc5d5 -r f9fb0a1c21e1 main.cpp --- a/main.cpp Fri Dec 07 11:25:01 2012 +0000 +++ b/main.cpp Fri May 31 02:40:33 2013 +0000 @@ -1,8 +1,16 @@ #include "mbed.h" #include "SDFileSystem.h" -SDFileSystem sd(p5, p6, p7, p8, "sd"); // the pinout on the mbed Cool Components workshop board - +// PTD0 D10 – Used for CS of SPI +// PTD2 D11 – Used for MOSI of SPI +// PTD3 D12 – Used for MISO of SPI +// PTC5 – Used for SCK of SPI + +// PTC5 is also usable as SCK (J1/09) + +// MOSI, MISO, SCLK, CS, name +SDFileSystem sd(PTD2, PTD3, PTC5, PTD0, "sd"); + int main() { printf("Hello World!\n");
diff -r bdbd3d6fc5d5 -r f9fb0a1c21e1 mbed.bld --- a/mbed.bld Fri Dec 07 11:25:01 2012 +0000 +++ b/mbed.bld Fri May 31 02:40:33 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/63cdd78b2dc1 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17 \ No newline at end of file