-->
Page 1 of 1

Q: a conflict between RtcClass and rboot RTC data

PostPosted: Thu Apr 14, 2016 9:24 pm
by Cap
File 'Sming/SmingCore/Platform/RTC.h' defines RTC_DES_ADDR as 64, the address for 'RtcData'. And file 'Sming/rboot/rboot.h' defines RBOOT_RTC_ADDR also as 64 for 'rboot_rtc_data' when BOOT_RTC_ENABLED is defined.

Wouldn't the two of rboot and RTC clock overwrite each other's data in the RTC memory? I must be overlooking something, but what?

I am referring to sources of Git commit '49f786e35f5c35305b97d43165cdd97ec8c36cc5'.

Re: Q: a conflict between RtcClass and rboot RTC data

PostPosted: Fri Apr 15, 2016 4:50 am
by hreintke
Can you create an issue on https://github.com/SmingHub/Sming/ for this ?

Re: Q: a conflict between RtcClass and rboot RTC data

PostPosted: Fri Apr 15, 2016 8:51 am
by Cap
Thanks for quick response. Issue https://github.com/SmingHub/Sming/issues/699 created.

hreintke wrote:Can you create an issue on https://github.com/SmingHub/Sming/ for this ?

Re: Q: a conflict between RtcClass and rboot RTC data

PostPosted: Fri Apr 15, 2016 9:34 am
by Cap
Also added requests https://github.com/SmingHub/Sming/issues/700 and https://github.com/SmingHub/Sming/issues/701 to optimize the size of RTC memory usage.