<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: lpcxpresso55s16 zephyr undefined reference to `__aeabi_d2iz' in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpcxpresso55s16-zephyr-undefined-reference-to-aeabi-d2iz/m-p/1657661#M52732</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Aravinth1,&lt;/P&gt;
&lt;P data-unlink="true"&gt;this request is an unsure the symptoms/behavior is an Issue, please create a&amp;nbsp;Discussion&amp;nbsp;to GitHub:&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;A href="https://github.com/zephyrproject-rtos/zephyr/discussions" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/discussions&lt;/A&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Thanks,&lt;/P&gt;
&lt;P data-unlink="true"&gt;Jun Zhang&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2023 12:02:09 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2023-05-25T12:02:09Z</dc:date>
    <item>
      <title>lpcxpresso55s16 zephyr undefined reference to `__aeabi_d2iz'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpcxpresso55s16-zephyr-undefined-reference-to-aeabi-d2iz/m-p/1657343#M52725</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello Everyone !&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Details :&lt;/P&gt;&lt;P&gt;board : lpcxpresso55s16&lt;/P&gt;&lt;P&gt;stack : zephyr 3.3.99&lt;/P&gt;&lt;LI-CODE lang="c"&gt;//File Name : abc.c
#include &amp;lt;kernel.h&amp;gt;
#include &amp;lt;def.h&amp;gt;
static struct k_thread handler_thread_data;

K_THREAD_STACK_DEFINE(handler_thread_stack,0X400);

void create_thread()
{

task_tid = k_thread_create(&amp;amp;handler_thread_data,handler_thread_stack,K_THREAD_STACK_SIZEOF(handler_thread_stack),handler_thread,NULL,NULL,NULL,2,0,K_FOREVER);
	if(!task_tid)
	{
		return task_init_failed;
	}
	k_thread_name_set(task_tid,"data_task");
	initialized = true;
}

void handler_thread(void *arg1,void *arg2, void *arg3)
{

	for(;;)
	{

	    calc();
            k_msleep(50);
    }
}


//Filename : def.c
#include &amp;lt;def.h&amp;gt;	
static double c=8.725;
static uint16_t inc=0;
void calc()
{
    
    double a;
    long b;
    a=10.5;
    b= (long)(a * c);  // compiler pointing this line and says undefined reference to `__aeabi_d2iz'

    if (b &amp;gt; 40) 
    {
          inc++;
    }	
    if(inc&amp;gt;1000)
    {
        inc=0;
    } 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/127064"&gt;@zephyr_care&lt;/a&gt; &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/103451"&gt;@lpcxpresso_supp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 06:21:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpcxpresso55s16-zephyr-undefined-reference-to-aeabi-d2iz/m-p/1657343#M52725</guid>
      <dc:creator>Aravinth1</dc:creator>
      <dc:date>2023-05-25T06:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: lpcxpresso55s16 zephyr undefined reference to `__aeabi_d2iz'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpcxpresso55s16-zephyr-undefined-reference-to-aeabi-d2iz/m-p/1657661#M52732</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Aravinth1,&lt;/P&gt;
&lt;P data-unlink="true"&gt;this request is an unsure the symptoms/behavior is an Issue, please create a&amp;nbsp;Discussion&amp;nbsp;to GitHub:&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;A href="https://github.com/zephyrproject-rtos/zephyr/discussions" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/discussions&lt;/A&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Thanks,&lt;/P&gt;
&lt;P data-unlink="true"&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 12:02:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpcxpresso55s16-zephyr-undefined-reference-to-aeabi-d2iz/m-p/1657661#M52732</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-05-25T12:02:09Z</dc:date>
    </item>
  </channel>
</rss>

