From 1610aa3e29d0069c9162a2f853b6ddc38254b0a1 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 13 Mar 2014 00:12:18 +0700 Subject: [PATCH] fix build for host freertos xpresso --- demos/device/src/tusb_config.h | 1 + demos/host/host_freertos/.cproject | 178 +++++++++++++++-------------- demos/host/host_freertos/.project | 13 ++- demos/host/src/tusb_config.h | 20 ++-- 4 files changed, 110 insertions(+), 102 deletions(-) diff --git a/demos/device/src/tusb_config.h b/demos/device/src/tusb_config.h index e9124e1d8..f8d1fb68f 100644 --- a/demos/device/src/tusb_config.h +++ b/demos/device/src/tusb_config.h @@ -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 diff --git a/demos/host/host_freertos/.cproject b/demos/host/host_freertos/.cproject index c6e0046e4..f6e871ba0 100644 --- a/demos/host/host_freertos/.cproject +++ b/demos/host/host_freertos/.cproject @@ -30,7 +30,7 @@ - @@ -59,7 +59,7 @@ - -