[DONE] Broken RTC on ChibiOS 3

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [DONE] Broken RTC on ChibiOS 3

Post by Giovanni »

Fix committed.

Giovanni
Michail
Posts: 28
Joined: Mon Aug 04, 2014 6:55 am

Re: [DONE] Broken RTC on ChibiOS 3

Post 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'
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [DONE] Broken RTC on ChibiOS 3

Post by Giovanni »

Thanks, fixed.

Giovanni
Michail
Posts: 28
Joined: Mon Aug 04, 2014 6:55 am

Re: [DONE] Broken RTC on ChibiOS 3

Post by Michail »

Got it, thank you. Now everything compiles fine!
Post Reply