multiple fixes for stm32f1xx RTC clock
- compile issues because of missing RTC_MAGIC #defines - missing functionality based on RTC_MAGIC in RTC based on stm32_rtcounter.c - IRQ setup from up_rtc_initialize was later reset in up_irqinitialize - write access to backup registers without enabling access to backup domain - possible races in set/cancel alarm tested with STM32F103C8 only device now wakes up from forced STANDBY mode by alarm
Showing
- arch/arm/src/stm32/stm32_irq.c 5 additions, 0 deletionsarch/arm/src/stm32/stm32_irq.c
- arch/arm/src/stm32/stm32_rtc.h 35 additions, 4 deletionsarch/arm/src/stm32/stm32_rtc.h
- arch/arm/src/stm32/stm32_rtc_lowerhalf.c 4 additions, 0 deletionsarch/arm/src/stm32/stm32_rtc_lowerhalf.c
- arch/arm/src/stm32/stm32_rtcc.c 23 additions, 3 deletionsarch/arm/src/stm32/stm32_rtcc.c
- arch/arm/src/stm32/stm32_rtcounter.c 67 additions, 21 deletionsarch/arm/src/stm32/stm32_rtcounter.c
- arch/arm/src/stm32/stm32f40xxx_rtcc.c 21 additions, 0 deletionsarch/arm/src/stm32/stm32f40xxx_rtcc.c
- arch/arm/src/stm32l4/stm32l4_rtcc.c 21 additions, 0 deletionsarch/arm/src/stm32l4/stm32l4_rtcc.c
Loading
Please register or sign in to comment