Hi, I am new to Zephyr and Nrf, I am trying to replicate the event manager arch from asset tracker v2 but I am stuck in the setup. I am trying to use the logging capacities as in the example but trying to use
LOG_MODULE_REGISTER(MODULE, CONFIG_APPLICATION_MODULE_LOG_LEVEL);
CONFIG_APPLICATION_MODULE_LOG_LEVEL is not defined.
In the example this variable is generated in autoconf.h but I don't know how.
In the example this variable is generated in autoconf.h but I don't know how.
This is mi Kconfig file
menu "Playground"
config APPLICATION_WORKQUEUE_STACK_SIZE
int "Application workqueue stack size"
default 4096
config APPLICATION_WORKQUEUE_PRIORITY
int "Application workqueue priority"
default SYSTEM_WORKQUEUE_PRIORITY
endmenu
menu "Zephyr Kernel"
source "Kconfig.zephyr"
endmenu
module = PLAYGROUND
module-str = Playground
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"and this is my .conf file
#General config CONFIG_LOG=y CONFIG_LOG_MODE_IMMEDIATE=y #Modules config CONFIG_GPIO=y
thanks for your help