From 8a162d65ea7f9b84c6b895d0cebf8e6193f4f725 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 30 Nov 2013 09:12:10 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6515 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/ports/ARMCMx/compilers/GCC/chtypes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'os/rt/ports') diff --git a/os/rt/ports/ARMCMx/compilers/GCC/chtypes.h b/os/rt/ports/ARMCMx/compilers/GCC/chtypes.h index 690b817a6..8acbbfa4e 100644 --- a/os/rt/ports/ARMCMx/compilers/GCC/chtypes.h +++ b/os/rt/ports/ARMCMx/compilers/GCC/chtypes.h @@ -101,6 +101,11 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */ */ #define PORT_THD_FUNCTION(tname, arg) msg_t tname(void *arg) +/** + * @brief Packed variable specifier. + */ +#define PACKED_VAR __attribute__((packed)) + #endif /* _CHTYPES_H_ */ /** @} */ -- cgit v1.2.3