rtdef.h/* Compiler Related Definitions */
#ifdef __CC_ARM /* ARM Compiler */
#define ALIGN(n) __attribute__((aligned(n)))
#elif defined (__IAR_SYSTEMS_ICC__) /* for IAR Compiler */
#define ALIGN(n) PRAGMA(data_alignment=n)
#elif defined (__GNUC__) /* GNU GCC Compiler */
#define ALIGN(n) __attribute__((aligned(n)))
#elif defined (__ADSPBLACKFIN__) /* for VisualDSP++ Compiler */
#define ALIGN(n) __attribute__((aligned(n)))
#elif defined (_MSC_VER)
#define ALIGN(n) __declspec(align(n))
#endif /* Compiler Related Definitions */
#define RT_ALIGN_SIZE 8
ALIGN(RT_ALIGN_SIZE)
static char finsh_thread_stack[2048];
|