-
7-1:将FreeRTOS移植到stm32f103c8t6的实践
资源介绍
Keil version: v5.23.0.0
FreeRTOS version: v9.0.0
Hardware Board: Base on STM32F103C8T6
LED0 at PB7
LED1 at PB8
USART1_TX GPIOA.9
USART1_RX GPIOA.10
/******************************************************************************
* Copyright (C), 2017-2018, Doris Tech. Co., Ltd.
* FileName: README.txt
* Author : Doris
* Version : 1.0
* Date : 2018/5/11
* Description:
* Create 4 applications, start_task, task1_task and list_task.
* start_task: create other 2 tasks.
* task1_task: task 1, control LED.
* list_task: task on LIST and show info in serial port.
* KEY_UP:PA3, suspend task1.
* History:
*
* 1 tab == 4 spaces!
******************************************************************************/
task1_task will delete task2_task after running 5 times.
Note:
Learn details from STM32F103 FreeRTOS开发手册V1.1.pdf in chapter 7.7.1.
As I tested with XCOM v2.0, please make sure Chinese character coding in
ANSI in MDK!