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.
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 )
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).