I have a project which is already built for ARM cortex M4
using Atollic arm-atollic-eabi
tool chain. Now I am trying to build the same project for Windows
. I am using Atollic PC tools
, which I think uses GCC
and G++
internally.
I have removed all the dependency of hardware which was there in the code by stubbing almost all such calls. Now there is no any compilation error but one i.e. no such instruction: ldr r13,[r1]
. My source is not using any such instruction explicitly.
This is the compiler log.
C:\Users\...\AppData\Local\Temp\ccFTr3cX.s: Assembler messages:
C:\Users\...\AppData\Local\Temp\ccFTr3cX.s:3773: Error: no such instruction: `ldr r13,[r1]'
- I have removed all the external libraries and hardware dependency of my target controller i.e.
FYI Kinetis K61FX512VMJ150
I have not yet tried with other compiler tool-chain as I am dependent on this
Atollic IDE
and it's provided tool chain.There is no as such code to show.
But as an extra info, the software on the target is a multi-threaded application and I have also removed all the RTOS dependency.
I expect my code to be built on PC which is Intel core I5 currently, but I am not restricted to that either.