2368162_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2368162_en-US

2368162_en-US

how to handle float value in imx6sx

Hello experts,
I am porting an existing program to a custom board using the imx6sx.

Previously, it used a P1011 CPU.

The environment is Yocto BSP 5.15.52-2.1.0.

The problem is that a signal error occurs when storing a float value received via communication into a structure.
I asked gemini and found that this can happen if the alignment is incorrect,
but since I am using an external library, ( which i receive a binary library)
I would like to know how to resolve this without modifying the source code.

i asked AI and got some tips but not sucessed

Thank you sincerely

i.MX6SoloXi.MX7Dual
Tags (1)
No ratings
Version history
Last update:
Thursday
Updated by: