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


FreeRTOS on STR71x + GCC

Posted by Marchaudon Romain on May 11, 2010
Hello everyone,

I'm currently working on a project that needs FreeRTOS. This is the first time I'm using FreeRTOS (and even an OS) on my ┬ÁC.

I would like to get/make a version working with GCC. I have tried to use IAR but my Jtag cable is not recognized and the additional source code I have to use with FreeRTOS is in C++ and IAR is not good with C and C++ in the same time.

I was looking into other project with GCC (specialy the ARM7_AT91FR40008_GCC) and I have noticed that I haven't the same files for my STR71x. Can anyone explain to me how to change the makefile in order to get it work? Will I have to change some of my existing files in order to adapt it to the OS?

Thanks a lot for your answers, I hope I'm not the onlyone trying to use GCC with a STR71x.


RE: FreeRTOS on STR71x + GCC

Posted by Dave on May 12, 2010
Can you use the files from the FreeRTOS\Source\portable\GCC\STR75x directory? Just check the timer set up is compatible with you uC.

RE: FreeRTOS on STR71x + GCC

Posted by Marchaudon Romain on May 12, 2010
I don't need to use those files as there is allready a directory for STR71x in GCC (FreeRTOS\Source\portable\GCC\STR71x)
But there is some difference in those 2 directories ...
I would like, to begin, just to be able to compile FreeRTOS itself (without any demo) and after just add my tasks...

So far I have a list of c file for FreeRTOS, I hope I haven't missed any of them:
LibSource : 71xlib.c | gpio.c | rccu.c | uart.c | wdg.c
RTOS Source : list.c | port.c | portasm.s79 | queue.c | tasks.c
System Files: 71x_init.c | 71x_it.c | 71x_vect.s

So know, I'd like to get a working makefile, using gcc (arm-elf-gcc) ... And for the moment I have the impression I'm in a dead-end. Any idea/help for me? (even better, a working makefile if it's possible ;) )

Thanks a lot, Romain

RE: FreeRTOS on STR71x + GCC

Posted by Dave on May 12, 2010
As far as I can tell there is no gcc\str71x directory in the official release so I don't know where that came from. Also if you are using gcc I don't know why you would have an portasm.s79 file (which is presumable an IAR file).

RE: FreeRTOS on STR71x + GCC

Posted by Marchaudon Romain on May 12, 2010
Yes, you're rigt, it was a directory I have created ... My mistake, I'm doing so much things I had forgotten :(

I was wondering what was the purpose/interest of the portasm.s79 file actually, so if it's a IAR file I'll remove from my RTOS sources!

So now I have to figure how write my makefile ... And this is a big work :S I have no idea to begin with :(

And I should transform some files I guess, even to write somme new one ... So much to do for such a litle thing :(

RE: FreeRTOS on STR71x + GCC

Posted by Marchaudon Romain on May 20, 2010
No one is able to help me on this? It would be very usefull for me as I don't know how to begin with it :(

RE: FreeRTOS on STR71x + GCC

Posted by Rohit Grover on May 23, 2010
Perhaps you can begin with http://www.gnu.org/software/make/manual/make.html

[ 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