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!
main.cpp@0:fc0ff7c1656b, 2013-05-15 (annotated)
- Committer:
- ragmondo
- Date:
- Wed May 15 22:39:46 2013 +0000
- Revision:
- 0:fc0ff7c1656b
check in as it works
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ragmondo | 0:fc0ff7c1656b | 1 | #include "mbed.h" |
ragmondo | 0:fc0ff7c1656b | 2 | #include "USBMSD_Ram.h" |
ragmondo | 0:fc0ff7c1656b | 3 | |
ragmondo | 0:fc0ff7c1656b | 4 | USBMSD_Ram sd; |
ragmondo | 0:fc0ff7c1656b | 5 | |
ragmondo | 0:fc0ff7c1656b | 6 | int main() { |
ragmondo | 0:fc0ff7c1656b | 7 | while(1); |
ragmondo | 0:fc0ff7c1656b | 8 | } |