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

NRF52832 BOTUTTONLESS DFU+FREERTOS

I'm struggling to get buttonless DFU to work with FreeRTOS. I've gotten buttonless DFU sample to run on the hardware. I also have FreeRTOS running on the hardware. However when I try to put them together, There is a mistake about RTC1_IRQHandler。

keil log:     .\_build\nrf52832_xxaa.axf: Error: L6200E: Symbol RTC1_IRQHandler multiply defined (by port_cmsis_systick.o and drv_rtc.o).

drt_rtc.c:

#define drv_rtc_rtc_0_irq_handler RTC0_IRQHandler
#define drv_rtc_rtc_1_irq_handler RTC1_IRQHandler
#define drv_rtc_rtc_2_irq_handler RTC2_IRQHandler

freertosconfig.h

  #define xPortSysTickHandler     RTC1_IRQHandler

Is there a guide of how to add Buttonless DFU to a FreeRTOS application?  Or to add FreeRTOS to a buttonless one?

How can i use and config RTC1

  • Hi 

    It is much easier to add buttonless DFU support to an existing example than it is to add FreeRTOS support. 

    In other words I strongly recommend starting out with the ble_app_hrs_freertos example, which already combines BLE and FreeRTOS, and then adding buttonless DFU to this one. 

    For help on integrating buttonless DFU I would recommend having a look at the buttonless DFU template example, and the documentation here.

    Best regards
    Torbjørn 

Related