Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for selecting hardware RTC as time source #342

Merged
merged 1 commit into from
Jun 1, 2017

Conversation

josesimoes
Copy link
Member

  • move code from corlib DateTime to ChibiOS level that returns time from systicks or RTC
    (thanks to @MikroBusNet)
  • rename HAL_Time_FromSystemTime to HAL_Time_ConvertFromSystemTime for clarity
  • add CMake option to allow specifing the inclusion of hardware RTC
  • add target_platform.h config file for ChibiOS nanoCLR to use CMake option for RTC subsystem
  • update halconf.h files on all platforms to use CMake option for RTC subsystem
  • general update of code files, CMakes and nanoCLR accordingly
  • update CMake variants template to include NF_FEATURE_RTC option
  • update Travis CI script to include RTC on all targets
  • fixes #340

Signed-off-by: José Simões [email protected]

@josesimoes josesimoes added Area: Config-and-Build Area: Interpreter Everything related with the interpreter, execution engine and such Area: Targets Type: enhancement labels Jun 1, 2017
@nfbot
Copy link
Member

nfbot commented Jun 1, 2017

Hi @josesimoes,

I'm nanoFramework bot.
Thank you for your contribution!

A human will be reviewing it shortly. 😉

- move code from corlib DateTime to ChibiOS level that returns time from systicks or RTC
(thanks to @MikroBusNet)
- rename HAL_Time_FromSystemTime to HAL_Time_ConvertFromSystemTime for clarity
- add CMake option to allow specifing the inclusion of hardware RTC
- add target_platform.h config file for ChibiOS nanoCLR to use CMake option for RTC subsystem
- update halconf.h files on all platforms to use CMake option for RTC subsystem
- general update of code files, CMakes and nanoCLR accordingly
- update CMake variants template to include NF_FEATURE_RTC option
- update Travis CI script to include RTC on all targets
- fixes #340

Signed-off-by: José Simões <[email protected]>
@josesimoes josesimoes merged commit e09977b into nanoframework:master Jun 1, 2017
@josesimoes josesimoes deleted the fix-340 branch June 1, 2017 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Config-and-Build Area: Interpreter Everything related with the interpreter, execution engine and such Area: Targets Type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants