USB MSD using the AHBSRAM banks 0 and 1 to create a 32k RAM disk. After FAT format 12kb is writable
Dependencies: USBDevice USBMSD_RAM mbed
Fork of USB-MSD_SD_HelloWorld_Mbed-RAMVersion by
main.cpp@27:92a4e3cf24db, 2014-03-26 (annotated)
- Committer:
- jakowisp
- Date:
- Wed Mar 26 07:47:45 2014 +0000
- Revision:
- 27:92a4e3cf24db
- Parent:
- 22:1e79532affdd
Changed name of project and changed to use a different library
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
samux |
2:27a7e7f8d399 | 1 | #include "mbed.h" |
jakowisp | 27:92a4e3cf24db | 2 | #include "USBMSD_RAM.h" |
samux | 22:1e79532affdd | 3 | |
jakowisp | 27:92a4e3cf24db | 4 | USBMSD_RAM sd(p5, p6, p7, p8); |
samux | 22:1e79532affdd | 5 | |
samux |
2:27a7e7f8d399 | 6 | int main() { |
samux |
17:364ef42e502d | 7 | while(1); |
samux |
9:9c343b9ee6d8 | 8 | } |