Re: Sharing a driver between similar devices


Peter A. Bigot
 

I believe https://github.com/zephyrproject-rtos/zephyr/issues/20287 is relevant to this problem.   At the time there was no solution; now it may be that 
DT_NODE_HAS_COMPAT(DT_DRV_INST(N), other_compat) handles it if just you iterate over the base lsm6dsl device.

Join devel@lists.zephyrproject.org to automatically receive all group messages.