text: /***********************************************************************************************************************
  * DISCLAIMER
  * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No
  * other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all
  * applicable laws, including copyright laws.
  * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
  * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY,
  * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM
  * EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES
  * SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS
  * SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  * Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of
  * this software. By using this software, you agree to the additional terms and conditions found by accessing the
  * following link:
  * http://www.renesas.com/disclaimer
  *
  * Copyright (C) 2019 Renesas Electronics Corporation. All rights reserved.
  ***********************************************************************************************************************/
  /***********************************************************************************************************************
  * File Name    : r_rtos.h
  * Description  : This module implements functions of rtos.
  ***********************************************************************************************************************/
  /**********************************************************************************************************************
  * History : DD.MM.YYYY Version  Description
  *         : 28.02.2019 1.00     First Release
  *         : 08.10.2019 1.10     Added include file and macro definitions for Renesas RTOS (RI600V4 or RI600PX).
  *         : 26.02.2021 1.11     Changed BSP_CFG_RTOS_USED for Azure RTOS.
  ***********************************************************************************************************************/
  
  /***********************************************************************************************************************
  Includes   <System Includes> , "Project Includes"
  ***********************************************************************************************************************/
  #include "r_bsp_config.h"
  
  #if BSP_CFG_RTOS_USED == 0      /* Non-OS */
  #elif BSP_CFG_RTOS_USED == 1    /* FreeRTOS */
  #include "FreeRTOS.h"
  #include "task.h"
  #include "semphr.h"
  #include "queue.h"
  #include "croutine.h"
  #include "timers.h"
  #include "event_groups.h"
  #include "freertos_start.h"
  #elif BSP_CFG_RTOS_USED == 2    /* SEGGER embOS */
  #elif BSP_CFG_RTOS_USED == 3    /* Micrium MicroC/OS */
  #elif BSP_CFG_RTOS_USED == 4    /* Renesas RI600V4 & RI600PX */
  #include "kernel.h"
  #include "kernel_id.h"
  
  #define RENESAS_RI600V4  0
  #define RENESAS_RI600PX  1
  
  #undef  BSP_CFG_RTOS_SYSTEM_TIMER
  #define BSP_CFG_RTOS_SYSTEM_TIMER      _RI_CLOCK_TIMER
  #elif BSP_CFG_RTOS_USED == 5    /* Azure RTOS */
  #else
  #endif
  
  /***********************************************************************************************************************
  Macro definitions
  ***********************************************************************************************************************/
  /* Multiple inclusion prevention macro */
  #ifndef R_RTOS_H
  #define R_RTOS_H
  
  #endif  /* R_RTOS_H */
  
  