I checked the following problem while modifying the source code for SPI and TWI communication.
What is the reason and how to solve it?

I checked the following problem while modifying the source code for SPI and TWI communication.
What is the reason and how to solve it?

Double-click the error item to move to the next step.


Try to add the path to the file nRF5_SDK_17.0.2_d674dde/modules/nrfx/drivers/include/nrfx_spim.h:
Also, try to include the source file nRF5_SDK_17.0.2_d674dde/modules/nrfx/drivers/src/nrfx_spim.c to your project:
https://www.youtube.com/watch?v=t-kh1EbesvI
Lastly, enable SPI_ENABLED in the sdk_config.h:
Best regards,
Simon