rtems: Fix RTEMS_TASK_STORAGE_ALIGNMENT

Make sure we meet the stack alignment requirement for user-provided
thread storage areas.
This commit is contained in:
Sebastian Huber
2021-03-04 09:08:03 +01:00
parent 4a765b47a5
commit 30f6fd5b3f
+1 -1
View File
@@ -201,7 +201,7 @@ rtems_status_code rtems_task_create(
* Use it with RTEMS_ALIGNED() to define the alignment of a statically
* allocated task storage area.
*/
#define RTEMS_TASK_STORAGE_ALIGNMENT CPU_HEAP_ALIGNMENT
#define RTEMS_TASK_STORAGE_ALIGNMENT CPU_STACK_ALIGNMENT
/**
* @brief Returns the recommended task storage area size for the specified size