Commit Graph

182 Commits (master)

Author SHA1 Message Date
Diego Barrios Romero fa43172087 Prepare 0.5.1 release 2023-07-17 21:53:42 +02:00
Diego Barrios Romero 74009022bf Update changelog 2023-07-17 07:51:52 +02:00
kirbylife fd6a145825 fix set_day method
The method receives in decimal the value to be set as the day of the month, but the ds3231 module expects it in bcd format.  
Using the 'write_register_decimal' method, can be written in the correct format.
2023-07-17 13:50:17 +02:00
Diego Barrios Romero de0231b958 Raise MSRV and update CI 2023-07-16 13:44:50 +02:00
Diego Barrios Romero a8b8428570 Update dependency 2023-07-16 13:44:14 +02:00
Diego Barrios Romero f7d48398dc Update copyright 2023-07-16 13:43:59 +02:00
Diego Barrios Romero fe990d7295 Avoid using deprecated methods 2023-07-16 13:43:46 +02:00
Diego Barrios Romero b06eb59cd6 Add changelog link 2022-02-21 07:11:36 +01:00
Diego Barrios Romero b0ab213098 Prepare 0.5.0 release 2022-02-21 07:10:05 +01:00
Diego Barrios Romero 6c6088f890 Raise MSRV to 1.35.0 2022-02-20 10:55:37 +01:00
Diego Barrios Romero b3323f1a15 Enhance support notice 2022-02-20 10:39:28 +01:00
Diego Barrios Romero 944e661053 Update CI 2022-02-20 10:35:59 +01:00
Diego Barrios Romero faf48c2870 Fix small clippy warnings and run it on tests as well on CI 2022-02-20 10:27:12 +01:00
Diego Barrios Romero 92e6de6c47 Update docs 2022-02-20 10:19:50 +01:00
Diego Barrios Romero 774b3cf527 Update to rtcc 0.3 2022-02-20 10:17:55 +01:00
Diego Barrios Romero fd66a531e2 Document MSRV in readme 2022-02-20 10:08:15 +01:00
Rafael Bachmann e4f15715ed Bump linux-embedded-hal to 0.3.2 2021-10-26 11:18:03 +02:00
Rafael Bachmann 7329fe7c50 Upgrade dependencies 2021-10-26 11:18:03 +02:00
Rafael Bachmann 1930de500d Fix clippy warnings 2021-10-26 11:18:03 +02:00
Diego Barrios Romero a657eec8d6 Prepare 0.4.0 release 2021-05-22 23:16:44 +02:00
Diego Barrios Romero 9c6fe164b8 Fix returning error if the device state is invalid and leads to invalid date/time values 2021-05-22 23:09:10 +02:00
Diego Barrios Romero 0b17437d4c Prepare 0.3.2 release 2021-02-22 11:02:06 +01:00
Diego Barrios Romero 7a566fd59c Improve Readme 2021-02-22 11:01:56 +01:00
Diego Barrios Romero 082fb2d159 Update changelog after merging #5 2021-02-22 10:55:04 +01:00
James Munns b8ab37f57a Correct day bounds 2021-02-22 10:48:56 +01:00
Diego Barrios Romero a28b7c76fc Use GHA instead of Travis for CI 2021-01-30 20:22:32 +01:00
Diego Barrios Romero 2799590575 Fix imports 2020-07-10 22:42:39 +02:00
Diego Barrios Romero 5414721d1d Add docs html root url 2020-07-10 22:32:08 +02:00
Diego Barrios Romero 75291cde4c Bump patch version 2020-07-10 22:26:12 +02:00
Diego Barrios Romero 5ce8722fad Add changelog entry for release 2020-07-10 22:25:41 +02:00
Diego Barrios Romero f146d1d26e Use Rust edition 2018 2020-07-10 22:24:29 +02:00
Diego Barrios Romero ff632625b2 Add example of new alarm setting method 2020-07-10 21:59:54 +02:00
Diego Barrios Romero 73302b1866 Add new methods to documentation 2020-07-10 21:53:59 +02:00
Diego Barrios Romero c5a4e3df62 Remove maintenance badges 2020-07-10 21:43:02 +02:00
Diego Barrios Romero b62488f592 Improve documentation 2020-07-10 21:35:03 +02:00
Marc Poulhiès 044051c2d9 Support setting alarms from a NaiveTime
It allows for more concise user code when setting alarm from such object.
2020-07-05 09:41:59 +02:00
Marc Poulhiès 092af13298 Better detect incorrect input for alarms, refactor some test macros
Alarm can be triggered on a subset of input, no need to reject ignored
fields (eg. don't care about day field when matching on time only). We still
need to set these to correct values as they are still used to set alarm
registers.

Test macro have been refactored to accept variable number of arguments.
2020-07-05 09:41:59 +02:00
Diego Barrios Romero 8c5bb16030 Add changelog release entry 2020-05-02 12:59:31 +02:00
Diego Barrios Romero 08d5192367 Extract method for H24 conversion 2020-05-02 12:45:05 +02:00
Diego Barrios Romero 4a455b7828 Add test setting max year date 2020-05-02 12:37:47 +02:00
Diego Barrios Romero 9fe57bbdf6 Code formatting 2020-05-02 12:17:55 +02:00
Diego Barrios Romero b22cba6c63 Small simplification 2020-05-02 12:17:49 +02:00
Diego Barrios Romero 1b13f482ae Fix build for Rust 1.31.0 2020-05-02 12:11:22 +02:00
Diego Barrios Romero 3425e28959 Bump version 2020-05-02 11:55:32 +02:00
Diego Barrios Romero 17c9230e1f Update CI 2020-05-02 11:50:43 +02:00
Diego Barrios Romero fdc71accf3 Update changelog 2020-05-02 11:49:23 +02:00
Diego Barrios Romero c3106c0f49 Rename methods due to Rust conventions 2020-05-02 11:48:45 +02:00
Diego Barrios Romero 3c8d378d6f Implement Rtcc trait 2020-05-02 11:36:42 +02:00
Diego Barrios Romero d3329b2598 Update dependencies 2020-05-01 21:15:17 +02:00
Diego Barrios Romero ed9502842d Seal public types 2019-05-16 19:24:25 +02:00