Prototype example of a ram disk running over usb on a kl25z
Dependencies: RAM_DISK USBDevice mbed
By jove it works. Had to recompile a few times as it has a "size" issue and also lower the size of the char init .. but it works... w00t!
Revision 0:fc0ff7c1656b, committed 2013-05-15
- Comitter:
- ragmondo
- Date:
- Wed May 15 22:39:46 2013 +0000
- Commit message:
- check in as it works
Changed in this revision
diff -r 000000000000 -r fc0ff7c1656b RAM_DISK.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RAM_DISK.lib Wed May 15 22:39:46 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/ragmondo/code/RAM_DISK/#0b8a0be40802
diff -r 000000000000 -r fc0ff7c1656b USBDevice.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USBDevice.lib Wed May 15 22:39:46 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/USBDevice/#354942d2fa38
diff -r 000000000000 -r fc0ff7c1656b main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed May 15 22:39:46 2013 +0000 @@ -0,0 +1,8 @@ +#include "mbed.h" +#include "USBMSD_Ram.h" + +USBMSD_Ram sd; + +int main() { + while(1); +} \ No newline at end of file
diff -r 000000000000 -r fc0ff7c1656b mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed May 15 22:39:46 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17 \ No newline at end of file