Skip to content

Commit 3ac51cd

Browse files
galakAnas Nashif
authored and
Anas Nashif
committed
tests: newlib: disable bluetooth for now
When trying to build with newlib we get: hci_driver.c: In function 'hci_driver_open': hci_driver.c:389:10: error: format '%d' expects argument of type 'int', but argument 2 has type 'uint32_t {aka long unsigned int}' [-Werror=format=] BT_ERR("Required RAM size: %d, supplied: %u.", err, ^ This is because we have different types for {u}int32_t between newlib and mini-libc. We have to decide how we are going to handle this going forward. Various options include use of PRIu32, making mini-libc match newlib's types, disabling the -Werror=format, etc. Change-Id: I5df8fa05dd7658e1f6b2eeb8fa84e3270f3dd208 Signed-off-by: Kumar Gala <[email protected]>
1 parent 77b7cb9 commit 3ac51cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: tests/kernel/test_build/newlib.conf

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
CONFIG_DEBUG=y
22
CONFIG_STDOUT_CONSOLE=y
33
CONFIG_NEWLIB_LIBC=y
4-
4+
# turn bluetooth of until we resolve printf formatter
5+
# difference between newlib & min-libc
6+
CONFIG_BLUETOOTH=n

0 commit comments

Comments
 (0)