1 /*
2  * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef FREERTOS_CONFIG_RISCV_H
8 #define FREERTOS_CONFIG_RISCV_H
9 
10 //RISC-V Archiecture specific configuration. This file is included in the common FreeRTOSConfig.h.
11 
12 #include "sdkconfig.h"
13 
14 /* ------------------------------------------------- FreeRTOS Config ---------------------------------------------------
15  * - All Vanilla FreeRTOS configuration goes into this section
16  * ------------------------------------------------------------------------------------------------------------------ */
17 
18 // ------------------ Scheduler Related --------------------
19 
20 // #define configUSE_PORT_OPTIMISED_TASK_SELECTION             0
21 #define configMAX_API_CALL_INTERRUPT_PRIORITY               0
22 
23 /* ------------------------------------------------ ESP-IDF Additions --------------------------------------------------
24  *
25  * ------------------------------------------------------------------------------------------------------------------ */
26 
27 #ifndef configISR_STACK_SIZE
28 #define configISR_STACK_SIZE                                (CONFIG_FREERTOS_ISR_STACKSIZE)
29 #endif
30 
31 #endif // FREERTOS_CONFIG_RISCV_H
32