You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Generated zephyr.dts: /home/shared/disk/zephyr_project/zephyr_test/zephyr/twister-out/ip_k66f_mk66f18/zephyr/tests/subsys/logging/log_core_additional/logging.log_user/zephyr/zephyr.dts
-- Generated pickled edt: /home/shared/disk/zephyr_project/zephyr_test/zephyr/twister-out/ip_k66f_mk66f18/zephyr/tests/subsys/logging/log_core_additional/logging.log_user/zephyr/edt.pickle
-- Generated devicetree_generated.h: /home/shared/disk/zephyr_project/zephyr_test/zephyr/twister-out/ip_k66f_mk66f18/zephyr/tests/subsys/logging/log_core_additional/logging.log_user/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /home/shared/disk/zephyr_project/zephyr_test/zephyr/twister-out/ip_k66f_mk66f18/zephyr/tests/subsys/logging/log_core_additional/logging.log_user/zephyr/dts.cmake
warning: LOG_PRINTK (defined at subsys/logging/Kconfig.processing:8) was assigned the value 'n' but
got the value 'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_PRINTK and/or
look up LOG_PRINTK in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.
warning: LOG_PRINTK (defined at subsys/logging/Kconfig.processing:8) has direct dependencies !USERSPACE && !LOG_MODE_MINIMAL && LOG with value n, but is currently being y-selected by the following symbols:
- LOG_BACKEND_RTT_FORCE_PRINTK (defined at subsys/logging/backends/Kconfig.rtt:103), with value y, direct dependencies LOG_BACKEND_RTT && !LOG_FRONTEND_ONLY && !LOG_MODE_MINIMAL && LOG (value: y), and select condition LOG_BACKEND_RTT && !LOG_FRONTEND_ONLY && !LOG_MODE_MINIMAL && LOG (value: y)
Parsing /home/shared/disk/zephyr_project/zephyr_test/zephyr/Kconfig
Loaded configuration '/home/shared/disk/zephyr_project/zephyr_test/zephyr/boards/segger/ip_k66f/ip_k66f_defconfig'
Merged configuration '/home/shared/disk/zephyr_project/zephyr_test/zephyr/tests/subsys/logging/log_core_additional/log_user.conf'
Merged configuration '/home/shared/disk/zephyr_project/zephyr_test/zephyr/twister-out/ip_k66f_mk66f18/zephyr/tests/subsys/logging/log_core_additional/logging.log_user/zephyr/misc/generated/extra_kconfig_options.conf'
error: Aborting due to Kconfig warnings
CMake Error at cmake/modules/kconfig.cmake:365 (message):
command failed with return code: 1
Call Stack (most recent call first):
cmake/modules/zephyr_default.cmake:131 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
cmake/package_helper.cmake:101 (find_package)
Please also mention any information which could help others to understand
the problem you're facing:
What target platform are you using?
ip_k66f
What have you tried to diagnose or workaround this issue?
git bisect
Is this a regression? If yes, have you been able to "git bisect" it to a
specific commit?
this is introduced by this pr
The commit '3b29b9fa3b4 (tests: logging: restore userspace testing,
2025-04-18)' set CONFIG_LOG_PRINTK=n which brakes the build on the
platform 'ip_k66f'.
Without CONFIG_LOG_PRINTK=n (dependency from CONFIG_USERSPACE=y) some
tests in 'tests/subsys/logging/log_core_additional/logging.log_user'
would not build.
Remove this dependency so that LOG_PRINTK can also be used from user
space, which is possible since '77925656ab8 (logging: Fix runtime
message creation in user-mode thread, 2025-04-18)' and reset
CONFIG_LOG_PRINTK=y.
Fixes: zephyrproject-rtos#89067
Signed-off-by: Christoph Winklhofer <cj.winklhofer@gmail.com>
Prepared a possible fix: LOG_PRINTK can be called from user space - hence, reset CONFIG_LOG_PRINTK=y and remove the dependency from CONFIG_USERSPACE=y (in subsys/logging/Kconfig.processing). Hope this helps!
Describe the bug
Please also mention any information which could help others to understand
the problem you're facing:
specific commit?
this is introduced by this pr
To Reproduce
Steps to reproduce the behavior:
west build -p -b ip_k66f/mk66f18 tests/subsys/logging/log_core_additional -T logging.log_user
Expected behavior
build pass
Impact
logging system on ip_k66f platform
Logs and console output
see above
Additional context
The text was updated successfully, but these errors were encountered: