..\..\..\os\hal\platforms\STM32\RTCv1\rtc_lld.c(113): error: #136: struct "<unnamed>" has no field "CRL" ..\..\..\os\hal\platforms\STM32\RTCv1\rtc_lld.c(113): error: #20: identifier "RTC_CRL_RSF" is undefined ..\..\..\os\hal\platforms\STM32\RTCv1\rtc_lld.c(116): error: #136: struct "<unnamed>" has no field "CRH"
Also tried versions: 2.4.2 and 2.5.1. Only version 2.5.0 demo compiles successfully after enabling RTC.
For some reason you are including the "RTCv1" RTC driver, the right one for the STM32F4xx is the RTCv2. It is strange because the standard makefiles include the right one. Verify your makefiles.
There is no RTCv2 folder in 2.4.3, just have checked (re-downloaded).
I found the difference in testhalls. STM32F1xx has RTC folder while STM32F4xx has not.
Please tell me what MCUs and dev boards are most used while developing ChibiOS? Maybe I just need some other platform for my hobby (at the very begging).
The most recent ChibiOS/RT is 2.5.2unstable, I recommend using this one if you are not interested in the exception to the GPL license.
STM32F4xx is the best supported in this moment, I recommend the excellent Olimex STM32-E407 but also the cheap STM32F4-Discovery is very used with the bonus of the on-board debugger.
But in AN3371 wrote: The calibration settings can only be changed during initialization. I must disable rtcInit() in ChibiOS's hal.c and declare proper init sequence?