Question
RTC error after updating Cuberepo 1.5 to 1.8
Posted on September 08, 2015 at 22:07
Topic says it all, I get an error in the
RTC
after updating the library version to 1.8.0 In the oldstm32f407xx
.h files I find:/******************** Bits definition forRTC_PRERregister *****************/
#defineRTC_PRER_PREDIV_A ((uint32_t)0x007F0000)
#defineRTC_PRER_PREDIV_S ((uint32_t)0x00001FFF)
In the new
stm32f407xx
.h files I find:/******************** Bits definition forRTC_PRERregister *****************/
#defineRTC_PRER_PREDIV_A ((uint32_t)0x007F0000)
#defineRTC_PRER_PREDIV_S ((uint32_t)0x00007FFF)
I'm unable to test right now if this is the cause of my problems but if someone can clear light on why the register definitions changed I would be grateful. I don't seem to find any mention of this in the release notes.
Thanks Steven