Tool/software:
Hi team,
We have a 3rd party lib and after integration it into the source code, the code would enter hard fault and we debug that reason for this hard fault is the address of STRD is not 4 bytes aligned.
But we also find our compiler has allowed unalignment and too many structures and unions in the lib, we cannot force 4 bytes align for all the structures.
So I'm asking for a method to disable strd in for compiling the lib. I tried to add a -mno-strd in the project properties but I cannot compile it.
Do you have some idea?