Very small RAMdisk acting as an USB mass storage device

Dependencies:   RAM_DISK USBDevice mbed

Fork of USBMSB_Ramdisk_kl25z by Richard Green

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 /* USBMSB_Ramdisk
00002  *
00003  * This is a fork of the USBMSB_Ramdisk_kl25z program of Richard Green
00004  * Link: https://developer.mbed.org/users/ragmondo/code/USBMSB_Ramdisk_kl25z/
00005  *
00006  * The program implements a very small (about 12kbyte) filesystem in RAM
00007  * and offers it by USBMSD protocol as an USB mass storag device.
00008  *
00009  * Hardware requirements:
00010  *  - FRDM-KL25Z board
00011  *  - The USB FRDM socket should be connected to a PC (or to other USB host)
00012  */ 
00013 
00014 #include "mbed.h"
00015 #include "USBMSD_Ram.h"
00016 
00017 USBMSD_Ram sd;
00018 
00019 int main() {
00020     while(1);
00021 }