This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error: L6200E: Symbol RTC2_IRQHandler multiply defined (by nrf_calendar.o and nrfx_rtc.o).

hi

I am using nRF5 Calendar example and  

I have this problem 

could you help me, how can I fix that?

I don't use the UART functions, I'm going to use SSD1306 to print data, what functions can I use to print in SSD1306?

.

.

.

.

I was using the google translator  :u

  • Hi Marcos,

    nrf_calendar seems to be bare metal and does not take any SDK and drivers into account. The easiest thing if you want this to run is perhaps to comment out the IRQHandler in the SDK. Things should work fine until you try using the same RTC in the SDK.

    You could perhaps define a call in the existing interrupt handler for RTC (RTC_IRQHandler) that runs the interrupt function defined for nrf_calendar.

    In the long run it might be better to use rtc_calendar as inspiration and rather use app_timer from the SDK.

    Have you had a look at this example using SSD1306 ? https://github.com/jimmywong2003/SSD1306-LCD-on-NRF52

    Best regards,

    Håkon

  • Hi Håkon

    Yes I am using SSD1306 example and its works, i want to merge nRF_calendar and SSD1306 example to print data. but I have no idea what functions I must to use.

    I will check that.

    RTC problem..

     I made a new project example uart , using the same example nrf_calendar and there is not error, 

    I was checking the Files in the new and old project, and  nrfx_rtc is the problem,

    I deleted that file and have no problem again.

    best reagrds

  • Great!

    Yeah you wouldn't need to include rtc, so removing it should be fine.

    Best regards,

    Elfving

Related