lpcxpresso55s16 zephyr undefined reference to `__aeabi_d2iz' #58295
-
Hello Everyone ! I'm using lpcxpresso55s16 Eval Board with zephyr stack, I just created a thread which calling one function , In that function I'm performing some floating point calculation based on the result I'm incrementing the static variable when I try to compile it's compiling but in linker stage it's throwing error like undefined reference to `__aeabi_d2iz', I'm struggling to fix this issue , if you have any suggestion or solution please reply to this query. Details : board : lpcxpresso55s16 stack : zephyr 3.3.99 K_THREAD_STACK_DEFINE(handler_thread_stack,0X400); void create_thread() task_tid = k_thread_create(&handler_thread_data,handler_thread_stack,K_THREAD_STACK_SIZEOF(handler_thread_stack),handler_thread,NULL,NULL,NULL,2,0,K_FOREVER); void handler_thread(void *arg1,void *arg2, void *arg3)
} //Filename : def.c
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sorry @Aravinthkalai , I don't see the issue. I modified the hello_world sample with the attached main.c using your code snippets, and it builds without errors for me. I am using the latest I see that Let us know what you find |
Beta Was this translation helpful? Give feedback.
@DerekSnell Thanks for your reply, actually this is not my actual code , I mocked my code and shared here , my issue is solved , I wrote the long calculation in a single line , now I split the long calculation in line by line and did proper type casting now it's works fine for me, once again thank you for your reply.