Re: Flash drivers compatibility attitude

Paul Sokolovsky

Hello Andrzej,

On Fri, 7 Jul 2017 10:01:12 +0000
"Puzdrowski, Andrzej" <Andrzej.Puzdrowski@...> wrote:

In my opinion Flash driver API hasn't well-defined common behavior.
It could cause additional complexity in component added on top of
flash driver because the incompatibility must be deferred at higher
component level. I have 2 points:
I can't say much about Flash API, but the above paragraph reminds me
well about my own thoughts/wording about following problems:

1. Device naming inconsistencies, in particular, GPIO naming, e.g. one
port uses "GPIO_1", some another - "GPIOA".
2. Similar consistency/well-documentedness of UART API. This was
tracked as and I made
some effort to alleviate it in 1.8.0 release.

So, without having much experience with Flash API, or even looking into
it, I can give an "ack" that, with Zephyr being fast-growing and not
fully mature, there can be API issues like you mention, and would like
to encourage you to drive this matter forward - we need more people
paying attention to such issues ;-).


Andrzej Puzdrowski

Best Regards,
Paul | Open source software for ARM SoCs
Follow Linaro:!/linaroorg -

Join to automatically receive all group messages.