Cannot find a compatible demo application for Cortex-M3, ARM Compiler 5 and MPS2+

Hello, I am new to FreeRTOS and trying to find the right demo application to start with. Eventually I wish to import Free RTOS onto MPS2+ board, but first I just want to find a demo application that is compatible to DS-5 , ARM Compiler 5. Please correct me if I’m wrong – only a few of the demo applications can be opened with the DS-5 platform for Eclipse (the ones that contain a CPROJECT file). None of them complies – the ones that I’ve tried seem to search missing header files (that exist in other folders). Maybe I’m doing something wrong. – What is the right way to import a demo application to DS-5 platform for Eclipse? Which folder shall I import? Where shall the FreeRTOS files be located? – Which demo application shall I use so that the modifying procedure for MPS2+ would be easy as possible? Thank you, Orit

Cannot find a compatible demo application for Cortex-M3, ARM Compiler 5 and MPS2+

If you are having to create a project yourself, then here is a link that will help you get started: http://www.freertos.org/Creating-a-new-FreeRTOS-project.html and this one may help set up an Eclipse project (DS-5 being Eclipse). If you don’t want to jump through the hoops described on the link then you can just copy the files you need into a directory under the DS-5 project directory: http://www.freertos.org/ProjectWorkspaceRelativeFilePaths_Eclipse.html

Cannot find a compatible demo application for Cortex-M3, ARM Compiler 5 and MPS2+

Thank you for your quick response. I’ll follow the steps as in the second link. Which project do you think I can start with? I tried to import CORTEXLM3SxxxxEclipse but it doesn’t contain a CPROJECT file. No project found to import. Thanks again!

Cannot find a compatible demo application for Cortex-M3, ARM Compiler 5 and MPS2+

I followed the steps using CORTEXA9RZR7S72100IARDS-5 demo application. I have an error in RenesasFiles: #5: cannot open source input file “FreeRTOS.h”: No such file or directory. – FreeRTOS.h is located in “FreeRTOSROOT/include” which is contained in the project’s include directories. Why can’t it be found? – I’m not using Renesas. Should I exclude the RenesasFiles folder?

Cannot find a compatible demo application for Cortex-M3, ARM Compiler 5 and MPS2+

That project is for a Cortex-A, whereas if I am correct I think you are wanting a Cortex-M project. Is that right? If so, there is no need to remove the Renesas specific files because even the FreeRTOS port layer is going to be wrong. Whichever project you choose though if you are wanting to create a generic Cortex-M project you will have to remove the files that build drivers (or anything else) that is specific to one particular implementation. For example, you are never going to be able to build ST driver code if you are targeting a Freescale chip – only the FreeRTOS code will be the same between the two. Is the ARM compiler you are using the same as the ARM compiler that is shipped with the Keil tools? If so you can use the FreeRTOS code from the FreeRTOS/source/portable/RVDS/ARMCM3 (or ARMCM4F) directory.

Cannot find a compatible demo application for Cortex-M3, ARM Compiler 5 and MPS2+

Thanks, it is clear to me. I wasn’t intending to use the Cortex-A application…just wanted to build some demo application with Eclipse. As mentioned above I cannot find a demo application that is compatible to CM-3 and that can be opened with DS5 (CORTEXLM3S811KEIL, CORTEXLM3SxxxxIARKeil, CORTEXLM3SxxxxEclipse etc). I would be very glad if you could help me find one.

Cannot find a compatible demo application for Cortex-M3, ARM Compiler 5 and MPS2+

Does DS-5 use the same ARM compiler as ARM’s Keil tools?

Cannot find a compatible demo application for Cortex-M3, ARM Compiler 5 and MPS2+

Yes. I’m using the built-in compiler (ARM Compiler 5)

Cannot find a compatible demo application for Cortex-M3, ARM Compiler 5 and MPS2+

UP