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

'NRFX_SPIM0_INST_IDX' undeclared here (not in a function); did you mean 'NRFX_SPIM_INSTANCE'? error

'NRFX_SPIM0_INST_IDX' undeclared here (not in a function); did you mean 'NRFX_SPIM_INSTANCE'? error occured .

I am not using SPI , this error is not cured by me .I enable and disable all required in Config file. But failed to cure .

Please help me to cure this . 

Parents Reply
  • hi I am using segger 15.02 version .

    I am trying to execute a program where I am using pca10040 as a BLE publisher and subscriber. Ithis error is very unknown to me . Please help me out.  Its showing in file NRFX_SPIM.h file

    #define NRFX_SPIM_INSTANCE(id) \
    { \
    .p_reg = NRFX_CONCAT_2(NRF_SPIM, id), \
    .drv_inst_idx = NRFX_CONCAT_3(NRFX_SPIM, id, _INST_IDX), \
    }

    Its showing  NRFX_SPIM_INSTANCE  undeclared here

Children
Related