Convert a Contex-M3 Demo code

daniel248 wrote on Monday, November 05, 2012:

Hi,
Now I have a project base on STM32L152 which uses Contex-M3 microprocessor. I want to convert it to another board which is ADuCM360 which also uses Contex-M3 microprocessor. I read the content on the page  http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html, but I am lost. I am wondering if it is possible to convert it.

Any idea is appreciated.

Thanks.

rtel wrote on Monday, November 05, 2012:

There is only one Cortex-M3 port.  It runs on any microcontroller from any manufacturer that has a Cortex-M3 core.  So, yes, it is possible to convert it.

If you have a project already running on the ADu, then you have to add the FreeRTOS source files to the project, ensure the include path can find the header files, and install the interrupt handlers.  http://www.freertos.org/Creating-a-new-FreeRTOS-project.html provides more details.

Naturally, if you are using the IAR compiler, you need the IAR port files, if you are using the Keil compiler then use the RVDS port files, and if you are using the GCC compiler…etc.

Can you say more specifically what the issue you are facing is?

Regards.