mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 06:23:34 +08:00
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4512 7fd9a85b-ad96-42d3-883c-3090e2eb8679
19 lines
451 B
C
19 lines
451 B
C
|
|
#ifndef _DEFINES_H
|
|
#define _DEFINES_H
|
|
|
|
#define __attribute_const__ __attribute__((__const__))
|
|
|
|
/* type properties */
|
|
#define __packed __attribute__((packed))
|
|
#define __aligned(alignment) __attribute__((aligned(alignment)))
|
|
#define __unused __attribute__((unused))
|
|
|
|
/* linkage */
|
|
#define __section(name) __attribute__((section(name)))
|
|
|
|
/* force placement in zero-waitstate memory */
|
|
#define __ramtext __section(".ramtext")
|
|
|
|
#endif /* !_DEFINES_H */
|