|
14 | 14 | - RT-Thread操作系统的Arduino生态兼容层:https://github.com/RTduino/RTduino |
15 | 15 |
|
16 | 16 | ## 2 FreeRTOS的API支持情况 |
| 17 | + |
17 | 18 | 兼容层对FreeRTOS API的支持情况如下: |
18 | | -### 任务控制 |
| 19 | + |
| 20 | +### 2.1 任务控制 |
19 | 21 | - [x] xTaskCreate |
20 | 22 | - [x] xTaskCreateStatic |
21 | 23 | - [ ] [xTaskCreateRestrictedStatic](https://www.freertos.org/xtaskcreaterestrictedstaticfreertos-mpu-specific.html) |
|
51 | 53 | - [x] xTaskCallApplicationTaskTag |
52 | 54 | - [x] vTaskSetTimeoutState |
53 | 55 | - [x] xTaskGetCheckForTimeout |
54 | | -### 内核控制 |
| 56 | +### 2.2 内核控制 |
55 | 57 | - [x] [taskYIELD](https://www.freertos.org/a00020.html#taskYIELD) |
56 | 58 | - [x] [taskENTER_CRITICAL](https://www.freertos.org/taskENTER_CRITICAL_taskEXIT_CRITICAL.html) |
57 | 59 | - [x] [taskEXIT_CRITICAL](https://www.freertos.org/taskENTER_CRITICAL_taskEXIT_CRITICAL.html) |
|
65 | 67 | - [x] [xTaskResumeAll](https://www.freertos.org/a00135.html) |
66 | 68 | - [ ] [vTaskStepTick](https://www.freertos.org/vTaskStepTick.html) |
67 | 69 | - [ ] [xTaskCatchUpTicks](https://www.freertos.org/xTaskCatchUpTicks.html) |
68 | | -### 任务通知 |
| 70 | +### 2.3 任务通知 |
69 | 71 | - [x] [xTaskNotifyGive](https://www.freertos.org/xTaskNotifyGive.html) |
70 | 72 | - [x] [vTaskNotifyGiveFromISR](https://www.freertos.org/vTaskNotifyGiveFromISR.html) |
71 | 73 | - [x] [ulTaskNotifyTake](https://www.freertos.org/ulTaskNotifyTake.html) |
|
76 | 78 | - [x] [xTaskNotifyWait](https://www.freertos.org/xTaskNotifyWait.html) |
77 | 79 | - [x] [xTaskNotifyStateClear](https://www.freertos.org/xTaskNotifyStateClear.html) |
78 | 80 | - [x] [ulTaskNotifyValueClear](https://www.freertos.org/ulTasknotifyValueClear.html) |
79 | | -### 消息队列 |
| 81 | +### 2.4 消息队列 |
80 | 82 | - [x] [xQueueCreate](https://www.freertos.org/a00116.html) |
81 | 83 | - [x] [xQueueCreateStatic](https://www.freertos.org/xQueueCreateStatic.html) |
82 | 84 | - [x] [vQueueDelete](https://www.freertos.org/a00018.html#vQueueDelete) |
|
101 | 103 | - [ ] [vQueueAddToRegistry](https://www.freertos.org/vQueueAddToRegistry.html) |
102 | 104 | - [ ] [vQueueUnregisterQueue](https://www.freertos.org/vQueueUnregisterQueue.html) |
103 | 105 | - [ ] [pcQueueGetName](https://www.freertos.org/pcQueueGetName.html) |
104 | | -### 信号量/互斥量 |
| 106 | +### 2.5 信号量/互斥量 |
105 | 107 | - [x] [xSemaphoreCreateBinary](https://www.freertos.org/xSemaphoreCreateBinary.html) |
106 | 108 | - [x] [xSemaphoreCreateBinaryStatic](https://www.freertos.org/xSemaphoreCreateBinaryStatic.html) |
107 | 109 | - [x] [vSemaphoreCreateBinary](https://www.freertos.org/a00121.html) |
|
120 | 122 | - [x] [xSemaphoreGive](https://www.freertos.org/a00123.html) |
121 | 123 | - [x] [xSemaphoreGiveRecursive](https://www.freertos.org/xSemaphoreGiveRecursive.html) |
122 | 124 | - [x] [xSemaphoreGiveFromISR](https://www.freertos.org/a00124.html) |
123 | | -### 定时器 |
| 125 | +### 2.6 定时器 |
124 | 126 | - [x] [xTimerCreate](https://www.freertos.org/FreeRTOS-timers-xTimerCreate.html) |
125 | 127 | - [x] [xTimerCreateStatic](https://www.freertos.org/xTimerCreateStatic.html) |
126 | 128 | - [x] [xTimerIsTimerActive](https://www.freertos.org/FreeRTOS-timers-xTimerIsTimerActive.html) |
|
143 | 145 | - [x] [xTimerGetPeriod](https://www.freertos.org/FreeRTOS-timers-xTimerGetPeriod.html) |
144 | 146 | - [x] [xTimerGetExpiryTime](https://www.freertos.org/FreeRTOS-timers-xTimerGetExpiryTime.html) |
145 | 147 | - [x] [uxTimerGetReloadMode](https://www.freertos.org/uxTimerGetReloadMode.html) |
146 | | -### 事件集 |
| 148 | +### 2.7 事件集 |
147 | 149 | - [x] [xEventGroupCreate](https://www.freertos.org/xEventGroupCreate.html) |
148 | 150 | - [x] [xEventGroupCreateStatic](https://www.freertos.org/xEventGroupCreateStatic.html) |
149 | 151 | - [x] [vEventGroupDelete](https://www.freertos.org/vEventGroupDelete.html) |
|
155 | 157 | - [x] [xEventGroupGetBits](https://www.freertos.org/xEventGroupGetBits.html) |
156 | 158 | - [x] [xEventGroupGetBitsFromISR](https://www.freertos.org/xEventGroupGetBitsFromISR.html) |
157 | 159 | - [ ] [xEventGroupSync](https://www.freertos.org/xEventGroupSync.html) |
158 | | -### 不支持的功能 |
| 160 | +### 2.8 不支持的功能 |
159 | 161 | - [ ] [消息队列集](https://www.freertos.org/RTOS-queue-sets.html) |
160 | 162 | - [ ] [流缓冲区](https://www.freertos.org/RTOS-stream-buffer-API.html) |
161 | 163 | - [ ] [消息缓冲区](https://www.freertos.org/RTOS-message-buffer-API.html) |
@@ -324,3 +326,9 @@ Task 1 receive data 10 from queue |
324 | 326 | RT-Thread文档 [https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/README](https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/README) |
325 | 327 |
|
326 | 328 | FreeRTOS文档 [https://www.freertos.org/a00106.html](https://www.freertos.org/a00106.html) |
| 329 | + |
| 330 | +## 6 维护 |
| 331 | + |
| 332 | +主页:https://github.com/RT-Thread-packages/FreeRTOS-Wrapper |
| 333 | + |
| 334 | +维护:[唐照洲](https://github.com/tangzz98) |
0 commit comments