diff options
| author | hathach <[email protected]> | 2018-11-22 17:40:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-11-22 17:40:20 +0700 |
| commit | 569e85a0c0a80848e3076b64363ce0e589d3a604 (patch) | |
| tree | aebb98121194b9a4333d4933701ce25a79baf071 /src/common | |
| parent | 60d8cde6951fa9fe9c43064ee701598e9da566f7 (diff) | |
cdc work ok with lpc43xx
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/compiler/tusb_compiler_gcc.h | 2 | ||||
| -rw-r--r-- | src/common/compiler/tusb_compiler_iar.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/common/compiler/tusb_compiler_gcc.h b/src/common/compiler/tusb_compiler_gcc.h index c9f716d48..e40ad9c41 100644 --- a/src/common/compiler/tusb_compiler_gcc.h +++ b/src/common/compiler/tusb_compiler_gcc.h @@ -66,10 +66,8 @@ /// The packed attribute specifies that a variable or structure field should have the smallest possible alignment—one byte for a variable, and one bit for a field, unless you specify a larger value with the aligned attribute #define ATTR_PACKED __attribute__ ((packed)) - #define ATTR_PREPACKED -#define ATTR_PACKED_STRUCT(x) x __attribute__ ((packed)) /** @} */ /** \defgroup Group_FuncAttr Function Attributes diff --git a/src/common/compiler/tusb_compiler_iar.h b/src/common/compiler/tusb_compiler_iar.h index 1703ea45f..1f8936859 100644 --- a/src/common/compiler/tusb_compiler_iar.h +++ b/src/common/compiler/tusb_compiler_iar.h @@ -53,8 +53,6 @@ #endif
#define ALIGN_OF(x) __ALIGNOF__(x)
-
-#define ATTR_PACKED_STRUCT(x) __packed x
#define ATTR_PREPACKED __packed
#define ATTR_PACKED
//#define ATTR_SECTION(section) _Pragma((#section))
|
