Skip to content

Commit f2d0251

Browse files
committed
Removed note on RTOS application
1 parent 19c6df1 commit f2d0251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/bare_metal/c_small_libs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<h1 id="using-small-c-libraries">Using small C libraries in Mbed OS</h1>
1+
<h1 id="using-small-c-libraries">Using small C libraries in Mbed OS bare metal</h1>
22

3-
If your application does not use a RTOS then you should build it in the bare metal mode to achieve memory savings. Both the `ARM` and `GCC_ARM` toolchains support code optimised versions of their C standard libraries, `microlib` and `newlib-nano`. It is safe to use these smaller C libraries in bare metal mode and we recommend using them. Note that a Mbed OS application can build with these libraries in non bare metal mode but you need to be aware of some restrictions in their usage, in particular in regard to thread-safety, as will be described later.
3+
If your application does not use a RTOS then you should build it in the bare metal mode to achieve memory savings. Both the `ARM` and `GCC_ARM` toolchains support code optimised versions of their C standard libraries, `microlib` and `newlib-nano`. It is safe to use these smaller C libraries in bare metal mode and we recommend using them.
44

55
You can build with the smaller C libraries by creating a `mbed_app.json` with the following contents:
66

0 commit comments

Comments
 (0)