Mismatch devices and handles #47107
Unanswered
abarnas-summerrnd
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to build my own out of three driver and then extend its usage to specify things on the device tree. Now it is a simple device having a function that prints some text (similar to a sample from zephyr "hello_world_module").
I am defining device using makro
DEVICE_DEFINE(test_driver, "TEST_DRIVER", init, NULL, &data, NULL, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &((struct test_driver_api){ .toggle = toggle_impl }));
But getting the error above during compilation.
What can cause
mismatch devices and handles
and how to avoid this error?Glad if someone could help.
Beta Was this translation helpful? Give feedback.
All reactions