Re: W25Qxx extern Flash


Tom Burdick
 

I actually need this same exact driver with a different size myself. This sounds like a good solution to me.

On Tue, Sep 17, 2019 at 8:10 AM Gaspard Rigolot <gaspard.rigolot@...> wrote:
Hello,

I currently work on custom board with Zephyr and W25Q80 extern flash memory.
I see that zephyr already got driver for W25QXX and yaml for W25Q16 but driver use some define like DT_WINBOND_W25Q16. So my yaml w25q80 can't work with zephyr driver without modifications. I propose to develop a generic yaml w25qxx.yaml and modify zephyr driver to be generic too. Second solution : one driver and yaml for each component.
The difference between q80 and q16 is the size of flash, define in kconfig not in dts.

Do you think the first solution is good?
 

Regards,


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