toggle quoted messageShow quoted text
From: firstname.lastname@example.org <email@example.com> On
Behalf Of Jan Pohanka via lists.zephyrproject.org
Sent: 17 June 2020 08:48
To: Bolivar, Marti <Marti.Bolivar@nordicsemi.no>
Subject: Re: [Zephyr-users] how to provide own out of tree
implementation/replacement of existing driver
yes, but I'm afraid that this would work only in simplest cases eg.
when an in-tree driver is not selected as dependency etc...
út 16. 6. 2020 v 23:07 odesílatel Bolivar, Marti
You should be able to just disable the in-tree driver using Kconfig
and use your own out of tree driver.
"Jan Pohanka via lists.zephyrproject.org"
I would like to use my own implementation of an existing driver. Is
there any way to do that? I have found an amend feature in
https://github.com/zephyrproject-rtos/zephyr/pull/19980 but I cannot
make it work. If I understand correctly it is intended more to add
some functionality than completely replace.
In my use-case it would be probably easier to use out of tree
implementation for some time than maintain patches for the main
In fact I need just to add support for new soc from the stm32 family
that is not yet in existing drivers (clock, watchdog, ethernet,
Later when our code is polished, I will prepare pull-requests.