removing mbed stuff
authorArthur Wolf <wolf.arthur@gmail.com>
Sat, 7 Jul 2012 20:44:31 +0000 (22:44 +0200)
committerArthur Wolf <wolf.arthur@gmail.com>
Sat, 7 Jul 2012 20:44:31 +0000 (22:44 +0200)
gcc4mbed/build/mbed.ld
src/main.cpp

index d8e3319..b6347b3 100644 (file)
@@ -36,8 +36,8 @@ MEMORY
     /* executable region (x) */\r
 \r
     /* Main ROM region - 512k for LPC1768 */\r
-    IROM (rx) : ORIGIN = 0x00000000, LENGTH = 512k\r
-    /*IROM (rx) : ORIGIN = 16K, LENGTH = (512k - 16K)  */\r
+    /* IROM (rx) : ORIGIN = 0x00000000, LENGTH = 512k */\r
+    IROM (rx) : ORIGIN = 16K, LENGTH = (512k - 16K)\r
 \r
     /* local static RAM - 32k for LPC1768 */\r
     IRAM0 (rwx) : ORIGIN = 0x10000000, LENGTH = 32k\r
index cfbb630..ca0c51b 100644 (file)
 #include "libs/nuts_bolts.h"
 #include "libs/utils.h"
 
-//#include "libs/USBCDCMSC/USBCDCMSC.h"
-//SDFileSystem sd(p5, p6, p7, p8, "sd");  // LPC17xx specific : comment if you are not using a SD card ( for example with a mBed ).
-LocalFileSystem local("local");       // LPC17xx specific : comment if you are not running a mBed
-//USBCDCMSC cdcmsc(&sd);                  // LPC17xx specific : Composite serial + msc USB device
+#include "libs/USBCDCMSC/USBCDCMSC.h"
+SDFileSystem sd(p5, p6, p7, p8, "sd");  // LPC17xx specific : comment if you are not using a SD card ( for example with a mBed ).
+//LocalFileSystem local("local");       // LPC17xx specific : comment if you are not running a mBed
+USBCDCMSC cdcmsc(&sd);                  // LPC17xx specific : Composite serial + msc USB device
 
 int main() {
 
@@ -40,7 +40,7 @@ int main() {
     kernel->add_module( new SwitchPool() );
     kernel->add_module( new PauseButton() );   
 
-    //kernel->add_module( &cdcmsc );
+    kernel->add_module( &cdcmsc );
    
     kernel->serial->printf("start\r\n");