Skip to content

Commit c7575cf

Browse files
authored
Update readme.md
1 parent 31413e3 commit c7575cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,17 @@ vTaskStartScheduler();
239239
使用兼容层时,任何使用`xTaskCreate`创建的线程若优先级比`CONFIG_RT_MAIN_THREAD_PRIORITY`更高,会立即开始执行。`vTaskStartScheduler`只是为了提供对应用的兼容,没有任何实际效果。在使用兼容层时,创建线程要特别注意,确保在调用`xTaskCreate`时,该线程所需的所有资源已经完成初始化,可以正常运行。
240240
241241
## 4 使用方法
242-
通过Env工具将兼容层加入到工程中:
242+
243+
通过Env工具或RT-Thread Studio将FreeRTOS兼容层加入到工程中:
244+
243245
```shell
244246
RT-Thread online packages
245247
system packages --->
246248
[*] FreeRTOS Wrapper --->
247249
Version (latest)
248250
```
249251

250-
使用`scons --menuconfig`配置RT-Thread内核,以下选项会影响到FreeRTOS兼容层:
252+
以下选项会影响到FreeRTOS兼容层:
251253

252254
```c
253255
RT_USING_TIMER_SOFT /* 使用FreeRTOS定时器时必须开启*/

0 commit comments

Comments
 (0)