I am trying to add to an existing project gpiote
I have copied the code from the example project and tried to add all the files and changes to my sdk_config.h to match the example but I cannot find the source of this cryptic error.
I mean cryptic because it does not point me in a direction (which is the problem with developing using the Nordic libraries.)
Please help what is missing.
'nrf_drv_gpiote_in_config_t' {aka 'struct <anonymous>'} has no member named 'init_state'
in expansion of macro 'NRFX_GPIOTE_CONFIG_OUT_TASK_TOGGLE'
in expansion of macro 'GPIOTE_CONFIG_OUT_TASK_TOGGLE'
As it gives the structure as anonymous it is hard to find how to solve the error except for blindly trying to add files and modify SDK settings to suit.
The call is here
#define GPIOTE_CONFIG_OUT_TASK_TOGGLE NRFX_GPIOTE_CONFIG_OUT_TASK_TOGGLE
It does appear that this should be from the struct nrfx_gpiote_out_config_t
which is in the file NRFX_GPIOTE.H
The definition of this structure does not seem to be dependent on anything