refresh doc

This commit is contained in:
daishengdong
2020-01-06 10:31:58 +08:00
parent c9556307df
commit f55b05429b
4 changed files with 24 additions and 24 deletions

View File

@@ -193,7 +193,7 @@ TencentOS tiny所有要添加的头文件目录如下
## 三、创建TencentOS tiny任务测试移植结果
### 1. 修改部分代码
#### 修改stm32l0xx_it.c的中断函数,在stm32l0xx_it.c文件中包含 tos.h 头文件
#### 修改stm32l0xx_it.c的中断函数,在stm32l0xx_it.c文件中包含 tos_k.h 头文件
![](https://main.qcloudimg.com/raw/172245ad4fd6768dca798fd2db209755.png)
在stm32l0xx_it.c文件中的PendSV_Handler函数前添加___weak关键字因为该函数在TencentOS tiny的调度汇编中已经重新实现同时在SysTick_Handler函数中添加TencentOS tiny的调度处理函数如下图所示