zephyr/lib/os
Kim Sekkelund 0450263393 Bluetooth: Host: Remove printk dependency from settings
Some modules use snprintk to format the settings keys. Unfortunately
snprintk is tied with printk which is very large for some embedded
systems.
To be able to have settings enabled without also enabling printk
support, change creation of settings key strings to use bin2hex, strlen
and strcpy instead.
A utility function to make decimal presentation of a byte value is
added as u8_to_dec in lib/os/dec.c
Add new Kconfig setting BT_SETTINGS_USE_PRINTK

Signed-off-by: Kim Sekkelund <ksek@oticon.com>
2019-09-25 17:36:39 +02:00
..
assert.c assert: generate oops if invoked from usermode 2019-07-20 08:29:39 -04:00
base64.c cleanup: include/: move base64.h to sys/base64.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt Bluetooth: Host: Remove printk dependency from settings 2019-09-25 17:36:39 +02:00
crc7_sw.c cleanup: include/: move crc.h to sys/crc.h 2019-06-27 22:55:49 -04:00
crc8_sw.c cleanup: include/: move crc.h to sys/crc.h 2019-06-27 22:55:49 -04:00
crc16_sw.c cleanup: include/: move crc.h to sys/crc.h 2019-06-27 22:55:49 -04:00
crc32_sw.c cleanup: include/: move crc.h to sys/crc.h 2019-06-27 22:55:49 -04:00
dec.c Bluetooth: Host: Remove printk dependency from settings 2019-09-25 17:36:39 +02:00
fdtable.c cleanup: include/: move misc/speculation.h to sys/speculation.h 2019-06-27 22:55:49 -04:00
hex.c kernel: lib: Add convert functions for hex strings and binary arrays 2019-07-16 12:44:18 +02:00
json.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
Kconfig lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
mempool.c mempool: significant reduction of memory waste 2019-07-16 14:21:21 -07:00
mutex.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
printk.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
rb.c cleanup: include/: move misc/rb.h to sys/rb.h 2019-06-27 22:55:49 -04:00
ring_buffer.c cleanup: include/: move ring_buffer.h to sys/ring_buffer.h 2019-06-27 22:55:49 -04:00
sem.c lib: os: add sys_sem data type 2019-07-24 10:12:25 -07:00
thread_entry.c lib: os: remove dead code 2019-06-18 09:08:01 -04:00
timeutil.c lib/timeutil: avoid implementation-defined behavior 2019-09-19 20:49:51 -04:00
work_q.c lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00