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

nRF51_SDK_8.0.0 Symbol GPIOTE_IRQHandler multiply defined

Hi guys, I use old project try to build again in Keil when I installed nRF51_SDK_8.0.0. But I get the:

.\Objects\ble_knob_detection.axf: Error: L6200E: Symbol GPIOTE_IRQHandler multiply defined (by app_gpiote.o and nrf_drv_gpiote.o).

I don't have any idea what this come out. It seem the GPIOTE_IRQHandler conflict define. I already search it and find It's should be in nRF51_SDK > 8.0.0 be happen. But I'm use nRF51_SDK_8.0.0. Why this problem come out?

Here is my install package: image description

any suggestion is be appreciate.

Parents
  • This is a known issue in SDK8.1 and SDK9.0.

    You can find more information and discussion about it here

    The reason for this conflict is that the newly written app_gpiote did not make use of the driver available for gpiote, resulting in both implementing their own GPIOTE_IRQ handler. This problem was fixed in SDK10, i suppose.

  • hi aryan, right now i m looking for this issue and i saw NoRoadUse's question and your answer, i m using sdk9 and softdevice v8 (soft device enabled), in addition, i m using ble_app_template project, and made some modification (simply i deleted buttons_leds_init(&erase_bonds); line and related function above and bsp_event_handler function), in my project i use i2c library to control an acceleremoter (LIS3DH) interrupt. for this purpose, i added void GPIOTE_IRQHandler(void) to my main.c file and there occur some compile errors (multiply defined nrf_drv_gpiote.o and main.o ). are they same problem? (not: i use keil pack installer. ) thanks in advance.

Reply
  • hi aryan, right now i m looking for this issue and i saw NoRoadUse's question and your answer, i m using sdk9 and softdevice v8 (soft device enabled), in addition, i m using ble_app_template project, and made some modification (simply i deleted buttons_leds_init(&erase_bonds); line and related function above and bsp_event_handler function), in my project i use i2c library to control an acceleremoter (LIS3DH) interrupt. for this purpose, i added void GPIOTE_IRQHandler(void) to my main.c file and there occur some compile errors (multiply defined nrf_drv_gpiote.o and main.o ). are they same problem? (not: i use keil pack installer. ) thanks in advance.

Children
No Data
Related