/* 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
#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() {
kernel->add_module( new SwitchPool() );
kernel->add_module( new PauseButton() );
- //kernel->add_module( &cdcmsc );
+ kernel->add_module( &cdcmsc );
kernel->serial->printf("start\r\n");