mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(freertos): limit the experimental support of FREERTOS_SMP to esp32
This commit is contained in:
@@ -159,6 +159,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
|
|||||||
config IDF_TARGET_LINUX
|
config IDF_TARGET_LINUX
|
||||||
bool
|
bool
|
||||||
default "y" if IDF_TARGET="linux"
|
default "y" if IDF_TARGET="linux"
|
||||||
|
select FREERTOS_UNICORE
|
||||||
|
|
||||||
config IDF_FIRMWARE_CHIP_ID
|
config IDF_FIRMWARE_CHIP_ID
|
||||||
hex
|
hex
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ menu "FreeRTOS"
|
|||||||
|
|
||||||
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)"
|
||||||
# TODO: IDF-8113: Enable P4/H4/S31 support on AMZ SMP
|
# TODO: IDF-8113: Enable support on all targets
|
||||||
depends on !IDF_TARGET_ESP32P4 && !IDF_TARGET_ESP32H4 && !IDF_TARGET_ESP32S31
|
depends on IDF_TARGET_ESP32
|
||||||
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:
|
||||||
@@ -24,7 +24,6 @@ menu "FreeRTOS"
|
|||||||
config FREERTOS_UNICORE
|
config FREERTOS_UNICORE
|
||||||
# Todo: Replace with CONFIG_NUMBER_OF_CORES (IDF-9156)
|
# Todo: Replace with CONFIG_NUMBER_OF_CORES (IDF-9156)
|
||||||
bool "Run FreeRTOS only on first core"
|
bool "Run FreeRTOS only on first core"
|
||||||
default "y" if IDF_TARGET_ESP32S2 || IDF_TARGET_LINUX
|
|
||||||
select ESP_SYSTEM_SINGLE_CORE_MODE
|
select ESP_SYSTEM_SINGLE_CORE_MODE
|
||||||
help
|
help
|
||||||
This version of FreeRTOS normally takes control of all cores of the CPU. Select this if you only want
|
This version of FreeRTOS normally takes control of all cores of the CPU. Select this if you only want
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
components/freertos/test_apps/build_tests/freertos_build_test:
|
components/freertos/test_apps/build_tests/freertos_build_test:
|
||||||
disable:
|
disable:
|
||||||
- if: CONFIG_NAME == "timers_disabled" and IDF_TARGET != "esp32"
|
- if: CONFIG_NAME == "timers_disabled" and IDF_TARGET != "esp32"
|
||||||
|
- if: CONFIG_NAME == "smp" and IDF_TARGET not in ["esp32"]
|
||||||
depends_components:
|
depends_components:
|
||||||
- freertos
|
- freertos
|
||||||
- esp_system # trigger on changes to idle / tick hooks, wdt, entry point to freertos code
|
- esp_system # trigger on changes to idle / tick hooks, wdt, entry point to freertos code
|
||||||
@@ -17,7 +18,7 @@ components/freertos/test_apps/build_tests/orig_inc_path:
|
|||||||
|
|
||||||
components/freertos/test_apps/freertos:
|
components/freertos/test_apps/freertos:
|
||||||
disable:
|
disable:
|
||||||
- if: CONFIG_NAME == "smp" and IDF_TARGET in ["esp32p4", "esp32s31"]
|
- if: CONFIG_NAME == "smp" and IDF_TARGET not in ["esp32"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: target(s) not supported yet
|
reason: target(s) not supported yet
|
||||||
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ ESP-IDF FreeRTOS is a FreeRTOS implementation based on Vanilla FreeRTOS v10.5.1,
|
|||||||
Amazon SMP FreeRTOS
|
Amazon SMP FreeRTOS
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Amazon SMP FreeRTOS is an SMP implementation of FreeRTOS that is officially supported by Amazon. Amazon SMP FreeRTOS is able to support N-cores (i.e., more than two cores). Amazon SMP FreeRTOS can be enabled via the :ref:`CONFIG_FREERTOS_SMP` option. For more details regarding Amazon SMP FreeRTOS, please refer to the `official Amazon SMP FreeRTOS documentation <https://freertos.org/symmetric-multiprocessing-introduction.html>`_.
|
Amazon SMP FreeRTOS is an SMP implementation of FreeRTOS that is officially supported by Amazon. Amazon SMP FreeRTOS is able to support N-cores (i.e., more than two cores). Amazon SMP FreeRTOS can be enabled via the ``CONFIG_FREERTOS_SMP`` option (only available on ESP32). For more details regarding Amazon SMP FreeRTOS, please refer to the `official Amazon SMP FreeRTOS documentation <https://freertos.org/symmetric-multiprocessing-introduction.html>`_.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ ESP-IDF FreeRTOS
|
|||||||
Amazon SMP FreeRTOS
|
Amazon SMP FreeRTOS
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Amazon SMP FreeRTOS 是由 Amazon 官方支持的 FreeRTOS SMP 实现。Amazon SMP FreeRTOS 能够支持 N 核,即双核以上。通过 :ref:`CONFIG_FREERTOS_SMP` 选项能够启用 Amazon SMP FreeRTOS。关于 Amazon SMP FreeRTOS 的更多细节,请参考 `官方 Amazon SMP FreeRTOS 文档 <https://freertos.org/zh-cn-cmn-s/symmetric-multiprocessing-introduction.html>`__。
|
Amazon SMP FreeRTOS 是由 Amazon 官方支持的 FreeRTOS SMP 实现。Amazon SMP FreeRTOS 能够支持 N 核,即双核以上。通过 ``CONFIG_FREERTOS_SMP`` 选项能够启用 Amazon SMP FreeRTOS(仅适用于 ESP32)。关于 Amazon SMP FreeRTOS 的更多细节,请参考 `官方 Amazon SMP FreeRTOS 文档 <https://freertos.org/zh-cn-cmn-s/symmetric-multiprocessing-introduction.html>`__。
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user