Skip to content

Commit d18ca3a

Browse files
committed
Fix issues pointed during the review
1 parent e3ea77f commit d18ca3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/advanced/cmsis-rtos.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ CMSIS/RTX code is imported from the original CMSIS repository, which you can fin
44

55
## Memory considerations
66

7-
Please note that mbed OS doesn't use any of the RTX memory models, which are based on static carveouts (memory pools). This approach is not ideal for generic system, such as mbed O,S because calculating required numbers of RTOS objects is impossible. To avoid declaring arbitrary large buffers, carved out on compile time, limiting amount of available memory, mbed OS shifts the responsibility of supplying the backing memory to CMSIS-RTOS2 users.
7+
Please note that mbed OS doesn't use any of the RTX memory models, which are based on static carveouts (memory pools). This approach is not ideal for generic systems, such as mbed OS, because calculating required numbers of RTOS objects is impossible. To avoid declaring arbitrary large buffers carved out at compile time, limiting the amount of available memory, mbed OS shifts the responsibility of supplying the backing memory to CMSIS-RTOS2 users.
88

9-
Therefore developers need to use the mbed OS RTOS C++ API or supply backing memory for RTX objects to `os*New` calls when using CMSIS-RTOS2 APIs directly. (Please consult CMSIS-RTOS2 documentation for API details.) `mbed_rtos_storage.h` header provides handy wrappers that you can use to secure required memory without exposing the code to RTX implementation details.
9+
Developers need to use the mbed OS RTOS C++ API or supply backing memory for RTX objects to `os*New` calls when using CMSIS-RTOS2 APIs directly. (Please consult CMSIS-RTOS2 documentation for API details.) `mbed_rtos_storage.h` header provides handy wrappers that you can use to secure required memory without exposing the code to RTX implementation details.
1010

1111
## Configuration
1212

@@ -51,7 +51,7 @@ Due to different use cases between mbed OS and CMSIS, we had to make some modifi
5151
Filename | Description |
5252
---------|-------------|
5353
`cmsis_compiler.h` | Added IAR missing __ALIGNED attribute for earlier (less than 7.8.4) versions |
54-
``cmain.S`` | custom IAR non-RTOS boot sequence for mbed |
54+
`cmain.S` | custom IAR non-RTOS boot sequence for mbed |
5555

5656

5757
### RTX
@@ -72,6 +72,6 @@ Filename | Description |
7272
`svc_user.c` | Removed as its template file and should not be in our code base |
7373
`rt_OsEventObserver.{c,h}` | Added an interface for uVisor to be notified about certain events from privileged code |
7474

75-
#### Other
75+
### Other
7676

7777
* For all toolchains, mbed OS uses `irq_cm0.s` for both M0 and M0P cores.

0 commit comments

Comments
 (0)