This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

spi slave - non-trivial designated initializers not supported

When using the nrf_drv for spi master there are no problems when compiling. If I switch the SPI configurations to operate as a spi slave the compiler spits out "non-trivial designated initializers not supported" errors in regards to some of the macros (i.e. NRF_DRV_SPIS_INSTANCE and NRF_DRV_SPIS_DEFAULT_CONFIG).

Is there a difference? How can I correct these errors?

I am currently developing with VisualGDB with the latest SDK.

Thanks,

Related