kernel: lib: Add convert functions for hex strings and binary arrays

Move duplicate hex2bin and add bin2hex function so that application can
use the functions and avoid code duplication.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2019-05-28 13:20:35 +02:00 committed by Carles Cufí
commit 7a93e948a9
9 changed files with 161 additions and 140 deletions

View file

@ -8,6 +8,7 @@ zephyr_sources(
crc8_sw.c
crc7_sw.c
fdtable.c
hex.c
mempool.c
rb.c
thread_entry.c