This is a port of FreeRTOS for STM32 as Arduino libraries.
For more information about FreeRTOS, visit the FreeRTOS Web Site. Also, See the very useful Getting Started page.
This library provides 2 FreeRTOS versions:
Each have been modified by ST (See st_readme.txt in FreeRTOS Source).
These are the same provided with the STM32Cube MCU Packages. Or thanks to STMicroelectronics GitHub organization: stm32_mw_freertos.
FreeRTOS has several configuration options, which can be specified from within the FreeRTOSConfig.h file.
This library provides a default FreeRTOS configuration file named FreeRTOSConfig_Default.h
.
User can provide his own FreeRTOS configuration file at sketch level by adding his configuration in a file named STM32FreeRTOSConfig.h
.
Or add extra FreeRTOS configuration to the default at sketch level by adding an extra configuration in a file named STM32FreeRTOSConfig_extra.h
.
Heap allocation schemes are provided by FreeRTOS, see Memory allocation implementations included in the RTOS source. To extend those schemes a thread-safe heap allocation using C runtime (Newlib) has been added based on Dave Nadler work:
http://www.nadler.com/embedded/newlibAndFreeRTOS.html
By default, the heap_useNewlib.c
is used. It can be changed thanks a define in the configuration file:
/* Define memory allocation implementations to use:
* 1 to 5 for heap_[1-5].c
* -1 for heap_useNewlib_ST.c
* Default -1 see heap.c
*/
Since v10.0.1, CMSIS-RTOSv2 can be used instead of default CMSIS-RTOS.
configUSE_CMSIS_RTOS_V2
has to be defined and set to 1
to use CMSIS-RTOSv2.
STM32FreeRTOSConfig.h
doesn't exist.* PASSED with configUSE_NEWLIB_REENTRANT
set to 0 due to small RAM.
* PASSED with configUSE_NEWLIB_REENTRANT
set to 0 due to small RAM.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4