mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-04-03 02:29:05 +02:00
Added “arm” port .
Added platforms directory. Added QEMU qemu_integratorcp platform in platforms. Modified test cases to make stack top DWORD aligned.
This commit is contained in:
@@ -73,7 +73,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Create Thread 1 */
|
||||
if (atomThreadCreate(&tcb[0], TEST_THREAD_PRIO, test_thread_func, 1,
|
||||
&test_thread_stack[0][TEST_THREAD_STACK_SIZE - 1],
|
||||
&test_thread_stack[0][TEST_THREAD_STACK_SIZE - sizeof(uint32_t)],
|
||||
TEST_THREAD_STACK_SIZE) != ATOM_OK)
|
||||
{
|
||||
/* Fail */
|
||||
@@ -83,7 +83,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Create Thread 2 */
|
||||
if (atomThreadCreate(&tcb[1], TEST_THREAD_PRIO, test_thread_func, 2,
|
||||
&test_thread_stack[1][TEST_THREAD_STACK_SIZE - 1],
|
||||
&test_thread_stack[1][TEST_THREAD_STACK_SIZE - sizeof(uint32_t)],
|
||||
TEST_THREAD_STACK_SIZE) != ATOM_OK)
|
||||
{
|
||||
/* Fail */
|
||||
@@ -93,7 +93,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Create Thread 3 */
|
||||
if (atomThreadCreate(&tcb[2], TEST_THREAD_PRIO, test_thread_func, 3,
|
||||
&test_thread_stack[2][TEST_THREAD_STACK_SIZE - 1],
|
||||
&test_thread_stack[2][TEST_THREAD_STACK_SIZE - sizeof(uint32_t)],
|
||||
TEST_THREAD_STACK_SIZE) != ATOM_OK)
|
||||
{
|
||||
/* Fail */
|
||||
|
||||
Reference in New Issue
Block a user