[toolchain] remove unnecessary OT_TOOL_ALIGN (#4344)

This commit is contained in:
Abtin Keshavarzian
2019-11-20 10:52:17 -08:00
committed by Jonathan Hui
parent 4b422a33a0
commit 23e89196c0
2 changed files with 0 additions and 17 deletions
-15
View File
@@ -85,13 +85,6 @@ extern "C" {
*
*/
/**
* @def OT_TOOL_ALIGN
*
* Compiler-specific alignment modifier.
*
*/
/**
* @def OT_TOOL_WEAK
*
@@ -111,8 +104,6 @@ extern "C" {
#define OT_TOOL_PACKED_END __attribute__((packed))
#define OT_TOOL_WEAK __attribute__((weak))
#define OT_TOOL_ALIGN(X)
#elif defined(__ICCARM__) || defined(__ICC8051__)
// http://supp.iar.com/FilesPublic/UPDINFO/004916/arm/doc/EWARM_DevelopmentGuide.ENU.pdf
@@ -124,8 +115,6 @@ extern "C" {
#define OT_TOOL_PACKED_END
#define OT_TOOL_WEAK __weak
#define OT_TOOL_ALIGN(X)
#elif defined(__SDCC)
// Structures are packed by default in sdcc, as it primarily targets 8-bit MCUs.
@@ -135,8 +124,6 @@ extern "C" {
#define OT_TOOL_PACKED_END
#define OT_TOOL_WEAK
#define OT_TOOL_ALIGN(X)
#else
#error "Error: No valid Toolchain specified"
@@ -148,8 +135,6 @@ extern "C" {
#define OT_TOOL_PACKED_END
#define OT_TOOL_WEAK
#define OT_TOOL_ALIGN(X)
#endif
// =========== TOOLCHAIN SELECTION : END ===========
-2
View File
@@ -74,7 +74,6 @@ typedef enum
/**
* This structure represents an MLE Link Mode configuration.
*/
OT_TOOL_ALIGN(4)
typedef struct otLinkModeConfig
{
bool mRxOnWhenIdle : 1; ///< 1, if the sender has its receiver on when not transmitting. 0, otherwise.
@@ -130,7 +129,6 @@ typedef struct otLeaderData
* This structure holds diagnostic information for a Thread Router
*
*/
OT_TOOL_ALIGN(4)
typedef struct
{
otExtAddress mExtAddress; ///< IEEE 802.15.4 Extended Address