Replies: 4 comments 2 replies
-
Hey ofirshe, I'm running into the same problem with a custom LCD driver. Did you find any acceptable solution? |
Beta Was this translation helpful? Give feedback.
-
It is possible. I've done that. The message says that no driver from To inhibit the message, there is are cmake function, which is not installed in zephyr_library_property(ALLOW_EMPTY TRUE) |
Beta Was this translation helpful? Give feedback.
-
For out-of-tree drivers, you can use zephyr/cmake/modules/extensions.cmake Line 431 in 1e471eb Beware that your directory structure must match that of Zephyr (i.e. use |
Beta Was this translation helpful? Give feedback.
-
Thank you guys. The problem was that the custom driver Kconfig files were not included int he build I think. Made it work some days ago by compiling my project inside a zephyr workspace. All the custom driver Kconfig related files were included after that, and the LCD driver was included even if that "Excluding target from build" was printed out. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I developed a low level network driver for out custom board and I would like to add my sources to an existing library drivers__ethernet.
Is it possible ? The only possible option I thought about is to clone a local copy of zpehyr and add my driver inside but I want to avoid this option.
Currently I got the message
CMake Warning at zephyr/CMakeLists.txt:824 (message):
No SOURCES given to Zephyr library: drivers__ethernet
Excluding target from build.
Thanks,
Ofir.
Beta Was this translation helpful? Give feedback.
All reactions