-
Notifications
You must be signed in to change notification settings - Fork 7.4k
logger sample fails on qemu_xtensa due to lack of backend #10164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which is not really surprissing: ------------------------ subsys/logging/CMakeLists.txt ------------------------
index a27cf1e..e46c5e0 100644
@@ -15,6 +15,6 @@ zephyr_sources_ifdef(
)
zephyr_sources_ifdef(
- CONFIG_LOG_BACKEND_NATIVE_POSIX
- log_backend_native_posix.c
+ CONFIG_LOG_CMDS
+ log_cmds.c
) |
I'll make a PR to fix that merge screw up. |
I am not sure I am following this, why does it need a special logger backend? it was logging just fine with old logger to the console. How is this different from qemu_x86 or qemu_nios2? What logger backends do those have? |
qemu uses own UART so it uses usual UART logging backend, @nordic-krch native_posix backend in only for native_posix board configuration. |
It's because new logger does not have (yet?) console backend. It has uart backend. So if target has no uart (or native_posix, or rtt when pr comes) it cannot do logging. We should add console backend but we need to be aware that it is byte API so it will slower than optimized uart backend (current uart backend is polling based, it's poor and needs to be improved as well but at least there is room for improvement). |
native_posix should be working fine, I tested several samples, all OK. |
Add backend for the xtensa simulator. Fixes zephyrproject-rtos#10164 Signed-off-by: Anas Nashif <[email protected]>
Add backend for the xtensa simulator. Fixes #10164 Signed-off-by: Anas Nashif <[email protected]>
Getting no output on both, see PR #10163 and the CI results.
The text was updated successfully, but these errors were encountered: