From a32cd668d6c793ee77c4d85ce5fb47e793f8ae11 Mon Sep 17 00:00:00 2001 From: Okke Formsma Date: Thu, 27 May 2021 14:20:45 +0200 Subject: [PATCH] fix(tests): Use debug builds and high resolution timer By setting CONFIG_DEBUG, the native_posix builds will not be optimized which makes debugging them much nicer. By setting CONFIG_SYS_CLOCK_TICKS_PER_SEC to 1000, debug prints have a higher resolution and not always show up as multiples of 10ms. --- app/boards/native_posix.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/boards/native_posix.conf b/app/boards/native_posix.conf index 357b1b86..fa9d953e 100644 --- a/app/boards/native_posix.conf +++ b/app/boards/native_posix.conf @@ -6,3 +6,5 @@ CONFIG_ZMK_BLE=n CONFIG_LOG=y CONFIG_LOG_BACKEND_SHOW_COLOR=n CONFIG_ZMK_LOG_LEVEL_DBG=y +CONFIG_DEBUG=y +CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000