Change HOSTBASEADDR for use with the RTOS.
Dependents: mpod_nhk_english mpod_picasa_photoframe mpod_nhk_english_spxml vmConfort_v6
Fork of MSCFileSystem by
Diff: USBHostLite/usbhost_lpc17xx.cpp
- Revision:
- 5:e8786b7cfc82
- Parent:
- 4:dcc326e4d358
--- 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