Dear community,
I have multiple device chips I often re-use in multiple projects.
So I wish to create a shared zephyr external library for re-use.
What is the best way to organize my *.c | *.h | *.yml of my custom device drivers (as zephyr out-of-tree)
I have currently this standard zephyr external library folder structure:
<library root> \ board \ arm \ product_name\ *.dts <library root> \ dts \ binding \*.yml <library root> \ include \ *.h <library root> \ lib\ drivers \ driver_a \ *.c + cmakelist.txt + kconfig <library root> \ lib\ drivers \ driver_b \ *.c + cmakelist.txt + kconfig
I do not like this structure for custom device drivers
because all the related device driver files are scattered across multiple folders
Any advice to improve on issue would be welcome and is appreciated.
Best regards,
nRFxFanBoy