forked from espressif/esp-idf
freertos(IDF): Add hidden build option for V10.5.1 kernel
This commit adds a "CONFIG_FREERTOS_USE_KERNEL_10_5_1" hidden option to enable building of the v10.5.1 kernel for development/testing purposes. Currently enabling this option will just cause CMake to error out. Also added a markdown file to record the code changes made to the V10.5.1 source when porting over SMP behavior.
This commit is contained in:
@@ -31,7 +31,11 @@ idf_build_get_property(target IDF_TARGET)
|
|||||||
if(CONFIG_FREERTOS_SMP)
|
if(CONFIG_FREERTOS_SMP)
|
||||||
set(kernel_impl "FreeRTOS-Kernel-SMP")
|
set(kernel_impl "FreeRTOS-Kernel-SMP")
|
||||||
else()
|
else()
|
||||||
set(kernel_impl "FreeRTOS-Kernel")
|
if(CONFIG_FREERTOS_USE_KERNEL_10_5_1)
|
||||||
|
message(FATAL_ERROR "FreeRTOS v10.5.1 is not buildable yet. Still under development")
|
||||||
|
else()
|
||||||
|
set(kernel_impl "FreeRTOS-Kernel")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_IDF_TARGET_ARCH_XTENSA)
|
if(CONFIG_IDF_TARGET_ARCH_XTENSA)
|
||||||
|
@@ -0,0 +1,7 @@
|
|||||||
|
# ESP-IDF Changes
|
||||||
|
|
||||||
|
This document is used to track all changes made the to FreeRTOS V10.5.1 source code when adding dual core SMP support or IDF additional features.
|
||||||
|
|
||||||
|
## License Headers
|
||||||
|
|
||||||
|
- Added `SPDX-FileCopyrightText` and `SPDX-FileContributor` tags to all files to pass ESP-IDF pre-commit checks.
|
@@ -3,8 +3,16 @@ menu "FreeRTOS"
|
|||||||
menu "Kernel"
|
menu "Kernel"
|
||||||
# Upstream FreeRTOS configurations go here
|
# Upstream FreeRTOS configurations go here
|
||||||
|
|
||||||
|
config FREERTOS_USE_KERNEL_10_5_1
|
||||||
|
bool "Use v10.5.1 Kernel (EXPERIMENTAL)"
|
||||||
|
depends on IDF_EXPERIMENTAL_FEATURES
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Hidden option for development/testing purposes to enable building with the v10.5.1 kernel
|
||||||
|
|
||||||
config FREERTOS_SMP
|
config FREERTOS_SMP
|
||||||
bool "Run the Amazon SMP FreeRTOS kernel instead (FEATURE UNDER DEVELOPMENT)"
|
bool "Run the Amazon SMP FreeRTOS kernel instead (FEATURE UNDER DEVELOPMENT)"
|
||||||
|
depends on !FREERTOS_USE_KERNEL_10_5_1
|
||||||
default "n"
|
default "n"
|
||||||
help
|
help
|
||||||
Amazon has released an SMP version of the FreeRTOS Kernel which can be found via the following link:
|
Amazon has released an SMP version of the FreeRTOS Kernel which can be found via the following link:
|
||||||
|
Reference in New Issue
Block a user