Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

FreeRTOS port for ARM Cortex-R5F with GHS compiler

Posted by rammohankn on April 6, 2016

Has anybody tried porting FreeRTOS for ARM Cortex-R5F with GHS ARM Compilers ?


FreeRTOS port for ARM Cortex-R5F with GHS compiler

Posted by rtel on April 6, 2016

I'm not aware of any I'm afraid, but it is just another compiler, so I can't imagine it would be too much different to the other compilers supported. Normally it will only be the assembler syntax, and perhaps some function qualifiers, that will differ between compilers.


FreeRTOS port for ARM Cortex-R5F with GHS compiler

Posted by rammohankn on April 7, 2016

Starting everything from scratch would obviously consume time, was wondering if any one has already tried ARM-Cortex R5F with GHS


FreeRTOS port for ARM Cortex-R5F with GHS compiler

Posted by westmorelandeng on April 7, 2016

Hello Rammohan,

I am not sure you'd have to start from scratch - there are some ports with other compilers for the R4F - I would start with those. There is also some code in the user contributed code on the web-site that could be worth looking at.

Like mentioned before - the usual 'worst' issues when a similar port exists are:

pragmas assembly directives (and sometimes differences in assembler syntax - speaking of ARM here) stack frame(s) - how are certain args pushed/popped - there could be some differences here - and also what are the architectural differences between the R4F and R5F. You'd have to include those; if any.

The specific files to look at are (usually) in portableyour-compilerport.c, portASM.asm, and portmacro.h.

You should start with one of the ports and give it a try - probably won't be too bad or take too long.

Regards, John W.


FreeRTOS port for ARM Cortex-R5F with GHS compiler

Posted by rammohankn on April 7, 2016

Yes I was looking at R4F ports, which will be my starting point.


FreeRTOS port for ARM Cortex-R5F with GHS compiler

Posted by rtel on April 7, 2016

I would recommend looking at the files in the FreeRTOSSourceportableGCCARM_CR5 directory.

The port.c file there should require very few changed: ~~~~ attribute(( used )) is used in a couple of placed to prevent the linker removing symbols that are used in the asm code.

__asm volatile () is also used. __asm is supported by most compilers, but you might need to remove the 'volatile'. ~~~~

The portASM.S file in that directory will no doubt need some translating to use the GH syntax, but the asm instructions themselves can remain.


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists