samples: rtio: disable debug log level
Avoid to build with debug log level enabled and instead register the test log modules with debug level. mr_canhubk3 board will fail to initialize the on-board watchdog within the expected window triggering a reset, due to the amount of log messages being printed. Other boards may face similar issues. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
2d49ab6623
commit
7ec624c3c4
3 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
|||
CONFIG_LOG=y
|
||||
CONFIG_LOG_MODE_MINIMAL=y
|
||||
CONFIG_LOG_DEFAULT_LEVEL=4
|
||||
CONFIG_RTIO=y
|
||||
CONFIG_RTIO_SYS_MEM_BLOCKS=y
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <zephyr/rtio/rtio.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
LOG_MODULE_REGISTER(main);
|
||||
LOG_MODULE_REGISTER(main, LOG_LEVEL_DBG);
|
||||
|
||||
#define N (8)
|
||||
#define M (N/2)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
LOG_MODULE_REGISTER(vnd_sensor);
|
||||
LOG_MODULE_REGISTER(vnd_sensor, LOG_LEVEL_DBG);
|
||||
|
||||
struct vnd_sensor_config {
|
||||
uint32_t sample_period;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue