diff options
| author | hathach <[email protected]> | 2018-04-12 13:04:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-12 13:04:48 +0700 |
| commit | e1272159d8b32e2f5478b35fa0e727cfc5c417e3 (patch) | |
| tree | ee7e617d7d0e354a25918eaee681c951a2d5c165 /examples/obsolete/host/src | |
| parent | 18f97fef7e35937c017f2b2ad2300a920256f66b (diff) | |
rename MCU_ to OPT_MCU
Diffstat (limited to 'examples/obsolete/host/src')
| -rw-r--r-- | examples/obsolete/host/src/tusb_config.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/obsolete/host/src/tusb_config.h b/examples/obsolete/host/src/tusb_config.h index 9a13aa25a..c3e67328e 100644 --- a/examples/obsolete/host/src/tusb_config.h +++ b/examples/obsolete/host/src/tusb_config.h @@ -76,26 +76,26 @@ //--------------------------------------------------------------------+ #ifdef __CODE_RED // make use of code red's support for ram region macros - #if CFG_TUSB_MCU == MCU_LPC175X_6X + #if CFG_TUSB_MCU == OPT_MCU_LPC175X_6X #define CFG_TUSB_ATTR_USBRAM // LPC17xx USB DMA can access all address - #elif (CFG_TUSB_MCU == MCU_LPC43XX) + #elif (CFG_TUSB_MCU == OPT_MCU_LPC43XX) #define CFG_TUSB_ATTR_USBRAM ATTR_SECTION(.data.$RAM3) #endif #elif defined __CC_ARM // Compiled with Keil armcc - #if (CFG_TUSB_MCU == MCU_LPC175X_6X) + #if (CFG_TUSB_MCU == OPT_MCU_LPC175X_6X) #define CFG_TUSB_ATTR_USBRAM // LPC17xx USB DMA can access all address - #elif (CFG_TUSB_MCU == MCU_LPC43XX) + #elif (CFG_TUSB_MCU == OPT_MCU_LPC43XX) #define CFG_TUSB_ATTR_USBRAM // Use keil tool configure to have AHB SRAM as default memory #endif #elif defined __ICCARM__ // compiled with IAR - #if (CFG_TUSB_MCU == MCU_LPC175X_6X) + #if (CFG_TUSB_MCU == OPT_MCU_LPC175X_6X) // LP175x_6x can access all but CMSIS-RTX causes overflow in 32KB SRAM --> move to AHB ram #define CFG_TUSB_ATTR_USBRAM _Pragma("location=\".sram\"") - #elif (CFG_TUSB_MCU == MCU_LPC43XX) + #elif (CFG_TUSB_MCU == OPT_MCU_LPC43XX) #define CFG_TUSB_ATTR_USBRAM _Pragma("location=\".ahb_sram1\"") #endif |
