mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'ci/fix_freertos_s31_perf_limits' into 'master'
test: align esp32s31 freertos perf limits Closes IDFCI-10315 and IDFCI-10316 See merge request espressif/esp-idf!47355
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||||
/* SPDX-FileCopyrightText: 2023-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -26,14 +26,14 @@
|
||||
#endif
|
||||
|
||||
// Chip-Specific Data
|
||||
#if CONFIG_IDF_TARGET_ESP32P4
|
||||
/* Spinlock performance on esp32p4 is slower. */
|
||||
#if CONFIG_IDF_TARGET_ESP32P4 || CONFIG_IDF_TARGET_ESP32S31
|
||||
/* Spinlock performance on esp32p4/esp32s31 is slower. */
|
||||
#undef IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP
|
||||
#define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP 400
|
||||
#undef IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP_UNICORE
|
||||
#define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP_UNICORE 150
|
||||
|
||||
/* Solicited yields (portYIELD() or taskYIELD()) take longer on esp32p4. TODO: IDF-2809 */
|
||||
/* Solicited yields (portYIELD() or taskYIELD()) take longer on esp32p4/esp32s31. TODO: IDF-2809 */
|
||||
#undef IDF_PERFORMANCE_MAX_SCHEDULING_TIME
|
||||
#define IDF_PERFORMANCE_MAX_SCHEDULING_TIME 3200
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user