mode | binary size (bytes) | memory size (bytes) | Note | Development tool |
只支持Binary Semaphore | 3872 | 3248 | 3 tasks,1 Binary Semaphore | Keil uVision4 |
只支持Mutex | 4004 | 3224 | 3 tasks,1 Mutex | Keil uVision4 |
只支持Count semaphore | 4180 | 2632 | 2 tasks,1 Count Semaphore | Keil uVision4 |
只支持Recursive Mutex | 4320 | 3224 | 3 tasks,1 Recursive Mutex | Keil uVision4 |
支持Binary Semaphor + Mutex + Count semaphore + Recursive Mutex | 5356 | 3592 | 3 tasks,1 Binary Semaphore,1 Count Semaphore, 1 Mutex and 1 Recursive Mutex | Keil uVision4 |
只支持Message Queue | 4200 | 3304 | 3 tasks,1 Message Queue | Keil uVision4 |
| | | | |
| | | | |
只支持Binary Semaphore | 4880 | 3392 | 3 tasks,1 Binary Semaphore | IAR 5.50 |
只支持Mutex | 4984 | 3372 | 3 tasks,1 Mutex | IAR 5.50 |
只支持Count semaphore | 5208 | 2780 | 2 tasks,1 Count Semaphore | IAR 5.50 |
只支持Recursive Mutex | 5244 | 3372 | 3 tasks,1 Recursive Mutex | IAR 5.50 |
支持Binary Semaphor + Mutex + Count semaphore + Recursive Mutex | 6324 | 3740 | 3 tasks,1 Binary Semaphore,1 Count Semaphore, 1 Mutex and 1 Recursive Mutex | IAR 5.50 |
只支持Message Queue | 4664 | 3448 | 3 tasks,1 Message Queue | IAR 5.50 |
注:
1)main stack size is 1024 bytes. | |
2)others task stack size 128words*4 = 512bytes. | |
3)优先级数设为5. | |
| |