Hi Tim,

You are right, Documentation is one of our "Achilles tendon".

But, of course, some times it is also the user search fault, maybe
they don't have the Google-fun skills yet (please don't take it as
personal).

If you search for NuttX EEPROM Tutorial

It will returns this tutorial:

https://www.youtube.com/watch?v=qzjf2JtgYN0

Please get us to improve this situation, write a tutorial at:
nuttx/Documentation/guides/ about it.

BR,

Alan

On 8/24/21, Tim <t...@jti.uk.com.invalid> wrote:
> The more time I spend with nuttx the more I think I just haven't found some
> treasure trove of documentation somewhere. All I seem to end up doing is
> searching every single file for some kind of clue as to what to do!
>
>
>
> I have an SPI EEPROM device. Menuconfig allows me to set it up, lovely! I
> end up with
>
> CONFIG_EEPROM=y
>
> CONFIG_SPI_EE_25XX=y
>
>
>
> (Also SPI mode and frequency).
>
>
>
> Now what..
>
>
>
> If I search for either of those CONFIG parameters, the first is not
> referenced anywhere (apart from my .config), the second confirms that it
> will include spi_xx25xx.c as a source. Getting there..
>
>
>
> It'll be ee25xx_initialize(FAR struct spi_dev_s *dev, FAR char *devname,
> int
> devtype, int readonly) I need to call - makes sense.
>
>
>
> Only there is no explanation, or examples of, how to make that call, and a
> Google search doesn't help either.
>
>
>
> Next step will be to look for examples of spi_dev_s and see if I can deduce
> it somehow.
>
>
>
> Just how am I supposed to know how to call that initialisation code? Which
> is why I started this question with the observation that surely I must be
> missing something somewhere!!??
>
>
>
> Yes, it's a bit of a whinge, but also a request for help..please :)
>
>

Reply via email to