zephyr/lib
Nicolas Pitre 019a1e13f4 cbprintf_packaged: code cleanups
- Abstract buffer offset computation for better code clarity.

- Rework the logic around rw/ro strings to simplify the logic and
  to guard against overflows even when only computing the needed buffer
  size.

- Use modulus to simplify alignment tests (generated assembly is
  the same).

- Avoid CBPRINTF_ prefixes for local macro names

- Better pointer types to reduce cast usage.

- Add more comments.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2022-01-20 08:21:33 -05:00
..
gui lib: lvgl: obtain LVGL_DISPLAY_DEV_NAME from devicetree 2021-12-10 12:47:30 +01:00
libc arch: add MIPS architecture support 2022-01-19 13:48:21 -05:00
open-amp
os cbprintf_packaged: code cleanups 2022-01-20 08:21:33 -05:00
posix lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
smf lib: smf: Remove unused variables 2021-10-26 17:53:32 -04:00
util lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
CMakeLists.txt lib: smf: Add State Machine Framework 2021-10-04 20:33:11 -04:00
Kconfig lib: smf: Add State Machine Framework 2021-10-04 20:33:11 -04:00