git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14495 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
bdc05d4041
commit
ec949c90a7
|
@ -77,14 +77,14 @@
|
||||||
* @note If the compiler does not support such a feature then this macro
|
* @note If the compiler does not support such a feature then this macro
|
||||||
* must not be defined or it could originate errors.
|
* must not be defined or it could originate errors.
|
||||||
*/
|
*/
|
||||||
//#define CC_ALIGN_DATA(n) /* TODO */
|
#define CC_ALIGN_DATA(n) _Pragma(__CH_STRINGIFY(data_alignment=n))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enforces alignment of a function declared afterward.
|
* @brief Enforces alignment of a function declared afterward.
|
||||||
* @note If the compiler does not support such a feature then this macro
|
* @note If the compiler does not support such a feature then this macro
|
||||||
* must not be defined or it could originate errors.
|
* must not be defined or it could originate errors.
|
||||||
*/
|
*/
|
||||||
//#define CC_ALIGN_CODE(n) /* TODO */
|
#define CC_ALIGN_CODE(n) _Pragma(__CH_STRINGIFY(data_alignment=n))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enforces packing of the structure declared afterward.
|
* @brief Enforces packing of the structure declared afterward.
|
||||||
|
|
Loading…
Reference in New Issue