diff options
| author | hathach <[email protected]> | 2014-03-13 13:23:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-13 13:23:33 +0700 |
| commit | fa83ba32a537f566a41885730e6a79c7167f5d11 (patch) | |
| tree | fc15e11f6dab6863989b8984f7f6ae68c6630fe8 /demos/host/src | |
| parent | 151c012fde27a8e60c59fc9aebb5089029d1c82f (diff) | |
fix all build error with IAR
- host/host_freertos/host_freertos.ewp
- host/host_os_none/host_os_none.ewp
- device/device_os_none/device_os_none.eww
fix IAR ending warning
Diffstat (limited to 'demos/host/src')
| -rw-r--r-- | demos/host/src/tusb_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/host/src/tusb_config.h b/demos/host/src/tusb_config.h index 13362054c..82e8124af 100644 --- a/demos/host/src/tusb_config.h +++ b/demos/host/src/tusb_config.h @@ -102,7 +102,7 @@ #elif defined __ICCARM__ // compiled with IAR
#if (TUSB_CFG_MCU == MCU_LPC43XX)
- #define TUSB_CFG_ATTR_USBRAM _Pragma("location=\".ahb_sram1\"")
+ #define TUSB_CFG_ATTR_USBRAM _Pragma("location=\".ahb_sram2\"") // some mcu like 4330 ahb_sram1 is used for heap/stack in IAR
#elif (TUSB_CFG_MCU == MCU_LPC175X_6X)
#define TUSB_CFG_ATTR_USBRAM
#endif
|
