Hi, I'm using SDK12 and I'm trying to implement button debouncing. I have initialized one of the nRF52 board buttons using app_buttons.c. In the infocenter I read that debouncing is handled with the app_gpiote but when I try to initialize it using APP_GPIOTE_INIT(MAX_USERS) I get the following error:
undefined reference to `app_gpiote_init' in main.c
Yes I have included the app_gpiote.c file in my makefile and have also included the folder path in the folders to include section of the makefile. It seems that no matter what I do, this warning will not go away. I have tried interpreting solutions on other questions but I'm still lost. Also I am also using the softdevice. Not sure if this makes any difference...
Any help would be great.