diff options
author | Okke Formsma <okke@formsma.nl> | 2021-05-27 14:20:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 08:20:45 -0400 |
commit | a32cd668d6c793ee77c4d85ce5fb47e793f8ae11 (patch) | |
tree | bf98c0a0958be86c1790d660c43f887dfcaa4d2c /app/boards/native_posix.conf | |
parent | 8196b1d46b54883758f9b153da0445fd1a641971 (diff) |
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.
Diffstat (limited to 'app/boards/native_posix.conf')
-rw-r--r-- | app/boards/native_posix.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/boards/native_posix.conf b/app/boards/native_posix.conf index 357b1b8..fa9d953 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 |