FreeRTOSConfig_arch.h 1.2 KB

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