Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mincrmatt12/stm32-platformio-freertos
https://github.com/mincrmatt12/stm32-platformio-freertos
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/mincrmatt12/stm32-platformio-freertos
- Owner: mincrmatt12
- License: mit
- Created: 2019-09-19T01:57:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T17:51:46.000Z (about 2 months ago)
- Last Synced: 2024-09-12T03:51:15.613Z (about 2 months ago)
- Language: C
- Size: 521 KB
- Stars: 10
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stm32cube-platformio-freertos
This library links in the version of FreeRTOS shipped with the STM32Cube framework.Configuration is possible with extra options in the platformio.ini. These are looked up relative to the current environment.
These are:- custom_freertos_config_location: *REQUIRED* must point to either a path containing FreeRTOSConfig.h or the file itself.
- custom_freertos_heap_impl: *OPTIONAL, defaults to heap_4.c* heap implementation file to use (see FreeRTOS docs)
- custom_freertos_features: *OPTIONAL*, comma separated list of optional files to build, any of ["coroutines", "timers", "event_groups", "stream_buffers"]
- custom_freertos_cmsis_impl: *OPTIONAL*, one of ["CMSIS_RTOS", "CMSIS_RTOS_V2"].There is currently no support for the MPU.
If you use the RTOS heap you may want to disable allocation of a heap in the link script.
A good starting point for the FreeRTOSConfig.h is in the include directory, and can be used a default by using```
#include "FreeRTOSConfig_template.h"
```as your FreeRTOSConfig.h, or by simply copying its contents which is the preferred method if you plan to modify values in it.