- SPI Kconfig.nrfx changes in recent (1.13.99) clone - setting GPIO pins for SPI master now fails.
Re: SPI Kconfig.nrfx changes in recent (1.13.99) clone - setting GPIO pins for SPI master now fails.
Jan Van Winkel <jan.van_winkel@...>
toggle quoted messageShow quoted text
SPI config has switched to devicetree and you only need following configs in you prj.conf file for SPI_0:
All other configurations come from the boards DTS files. Have a look at boards/arm/nrf52840_pca10059/nrf52840_pca10059.dts and dts/arm/nordic/nrf52840.dtsi .
In case you need to adapt the default settings you can add an overlay to your project directory.
My zephyr app, built on ver 1.13.0 with the following prj.cfg file:
built and ran successfully on a nrf52840_pca10056 board. I have recently updated to ver 1.13.99 and it no longer
gets through cmake because several symbols are no longer in the Kconfig.nrfx file for the SPI driver. Namely,
CONFIG_SPI_0_SCK_PIN, _MOSI_PIN, and _MISO_PIN. I need to set these pins to coincide with target hardware,
Also, SPI_0_NAME seems to have disappeared.
Looking more closely at the Kconfig.nrfx files from both clones, the latest version has changed and does not include
symbols to set up these pins. I guess I could edit the .config file, but that would be overwritten every time I run cmake.
Maybe I'm just out of phase here. Is there a nrf spim driver update in progress? Any help would be appreciated.
Join email@example.com to automatically receive all group messages.