diff options
| author | hathach <[email protected]> | 2019-06-06 10:39:37 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-06-06 10:39:37 +0700 |
| commit | 13e01c7dca1e72097be1723676b086be29d0e622 (patch) | |
| tree | 699e883134aae84d54fe592346b2bb4eb92acb7c /examples | |
| parent | 90fea785c6aa60fdfd398fee262bb06c69a010b7 (diff) | |
add TU_ prefix to compiler ATTR to prevent name conflict with application
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/cdc_msc_hid/src/tusb_config.h | 2 | ||||
| -rw-r--r-- | examples/device/cdc_msc_hid_freertos/src/tusb_config.h | 2 | ||||
| -rw-r--r-- | examples/device/hid_generic_inout/src/tusb_config.h | 2 | ||||
| -rw-r--r-- | examples/device/msc_dual_lun/src/tusb_config.h | 2 | ||||
| -rw-r--r-- | examples/host/cdc_msc_hid/src/tusb_config.h | 2 | ||||
| -rw-r--r-- | examples/obsolete/host/src/tusb_config.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/device/cdc_msc_hid/src/tusb_config.h b/examples/device/cdc_msc_hid/src/tusb_config.h index 8981077d3..6b1f0700b 100644 --- a/examples/device/cdc_msc_hid/src/tusb_config.h +++ b/examples/device/cdc_msc_hid/src/tusb_config.h @@ -62,7 +62,7 @@ #endif #ifndef CFG_TUSB_MEM_ALIGN -#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4) +#define CFG_TUSB_MEM_ALIGN TU_ATTR_ALIGNED(4) #endif //-------------------------------------------------------------------- diff --git a/examples/device/cdc_msc_hid_freertos/src/tusb_config.h b/examples/device/cdc_msc_hid_freertos/src/tusb_config.h index dfa8be629..b4e18de92 100644 --- a/examples/device/cdc_msc_hid_freertos/src/tusb_config.h +++ b/examples/device/cdc_msc_hid_freertos/src/tusb_config.h @@ -62,7 +62,7 @@ #endif #ifndef CFG_TUSB_MEM_ALIGN -#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4) +#define CFG_TUSB_MEM_ALIGN TU_ATTR_ALIGNED(4) #endif //-------------------------------------------------------------------- diff --git a/examples/device/hid_generic_inout/src/tusb_config.h b/examples/device/hid_generic_inout/src/tusb_config.h index acd23f954..dc7d98812 100644 --- a/examples/device/hid_generic_inout/src/tusb_config.h +++ b/examples/device/hid_generic_inout/src/tusb_config.h @@ -62,7 +62,7 @@ #endif #ifndef CFG_TUSB_MEM_ALIGN -#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4) +#define CFG_TUSB_MEM_ALIGN TU_ATTR_ALIGNED(4) #endif //-------------------------------------------------------------------- diff --git a/examples/device/msc_dual_lun/src/tusb_config.h b/examples/device/msc_dual_lun/src/tusb_config.h index fe30fbf20..ae57b4d60 100644 --- a/examples/device/msc_dual_lun/src/tusb_config.h +++ b/examples/device/msc_dual_lun/src/tusb_config.h @@ -62,7 +62,7 @@ #endif #ifndef CFG_TUSB_MEM_ALIGN -#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4) +#define CFG_TUSB_MEM_ALIGN TU_ATTR_ALIGNED(4) #endif //-------------------------------------------------------------------- diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h index 144efa519..9662223b1 100644 --- a/examples/host/cdc_msc_hid/src/tusb_config.h +++ b/examples/host/cdc_msc_hid/src/tusb_config.h @@ -63,7 +63,7 @@ #endif #ifndef CFG_TUSB_MEM_ALIGN -#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4) +#define CFG_TUSB_MEM_ALIGN TU_ATTR_ALIGNED(4) #endif //-------------------------------------------------------------------- diff --git a/examples/obsolete/host/src/tusb_config.h b/examples/obsolete/host/src/tusb_config.h index d88da4bb4..a025e9091 100644 --- a/examples/obsolete/host/src/tusb_config.h +++ b/examples/obsolete/host/src/tusb_config.h @@ -67,7 +67,7 @@ #if CFG_TUSB_MCU == OPT_MCU_LPC175X_6X #define CFG_TUSB_MEM_SECTION // LPC17xx USB DMA can access all address #elif (CFG_TUSB_MCU == OPT_MCU_LPC43XX) - #define CFG_TUSB_MEM_SECTION ATTR_SECTION(.data.$RAM3) + #define CFG_TUSB_MEM_SECTION TU_ATTR_SECTION(.data.$RAM3) #endif #elif defined __CC_ARM // Compiled with Keil armcc |
