esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv
Darian Leung 439c7c4261 change(freertos/idf): Remove xCoreID TCB member for single-core
This commit does the following:

- removes the xCoreID member from the TCB when building for single-core
- xCoreID is no longer hard set to 0 when calling "PinnedToCore" task creation
functions in single-core
- Tidy up or add missing xCoreID asserts for functions that take xCoreID as an
argument:
    - Functions that set/query a variable of a particular core will call
      taskVALID_CORE_ID() to ensure ) 0 <= xCoreID < configNUMBER_OF_CORES
    - Task creation functions that accept xCoreID also call taskVALID_CORE_ID()
      but also allow tskNO_AFFINITY.
- Fix TaskStatus_t
    - Remove xCoreID from TaskStatus_t if configTASKLIST_INCLUDE_COREID is not
      defined.
    - Set xCoreID to 0 when calling vTaskGetInfo() in single-core builds
2023-12-02 15:46:07 +08:00
..
include/freertos change(freertos/idf): Remove xCoreID TCB member for single-core 2023-12-02 15:46:07 +08:00
port.c change(freertos/idf): Remove xCoreID TCB member for single-core 2023-12-02 15:46:07 +08:00
portasm.S change(freertos/idf): Remove xCoreID TCB member for single-core 2023-12-02 15:46:07 +08:00