Hi
i downloaded freertos source and try to run arm ds5 ide but i am facing below error
"make: *** [CORTEX_A9_Cyclone_V_SoC_DK/Altera_Code/SoCSupport/subdir.mk:29: CORTEX_A9_Cyclone_V_SoC_DK/Altera_Code/SoCSupport/cache_support.o] Error 1"
can you please help on this
That's just the "summary" telling you that the build was unsuccessful.
You need to look further back in the build output to find the specific error messages that give you full details of what failed.
Hi Andy Neil after installation of ARM-ds5 IDE, i installed gcc-linaro-7.5.0 toolchain.
But arm ds ide not able to detect the path, manually i gave the path .
During compiling make command not able to detect header files which are in same folder throwing error like
"Description Resource Path Location Typefatal error: alt_cache.h: No such file or directory cache_support.c /RTOSDemo/Altera_Code/SoCSupport line 31 C/C++ Problem"
For instructions on installing the toolchain, seehttps://developer.arm.com/documentation/101470/2010/Configure-Arm-Development-Studio/Register-a-compiler-toolchainFor finding .h files, use -I<path_to_file> to add that path to the include search path.
Hi i am attaching the image.
please help on this issue, because i am trying compile freertos source code on arm ds IDE.
If possible please share complete steps how to import freertos project on arm ds ide
Where is alt_cache.h located? I don't see it in the project.
You can set the include path in Project Properties > C/C++ Build > Settings:
thank you it worked for me but new issue came.
You would be better looking at the 'Console' view:
That way, you will see the errors in their context - and may well get further information.
The 'Problems' view is often unhelpful in the way that it filters and sorts the messages.
Note that you can copy & paste as text from the 'Console' view - better than a screenshot.
Hi in console window
make all 'Building file: ../Altera_Code/SoCSupport/cache_support.c''Invoking: GCC C Compiler 7.5.0 [arm-eabi]'arm-eabi-gcc.exe -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary" -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport\include" -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include" -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\alt_cache.c" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport\include\cache_support.h" -O0 -g -Wall -MMD -MP -MF"Altera_Code/SoCSupport/cache_support.d" -MT"Altera_Code/SoCSupport/cache_support.o" -c -o "Altera_Code/SoCSupport/cache_support.o" "../Altera_Code/SoCSupport/cache_support.c"C:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s: Assembler messages:C:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:556: Error: selected processor does not support `isb' in ARM modeC:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:1252: Error: selected processor does not support `dsb' in ARM modeC:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:1442: Error: selected processor does not support `dsb' in ARM modeC:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:1512: Error: selected processor does not support `dsb' in ARM modeC:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:1702: Error: selected processor does not support `dsb' in ARM modeC:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:1772: Error: selected processor does not support `dsb' in ARM modeC:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:1962: Error: selected processor does not support `dsb' in ARM modeC:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:2409: Error: selected processor does not support `dsb' in ARM modeC:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:4523: Error: selected processor does not support `dsb' in ARM modemake: *** [Altera_Code/SoCSupport/subdir.mk:29: Altera_Code/SoCSupport/cache_support.o] Error 1
15:32:32 Build Finished (took 1s.482ms)
ssrmurthy said:C:\Users\TESS-2~1\AppData\Local\Temp\cctYurwW.s:556: Error: selected processor does not support `isb' in ARM mode
So that error refers to line 556 in the file cctYurwW.s
So either that file is not correct for the processor you're using, or you've configured the project for the wrong processor.
ssrmurthy said:Altera_Code
Perhaps Altera (now Intel) would be better placed to help you with how to use their code?
Yes i think like that.
Thank you Andy Neil guiding me.
I do not see an -mcpu setting in this build:
arm-eabi-gcc.exe -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary" -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport\include" -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include" -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\alt_cache.c" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport\include\cache_support.h" -O0 -g -Wall -MMD -MP -MF"Altera_Code/SoCSupport/cache_support.d" -MT"Altera_Code/SoCSupport/cache_support.o" -c -o "Altera_Code/SoCSupport/cache_support.o" "../Altera_Code/SoCSupport/cache_support.c"
See https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
yes, i didn't do any mcpu setting, because i took demo example from freertos.org website in that they given altera example .
I imported that example into arm-ds 5 ide . If i miss any steps please suggest me.