Closed angelnu closed 4 years ago
Provided PR -> https://github.com/stm32duino/STM32RTC/pull/31
As mention is the PR #31 I don't know how PIO manages this anyway there is no issue with the version. The rtc drivers has been removed from the core after the 1.9.0 not the 1.8.0. So if version is greater than 1.9.0 then the library have to include the rtc.h.
Platformio updated to the latest platform-ststm32 from 10 days ago does not work after the library split here (see error output bellow).
The problem is that the stm32duino version is v1.9.0 and this results in rtc.h and rtc.c not being used. I changed the version checks to allow for this version until a new platform-ststm32 is available. The library compiles fine and I do not see any side effects.
I will do a PR since anyway I have to keep a fork until all fixes become available. I have never tried to update platform-ststm32 but this would be another alternative to pick up latest stm32duino versions.
Compile error: