FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [April 2016 Threads] FreeRTOS port for ARM Cortex-R5F with GHS compilerPosted 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 compilerPosted 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 compilerPosted 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 compilerPosted 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 compilerPosted 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 compilerPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|