Page 2 of 2

Re: [DONE] Broken RTC on ChibiOS 3

Posted: Mon Sep 01, 2014 10:34 am
by Giovanni
Fix committed.

Giovanni

Re: [DONE] Broken RTC on ChibiOS 3

Posted: Mon Sep 01, 2014 11:11 am
by Michail
Thanks, but that's not all :)

You forgot to change in line 222

Code: Select all

#define STM32_RTC_HAS_PERIODIC_WAKEUPS      TRUE

to "FALSE" for #elif defined(STM32F0XX_LD)

so now I've

Code: Select all

       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\ports\STM32\LLD\RTCv2\rtc_lld.c:392:23: error: 'RTC_CR_WUTE' undeclared (first use in this function)
       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\ports\STM32\LLD\RTCv2\rtc_lld.c:393:31: error: 'RTC_ISR_WUTWF' undeclared (first use in this function)
       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\ports\STM32\LLD\RTCv2\rtc_lld.c:395:14: error: 'RTC_TypeDef' has no member named 'WUTR'
       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\ports\STM32\LLD\RTCv2\rtc_lld.c:397:22: error: 'RTC_CR_WUTIE' undeclared (first use in this function)
       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\ports\STM32\LLD\RTCv2\rtc_lld.c:419:32: error: 'RTC_TypeDef' has no member named 'WUTR'

Re: [DONE] Broken RTC on ChibiOS 3

Posted: Mon Sep 01, 2014 1:15 pm
by Giovanni
Thanks, fixed.

Giovanni

Re: [DONE] Broken RTC on ChibiOS 3

Posted: Mon Sep 01, 2014 1:21 pm
by Michail
Got it, thank you. Now everything compiles fine!