Hello,
another question from me :)
First of all, I'm working with Eclipse, GCC compiler and SDK 15.2.0.
I want to add GPIOTE funtionality to the TWI example of Nordic. I'm not quit sure which module to use. I found one GPIOTE module under libraries/gpiote folder (app_gpiote.h) and one in modules/nrfx/drivers/include (nrfx_gpiote.h). Finally my decition was to use the one in the libraries folder (app_gpiote.h). So my first question: what is the correct module? Why are there two modules for the same function?
Second question: I included header file for GPIOTE module to main.c and in the makefile, activated GPIOTE definition in sdk_config.h (actually there are two of these in the sdk also, why is that?). In the main routine I used the APP_GPIOTE_INIT macro as mentioned in the offline documentation. Compiling of the project works fine, but the linker rejects an undefined reference. Is there something else I must do to add the software module?
Thanks in advance for your help!!
Kind regards
Sascha Schmidt