2013-04-18 04:38 AM
Hello,
Am using eclipse+gcc+openocd+FreeRTOS to setup an open Development Environment for complex STM32 based embedded application. I'm very new to building with GCC in general and I have never used FreeRTOS, but I'd like to try getting the OS up.I haven't found a lot of documentation about configuring eclipse when using FreeRTOS projects and i ve already downloaded FreeRTOSV7.4.0. so hopefully someone here can shed some light! Any resources would be most helpful. Like I said, I'm very new to this kind of development. #know-your-tools2013-04-18 05:44 AM
Sounds like a winning formula.
Suggest you hire some additional project staff to assist/train you, and start reading a lot of books.2013-04-18 07:20 AM
I'd expect to hear some question or something since it seems installation and everything else runs fine using your configuration?
2013-04-18 08:21 AM
I fully agree with clive1, only I would call it a recipe for disaster.
My suggestion is to try with free version of Atollic TrueStudio first. It is both gcc and Eclipse, and will allow for an easy entry. There are lots of example projects from ST for this toolchain, to start with. This might easy migration to your free toolchain, once you got it running. Realistically, expect days or weeks for that ...2013-04-18 08:30 AM
2013-04-18 08:55 AM
... if i have to do the same configurations or there is something special for RTOS ...
Usually not. At this level, a RTOS is basically just a bunch of files you add to your project. It might need some configuration work, to specify what features you want, and which not. For that, and for designing your project, you will need a certain knowledge and understanding of the RTOS and its features. The real ''trouble'' begins when you start to debug it ...
2013-04-18 09:18 AM
2013-04-18 11:11 AM
In this context, I think fm means how the project is configured, in terms of files/directories, how the environment (eclipse) interacts with the tools (compiler, linker, assembler, etc), and where various components get placed as they are built.
Which STM32 part are we talking about here? FreeRTOS comes with a number of STM32 examples, usually tided to specific boards or toolchains. Many of these can be ported to different chains, but this requires a reasonable grasp of how those chains handle things, and how that comports with the tools you have chosen. You seem to have made a number of decisions already which compound the complexity of your task. Usually the way to attack such problems is to start from things you already know and understand. In that regard you should look at some of the other toolchains and debuggers, perhaps eval versions, and boards already supported. Understand those, how they work, then with a working knowledge step to the next platform or board. For example why not use Keil, STM32F4-Discovery, ST-LINK, and FreeRTOS, get that figured out, then proceed. I'm pretty sure examples of that have been posted before.2013-05-02 06:56 AM
Hello,
I started with the demo of CORTEX_M4F_STM32F407ZG-SK that i found in http://www.freertos.org. Now when i build the project i have this error in ''port.c'': 'SystemCoreClock' undeclared (first use in this function) I ve already includedThe following directories
in path:
2013-05-02 08:39 AM
Would need include paths for the STM32 firmware libraries
Demo\CORTEX_M4F_STM32F407ZG-SK\Libraries\CMSIS\Device\ST\STM32F4xx\Include Demo\CORTEX_M4F_STM32F407ZG-SK\Libraries\STM32F4xx_StdPeriph_Driver\inc Demo\CORTEX_M4F_STM32F407ZG-SK\board