kernel/os: Add macro to create stack
This macro will make sure that stack aligment is as required.
extern "C" {
#endif
+#define OS_TASK_STACK_DEFINE(__name, __size) \
+ static os_stack_t __name [OS_STACK_ALIGN(__size)] \
+ __attribute__((aligned(OS_STACK_ALIGNMENT)));
+
/** Highest priority task */
#define OS_TASK_PRI_HIGHEST (0)
/** Lowest priority task */
