git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14495 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2021-06-05 13:37:03 +00:00
parent bdc05d4041
commit ec949c90a7
1 changed files with 2 additions and 2 deletions

View File

@ -77,14 +77,14 @@
* @note If the compiler does not support such a feature then this macro
* 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.
* @note If the compiler does not support such a feature then this macro
* 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.