Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Convert a Contex-M3 Demo code

Posted by Daniel on November 5, 2012
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.


RE: Convert a Contex-M3 Demo code

Posted by Richard on November 5, 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?


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner