docs: update picolibc as default C library, remove experimental references

Made-with: Cursor
This commit is contained in:
Marius Vikhammer
2026-03-11 11:24:53 +08:00
parent c2768cf849
commit 60320ff0e9
6 changed files with 10 additions and 14 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ Reducing Stack Sizes
- Avoid stack heavy functions. String formatting functions (like ``printf()``) are particularly heavy users of the stack, so any task which does not ever call these can usually have its stack size reduced.
- Using experimental :ref:`picolibc-instead-of-newlib` reduces the stack usage of ``printf()`` calls significantly.
- Using :ref:`picolibc-instead-of-newlib` reduces the stack usage of ``printf()`` calls significantly.
- Enabling :ref:`newlib-nano-formatting` reduces the stack usage of any task that calls ``printf()`` or other C string formatting functions.
- Avoid allocating large variables on the stack. In C, any large structures or arrays allocated as an automatic variable (i.e., default scope of a C declaration) uses space on the stack. To minimize the sizes of these, allocate them statically and/or see if you can save memory by dynamically allocating them from the heap only when they are needed.