stm32duino / STM32RTC

Arduino RTC library for STM32.
130 stars 48 forks source link

Add STM32RTC library source files #1

Closed ghost closed 6 years ago

ghost commented 6 years ago

Source files of the RTC library.

This library is based on the RTCZero library. We tried to keep the compatibility as far as possible.

Tested on NUCLEO-L476RG and NUCLEO-L053R8. Compilation test OK on all variant boards.

Requires the validation of this PR.

LMESTM commented 6 years ago

@fprwi6labs thanks for the PR. Please edit and update the Pull Request title to something more precise than "Add source files"

LMESTM commented 6 years ago

@fpistm just told me there is a dependency to https://github.com/stm32duino/Arduino_Core_STM32/pull/177 Would be good to mention it in the PR description here, I was looking for services like RTC_Init and was not finding them ...

ghost commented 6 years ago

Library updated. The RTC clock source can be selected. By default, LSI is used as RTC clock source.

ghost commented 6 years ago

@fpistm Fix done. Example with clock selection added.

fpistm commented 6 years ago

This PR is corrected and extended by #2