Change HOSTBASEADDR for use with the RTOS.

Dependents:   mpod_nhk_english mpod_picasa_photoframe mpod_nhk_english_spxml vmConfort_v6

Fork of MSCFileSystem by Chris Styles

Files at this revision

API Documentation at this revision

Comitter:
togayan
Date:
Wed Aug 15 10:10:06 2012 +0000
Parent:
4:dcc326e4d358
Commit message:
Change the way the arrangement of HOSTBASEADDR

Changed in this revision

USBHostLite/usbhost_lpc17xx.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r dcc326e4d358 -r e8786b7cfc82 USBHostLite/usbhost_lpc17xx.cpp
--- a/USBHostLite/usbhost_lpc17xx.cpp	Mon Jul 23 09:59:06 2012 +0000
+++ b/USBHostLite/usbhost_lpc17xx.cpp	Wed Aug 15 10:10:06 2012 +0000
@@ -45,9 +45,9 @@
 
 // USB host structures
 // AHB SRAM block 1
-#define HOSTBASEADDR 0x2007C000
+#define HOSTBASEADDR 0x20080000
 // reserve memory for the linker
-static USB_INT08U HostBuf[0x200] __attribute__((at(HOSTBASEADDR)));
+static USB_INT08U HostBuf[0x200] __attribute__((section(".ARM.__at_0x20080000")));
 /*
 **************************************************************************************************************
 *                                         DELAY IN MILLI SECONDS