I'm trying to just cross-compile the demo code of CORTEXA9CycloneVSoC_DK.
At first, I tried to do that using arm-linux-gnueabi-gcc and give all the required directories to it, but it always gave me errors at the extern variables and functions.
Then, I installed Eclipse ARM DS-5 and started to use it. I followed the steps mentioned in FreeRTOS website, but some header files were not seen to it, so I added their directories to the PATH in Eclipse and these errors have disappeared.
Now, I'm getting errors saying:
selected processor does not support 'cpsid i' in ARM mode
selected processor does not support 'dsb' in ARM mode
selected processor does not support 'fmxr FPSCR,r3' in ARM mode
selected processor does not support 'isb' in ARM mode
I don't know where these modes are defined nor who has chosen them. Anyone knows what to do to solve this problem?
Thnx in advance.
Those errors will come from the compiler option that sets the core type,
which is evidently wrong, which in turn comes from a change in the
project format expected by the DS-5 tools since the project was created.
This has been mentioned a few times on the forum, as has, I think, the
solution. Try searching through the archive for similar posts.