fix build for host freertos xpresso

This commit is contained in:
hathach
2014-03-13 00:12:18 +07:00
parent 1d98e895fa
commit 1610aa3e29
4 changed files with 110 additions and 102 deletions

View File

@@ -87,6 +87,7 @@
// USB RAM PLACEMENT
//--------------------------------------------------------------------+
#ifdef __CODE_RED // compiled with lpcxpresso
#if (TUSB_CFG_MCU == MCU_LPC11UXX) || (TUSB_CFG_MCU == MCU_LPC13UXX)
#define TUSB_CFG_ATTR_USBRAM ATTR_SECTION(.data.$RAM2)
#elif TUSB_CFG_MCU == MCU_LPC175X_6X