Merge pull request #10 from mysterywolf/readme

readme: add rt-thread introduction
This commit is contained in:
Gabriel Wang 2022-06-15 11:23:15 +01:00 committed by GitHub
commit 25edd0d14d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -341,7 +341,11 @@ __super_loop_monitor__()
#endif
```
### 2.3 Use perf_counter in RT-Thread RTOS
perf_counter has registered as one of the [RT-Thread software packages](https://packages.rt-thread.org/en/detail.html?package=perf_counter), which locats in `system` category. In [ENV](https://www.rt-thread.io/download.html?download=Env) or [RT-Thread Studio](https://www.rt-thread.io/download.html?download=Studio), you just need to simply enable cputime framework. RT-Thread will automatically enable perf_counter if you are using Cortex-M architecture.
![rt-thread-settings](./documents/pictures/rt-thread-settings.png)
**Enjoy !**

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB