From 3ac51cd82bfdf998c1756993712792c652216bdc Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Tue, 24 Jan 2017 07:55:02 -0600 Subject: [PATCH] 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 --- tests/kernel/test_build/newlib.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/kernel/test_build/newlib.conf b/tests/kernel/test_build/newlib.conf index fd690407c24..1134b1fbd0d 100644 --- a/tests/kernel/test_build/newlib.conf +++ b/tests/kernel/test_build/newlib.conf @@ -1,4 +1,6 @@ CONFIG_DEBUG=y CONFIG_STDOUT_CONSOLE=y CONFIG_NEWLIB_LIBC=y - +# turn bluetooth of until we resolve printf formatter +# difference between newlib & min-libc +CONFIG_BLUETOOTH=n