In SDK8.1 and SDK9.0 we have new driver nrf_drv_gpiote which has GPIOTE interrfupt handler in conflict with app_gpiote library. How to fix this
In SDK8.1 and SDK9.0 we have new driver nrf_drv_gpiote which has GPIOTE interrfupt handler in conflict with app_gpiote library. How to fix this
The diff: www.diffchecker.com/nub7badx
nice pkarc, can I borrow your link and put it in my answer? Which SDK Version does it apply for?
sure, it apply for SDK 9.0
I'm having some trouble getting this fix to work with SDK 9.0.0 (f.e. both the driver and the library depend on the gpiote_user_t typedef). I tried solving these new issues, but I don't seem to get it to work. Could anyone please provide some pointers on what else needs to be changed to get this to work? That would be much appreciated! Also, is there any news on the release date of the next SDK and/or the official patch mentioned above?
Hi @Aryan,
I tried to use "merge_gpiote_handler" in nrf_drv_gpiote.c. Also modified "app_gpiote.c" as said above but its showing errors as follows:
error: #20: identifier "app_gpiote_event_handler_t" is undefined
error: #147: declaration is incompatible with "void nrf_gpio_cfg_sense_set(uint32_t, nrf_gpio_pin_sense_t)" (declared at line 430 of "........\components\drivers_nrf\hal\nrf_gpio.h")
Please suggest..
Thanks,