huang_chao 56c9d0544e 第一次提交文件 | 1 year ago | |
---|---|---|
.. | ||
include | 1 year ago | |
.gitignore | 1 year ago | |
CMakeLists.txt | 1 year ago | |
FreeRTOS_Kernel_import.cmake | 1 year ago | |
LICENSE.md | 1 year ago | |
README.md | 1 year ago | |
idle_task_static_memory.c | 1 year ago | |
library.cmake | 1 year ago | |
pico_sdk_import.cmake | 1 year ago | |
port.c | 1 year ago |
This directory provides a FreeRTOS-Kernel port that can be used with the Raspberry Pi Pico SDK. It supports:
Note that a FreeRTOS SMP version of this port is also available in the FreeRTOS-Kernel smp branch, which additionally supports utilizing both RP2040 CPU cores for FreeRTOS tasks simultaneously.
Copy FreeRTOS-Kernel-import.cmake into your project, and add:
import(FreeRTOS_Kernel_import.cmake)
below the usual import of pico_sdk_import.cmake
This will find the FreeRTOS kernel if it is a direct sub-module of your project, or if you provide the FREERTOS_KERNEL_PATH
variable in your environment or via -DFREERTOS_KERNEL_PATH=/path/to/FreeRTOS-Kernel
on the CMake command line.
Some additional config
options are defined here which control some low level implementation details.