FreeRTOS移植

发布于 2024-06-09  114 次阅读


FreeRTOS
	\Demo\CORTEX_STM32F103_Keil
	FreeRTOSConfig.h

	inc
		\Source\include
		all
	src
		\Source
		croutine.c
		event_groups.c
		list.c
		queue.c
		tasks.c
		timers.c
	port
		\Source\portable\MemMang
		heap4.c
		\Source\portable\RVDS\ARM_CM3
		port.c
		portmacro.h

add
#define xPortPendSVHandler  PendSV_Handler
#define vPortSVCHandler     SVC_Handler
#define xPortSysTickHandler SysTick_Handler
in FreeRTOSConfig.h

comment
PendSV_Handler
SVC_Handler
SysTick_Handler
in stm32f1xx_it.c

add
#include "freertos.h"
#include "task.h"
in main.c
最后更新于 2024-06-27