mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-18 23:54:39 +00:00
fix(freertos/idf/linux): Fix configMAX_PRIORITIES for linux port
Previously the linux port of FreeRTOS set configMAX_PRIORITIES to 7. However, multiple linux POSIX simulator examples will call API that create tasks with priortiies >= 7. This commit fixes the configMAX_PRIORITIES and unifies all ports to have 25 priorities.
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
|
||||
/* ------------------ Scheduler Related -------------------- */
|
||||
|
||||
#define configMAX_PRIORITIES ( 7 )
|
||||
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
|
||||
|
||||
/* The stack allocated by FreeRTOS will be passed to a pthread.
|
||||
@@ -32,7 +31,7 @@
|
||||
/* ---------------- Amazon SMP FreeRTOS -------------------- */
|
||||
|
||||
#if CONFIG_FREERTOS_SMP
|
||||
#define configUSE_MINIMAL_IDLE_HOOK 0 // Not implemented yet, TODO IDF-6654
|
||||
#define configUSE_MINIMAL_IDLE_HOOK 0 /* Not implemented yet, TODO IDF-6654 */
|
||||
#endif
|
||||
|
||||
/* ----------------------- System -------------------------- */
|
||||
@@ -53,8 +52,8 @@
|
||||
/* -------------------- API Includes ----------------------- */
|
||||
|
||||
/* Todo: Reconcile INCLUDE_option differences (IDF-8186) */
|
||||
#define INCLUDE_vTaskDelayUntil 1
|
||||
#define INCLUDE_uxTaskGetStackHighWaterMark2 0
|
||||
#define INCLUDE_vTaskDelayUntil 1
|
||||
#define INCLUDE_uxTaskGetStackHighWaterMark2 0
|
||||
|
||||
/* ------------------------------------------------ ESP-IDF Additions --------------------------------------------------
|
||||
*
|
||||
|
Reference in New Issue
Block a user