steering-wheel/AZURE_RTOS/App/app_azure_rtos.h

75 lines
2.1 KiB
C
Raw Normal View History

2023-03-05 21:24:12 +01:00
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file app_azure_rtos.h
* @author MCD Application Team
* @brief azure_rtos application header file
******************************************************************************
* @attention
*
* Copyright (c) 2020-2021 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef APP_AZURE_RTOS_H
#define APP_AZURE_RTOS_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "app_azure_rtos_config.h"
#include "app_threadx.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */
/* USER CODE END ET */
/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */
#define THREAD_STACK_SIZE 4096
#define THREAD_PRIO_APP 10
2023-03-07 20:13:28 +01:00
#define THREAD_PRIO_UI 6
2023-03-08 20:20:01 +01:00
#define THREAD_PRIO_VEHICLE 7
2023-03-25 00:36:56 +01:00
#define THREAD_PRIO_LED 11
#define THREAD_PRIO_LED_CHILD 12
2023-03-07 20:13:28 +01:00
#define UI_QUEUE_SIZE 10
2023-03-18 21:44:01 +01:00
#define VEHICLE_UPDATE_QUEUE_SIZE 100
2023-03-05 21:24:12 +01:00
/* USER CODE END EC */
/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
/* USER CODE END EM */
/* Exported functions prototypes ---------------------------------------------*/
/* USER CODE BEGIN EFP */
/* USER CODE END EFP */
/* Private defines -----------------------------------------------------------*/
/* USER CODE BEGIN PD */
/* USER CODE END PD */
#ifdef __cplusplus
}
#endif
#endif /* APP_AZURE_RTOS_H */