2023-07-27 03:10:50 -04:00
|
|
|
/*
|
2024-03-25 09:25:35 -04:00
|
|
|
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
2023-07-27 03:10:50 -04:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2023-08-31 07:17:40 -04:00
|
|
|
|
2024-03-25 09:25:35 -04:00
|
|
|
/* Spinlock performance on esp32p4 is slower. */
|
|
|
|
#define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP 400
|
|
|
|
#define IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP_UNICORE 150
|
2024-03-22 09:32:18 -04:00
|
|
|
|
|
|
|
/* Solicited yields (portYIELD() or taskYIELD()) take longer on esp32p4. TODO: IDF-2809 */
|
2024-03-26 08:45:50 -04:00
|
|
|
#define IDF_PERFORMANCE_MAX_SCHEDULING_TIME 3200
|
2024-05-21 07:47:55 -04:00
|
|
|
|
|
|
|
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_NO_FILTER 10
|
|
|
|
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_2 10
|
|
|
|
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_4 10
|
|
|
|
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_8 10
|
|
|
|
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_16 10
|
|
|
|
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_64 10
|
|
|
|
#define IDF_PERFORMANCE_MAX_ADC_ONESHOT_STD_ATTEN3 10
|