1 of 1 people found this helpful
Look at any of the platform.c files. This is where the interrupts are enabled prioritized and hooked.
I tried adding RTC alarm interrupt handler in platform.c but getting compile error.
Can you please help me on the same
Lines added in platform.c
WWD_RTOS_MAP_ISR( rtc_alarm_irq , RTC_Alarm_irq )
WWD_RTOS_DEFINE_ISR( rtc_alarm_irq )
Lines added in platform_mcu_peripheral.h
platform_result_t platform_rtc_alarm_irq ( void );
This function is defined in platform_rtc.c
D:\Wiced_SDK_3.5.2/platforms/STMF405/platform.c:517: undefined reference to `platform_rtc_alarm_irq'
I tried a similar thing for Timer 2 but while debugging I found that it hangs and UnhandledInterrupt();
I also see the active IRQ number is 44. I am using STM32F05 .
It looks like the interrupt is enabled, but it is not hitting user defined ISR.
Can anybody help me in solving this issue?
Thanks in advance.