How to use SPI_DT_GET_SPEC macro properly?

Hello, Devzone community :)

I'm trying to use the SPI_DT_GET_SPEC without success. I have constant 3 errors:

My initialization on the main file:

My overlay:

Parents
  • Hi

    For us to help you with this in the best possible way, please list the following information:

    • SDK Version
    • Development Kit Version
    • Which sample do you use, if any?

    Also, what is your end goal with "dev_spi"?

    Regards,
    Sigurd Hellesvik

Reply
  • Hi

    For us to help you with this in the best possible way, please list the following information:

    • SDK Version
    • Development Kit Version
    • Which sample do you use, if any?

    Also, what is your end goal with "dev_spi"?

    Regards,
    Sigurd Hellesvik

Children