This repository has been archived on 2020-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
2016-09-09 16:12:41 +02:00

43 lines
1.5 KiB
C

/**
******************************************************************************
* @file stm32f4xx_it.c
* @author Ac6
* @version V1.0
* @date 02-Feb-2015
* @brief Default Interrupt Service Routines.
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal.h"
#include "stm32f4xx.h"
#ifdef USE_RTOS_SYSTICK
#include <cmsis_os.h>
#endif
#include "stm32f4xx_it.h"
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/******************************************************************************/
/* Processor Exceptions Handlers */
/******************************************************************************/
/**
* @brief This function handles SysTick Handler, but only if no RTOS defines it.
* @param None
* @retval None
*/
void SysTick_Handler(void)
{
HAL_IncTick();
HAL_SYSTICK_IRQHandler();
#ifdef USE_RTOS_SYSTICK
osSystickHandler();
#endif
}