summaryrefslogtreecommitdiff
path: root/bsp/ESP/ESP32_C3/idf_port/include/freertos/FreeRTOSConfig_arch.h
blob: 2152c2778e478ea5a747e2ba5b3c238c03fede81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef FREERTOS_CONFIG_RISCV_H
#define FREERTOS_CONFIG_RISCV_H

//RISC-V Archiecture specific configuration. This file is included in the common FreeRTOSConfig.h.

#include "sdkconfig.h"

/* ------------------------------------------------- FreeRTOS Config ---------------------------------------------------
 * - All Vanilla FreeRTOS configuration goes into this section
 * ------------------------------------------------------------------------------------------------------------------ */

// ------------------ Scheduler Related --------------------

// #define configUSE_PORT_OPTIMISED_TASK_SELECTION             0
#define configMAX_API_CALL_INTERRUPT_PRIORITY               0

/* ------------------------------------------------ ESP-IDF Additions --------------------------------------------------
 *
 * ------------------------------------------------------------------------------------------------------------------ */

#ifndef configISR_STACK_SIZE
#define configISR_STACK_SIZE                                (CONFIG_FREERTOS_ISR_STACKSIZE)
#endif

#endif // FREERTOS_CONFIG_RISCV_H