NRF52832 sdk_config.h not controlling global project variables

Hello, 

I have the following setup where I am trying to access a function in nrfx_spim.c (red box) from the file mm101_drive.c (green box). 

 

However this function is not compiling because it is relying on the NRFX_SPIM_ENABLED variable in the sdk_config.h file to be true (see grayed out code from nrfx_spim.c below).

I have tried to set this variable to true in the sdk config file as proven below:

However this is not resolving the issue of the grayed out code. The nrfx_spim.c file shows the sdk_config in it's list of dependencies and I have verified that it is the correct config file by copying the full path and following it in the folder explorer. I have tried cleaning, rebuilding, etc. with no luck. Please let me know how to get this to recognize my sdk config settings. 

Thank you,

Skyler

Parents Reply Children
No Data
Related