multiple definition of RADIO_IRQHandler using sdk17 dtm files and gzll library (dtm test fails)

To the kind attention of Nordic support team,

I'm introducing dtm files to the project we are working on (fully developed using latest sdk17). We use in this project gzll_nrf52810_sd_resources_gcc.a as well. When compiling, we get this RADIO_IRQHandler multiple definitions error. If I remove this handler present in sdk17 dtm files, can compile but after that it seems dtm test is failing if using nRFConnect and Direct Test Mode v2.0.1, suggesting that the two RADIO_IRQHandlers are not fully interchangeable. 

What would you suggest about this? 

Thank you for you gentle attention,

Best regards

Parents Reply Children
  • Hi jonathan thank you very much for your reply. For a previous project used dtm as an integrated part of the project and not stand alone. It was requested us to reserve a gpio pin so to enter dtm at boot time according to its state. So the question was about how to deal with such a scenario.

    Best regards

  • What would you suggest about this? This information could complete what discussed in: 

    I dont understand what you mean here, when you reference this case. 


    But the main issue you have here is that there will be two radio handlers, this will not work. And i don't see that the use of the DTM sample can fit well with a different application, it is quite the specific application for product. We do not support more than one application in the bootloader also, so to switch between to fill applications does not work either. 

    The RADIO_IRQHandler is part of a already exiting library so it is not possible to change. 

    astella said:
    a previous project used dtm as an integrated part of the project and not stand alone.

    Could you do a standalone DTM version? Was previous version on a older SDK?


    Regards,
    Jonathan

  •  Could you do a standalone DTM version?

    It is difficult to say at this stage if it is ok for factory. In previous project they pressed us so to have only one binary file. 

    Was previous version on a older SDK?

    Exactly

    Another way to go (explore at least in my case) could be to try and use old sdk (16) dtm files with sdk (17).

    Yes, you are right, sorry for the reference to that other devzone case, I'm deleting those lines in original question. Ok then, i'll update this thread after trying something.

     Best regards,

  • Was gzll used in previous device?

    Changing the radio handlers to one in stead of two when one is form a already existing lib is not recommended as it is considered difficult an not a elegant solution, but can be done.

    are you paling on using a bootloader?

    you can load the two applications to flash, if you offset one of them, then you sill only have one hex file. 



    Regards,
    Jonathan

Related