Very small RAMdisk acting as an USB mass storage device
Dependencies: RAM_DISK USBDevice mbed
Fork of USBMSB_Ramdisk_kl25z by
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 }
Generated on Fri Jul 15 2022 01:12:17 by 1.7.2