zephyr/subsys
Nicolas Pitre fb73ac392c lib/os/cbprintf_nano.c: several improvements
This makes cbprintf_nano.c much closer to the standard printf and
therefore more useful. The following are now implemented:

- right justification for everything (only for numbers previously)
- precision value for numbers, chars and strings
- width/precision passed as arguments with *
- "unlimited" padding length
- lower/uppercase hex output
- the #, + and ' ' flags are supported

And the code was heavily reworked to reduce its size as much as
possible to mitigate the size growth. Still, the binary resulting
from cbprintf_nano.c is now between 10% and 20% bigger depending on
the architecture. This is still far smaller than cbprintf_complete.c
which remains about twice as big on average even without FP support.

Many unit tests that were skipped with CONFIG_CBPRINTF_NANO are now
enabled, and a few more were added for good measure.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2021-02-23 19:39:59 +01:00
..
bluetooth Bluetooth: controller: Use Ext. Advertising association for BIG created 2021-02-23 19:36:41 +01:00
canbus canbus: canopen: program: read flash in 32 byte chunks 2021-01-20 14:18:03 -06:00
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
cpp cpp: Fixed compile warning with extern array declaration 2020-06-09 14:42:16 +02:00
debug spinlock: validate: fix the dependency with MP_NUM_CPUS 2021-01-26 08:43:45 -05:00
demand_paging mmu: backing stores reserve page fault room 2021-01-23 19:47:23 -05:00
dfu modules: introduce MCUBOOT_BOOTUTIL module 2021-01-14 18:03:38 +01:00
disk disk: sdhc: NXP: Convert clock control to use DEVICE_DT_GET 2021-02-18 12:27:48 -06:00
emul emul: Add an emulator for the eSPI Host 2021-01-20 17:49:19 -05:00
fb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fs fs: littlefs: fix mis-use of preprocessor 2021-02-08 11:36:24 -05:00
ipc arm: Remove Musca-A SoC/board support 2021-02-15 21:04:23 +03:00
jwt Kconfig: cleanup subsystems 2020-08-24 10:24:30 +02:00
logging logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
lorawan lorawan: Add userspace-defined battery level callback API 2021-02-15 08:19:03 -05:00
mgmt net: coap: clean up token usage in samples and tests 2021-02-02 14:03:01 -05:00
net net: openthread: style adjustments in radio.c 2021-02-23 11:30:25 +01:00
power power: Remove PM_STATE_LOCK option 2021-02-15 08:08:36 -05:00
random random: ctr_drbg: Fix the error path in sys_csrand_get 2020-12-01 10:20:06 -06:00
settings settings: Handle unhandled error 2021-02-03 08:37:11 -05:00
shell lib/os/cbprintf_nano.c: several improvements 2021-02-23 19:39:59 +01:00
stats misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
storage devicetree: flash-partitions: expose helper macros 2020-12-27 18:16:20 +01:00
testsuite ztest: fix z_assert_within() bounds 2021-02-17 06:32:02 -05:00
timing timing: fix timing_stop() ref counting 2021-01-04 12:15:30 +01:00
tracing systemview: Use common function to get sysview thread name 2020-11-21 08:29:26 -05:00
usb usb: hid: make config USB_DEVICE_HID menuconfig 2021-02-19 14:39:26 -05:00
CMakeLists.txt demand_paging: add infra for demand paging modules 2021-01-23 19:47:23 -05:00
Kconfig demand_paging: add infra for demand paging modules 2021-01-23 19:47:23 -05:00