不含stm32 底层的代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MyStm32Code/base/Inc/myrtos.h

26 lines
417 B

2 years ago
#ifndef __MY_RTOS_H
#define __MY_RTOS_H
#ifdef __cplusplus
extern "C" {
#endif
#include "FreeRTOS.h"
#include "task.h"
#include "main.h"
#include "cmsis_os.h"
extern osThreadId_t measureTaskHandle;
extern const osThreadAttr_t measureTask_attributes ;
extern osTimerId_t measureTimerHandle;
extern const osTimerAttr_t measureTimer_attributes ;
extern void RTOS_Port(void);
#ifdef __cplusplus
}
#endif
#endif