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

nrfx_gpiote_init undefined reference

Hi,

I have shifted from Arduino to nrf. Arduino is straight forward and with very less dev time. I understand this is way more powerful and next level platform, but does it have to be so painful to work on this platform? 

From the past four hours, I have been struggling with the implementation of the interrupt. I am looking at the code in the example "pin_change_int". Everything makes sense and when i copy the logic to my own program I get following GPIOTE errors. 

I have tried copying sdk_config.h GPIOTE text and enabling it from CMSIS editor. 

I have tried importing nrf_gpiote.c file from modules\nrfx\drivers\src

I watched the video that shows how to import driver. GPIOTE driver does not exist in the given folder

nrf_drv_gpiote. exists in the legacy folder. If it's legacy what is new? 

errors are

undefined reference to `nrfx_gpiote_init'

undefined reference to `nrfx_gpiote_in_init'

undefined reference to `nrfx_gpiote_in_event_enable'

Parents Reply Children
No Data
Related