Answer the question
In order to leave comments, you need to log in
Where can I find a good FreeRTOS manual for Cortex-M3?
Hello! Recently started developing firmware for a device based on STM32F103. Since there are several parallel resource-intensive tasks with different priorities, I decided not to fence the bike, but to assign it to RTOS. Since FreeRTOS is immediately available from CubeMX, the choice fell on it, as it is probably the most developed option for this platform. For building and debugging I use VS+VisualGDB with GCC compiler. During the work, several questions and problems were discovered:
Answer the question
In order to leave comments, you need to log in
1) There is documentation on the site! In pdf format!
2) On the site microsin.ru
3) 10 (or 11) Lectures by Kurnitsa (from the journal components and technologies).
Everything is googling!
If you really want to see what is specifically under the cortex, then go to the portable folder. You won't see anything special!
Any on/off options in the freertos_config.h file.
Either it turns out to be the mandatory inclusion -O1, now, for some unknown reason, it falls into uxListRemove.Haven't seen this. How did you decide what to compile with -O1?
but with the minimum size of the task stack and a bunch of questions arise - it's not entirely clear to what extent they can be reduced (the stack seems to be also counted in words), and the current FreeRTOS port does not disable dynamic memory allocation.Stack, yes, in words. Calculating the amount of memory occupied by a task is not a trivial task. I'm using the "-fstack-usage" compilation switch Files are generated. We feed them to avstack.pl (googled) Although the program works for AVR. There you can see how much the task eats the stack!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question