freertos.c 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /* USER CODE BEGIN Header */
  2. /**
  3. ******************************************************************************
  4. * File Name : freertos.c
  5. * Description : Code for freertos applications
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * Copyright (c) 2024 STMicroelectronics.
  10. * All rights reserved.
  11. *
  12. * This software is licensed under terms that can be found in the LICENSE file
  13. * in the root directory of this software component.
  14. * If no LICENSE file comes with this software, it is provided AS-IS.
  15. *
  16. ******************************************************************************
  17. */
  18. /* USER CODE END Header */
  19. /* Includes ------------------------------------------------------------------*/
  20. #include "FreeRTOS.h"
  21. #include "task.h"
  22. #include "main.h"
  23. /* Private includes ----------------------------------------------------------*/
  24. /* USER CODE BEGIN Includes */
  25. /* USER CODE END Includes */
  26. /* Private typedef -----------------------------------------------------------*/
  27. /* USER CODE BEGIN PTD */
  28. /* USER CODE END PTD */
  29. /* Private define ------------------------------------------------------------*/
  30. /* USER CODE BEGIN PD */
  31. /* USER CODE END PD */
  32. /* Private macro -------------------------------------------------------------*/
  33. /* USER CODE BEGIN PM */
  34. /* USER CODE END PM */
  35. /* Private variables ---------------------------------------------------------*/
  36. /* USER CODE BEGIN Variables */
  37. /* USER CODE END Variables */
  38. /* Private function prototypes -----------------------------------------------*/
  39. /* USER CODE BEGIN FunctionPrototypes */
  40. /* USER CODE END FunctionPrototypes */
  41. /* Hook prototypes */
  42. void vApplicationStackOverflowHook(xTaskHandle xTask, signed char *pcTaskName);
  43. /* USER CODE BEGIN 4 */
  44. void vApplicationStackOverflowHook(xTaskHandle xTask, signed char *pcTaskName)
  45. {
  46. /* Run time stack overflow checking is performed if
  47. configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2. This hook function is
  48. called if a stack overflow is detected. */
  49. }
  50. /* USER CODE END 4 */
  51. /* Private application code --------------------------------------------------*/
  52. /* USER CODE BEGIN Application */
  53. /* USER CODE END Application */