ftdi-rs / ftdi-embedded-hal

Implementation of Rust Embedded HAL traits for FTDI devices
MIT License
36 stars 14 forks source link

Update eeprom24x requirement from 0.4.0 to 0.5.0 #13

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on eeprom24x to permit the latest version.

Release notes

Sourced from eeprom24x's releases.

Release 0.5.0

Added

  • Add support for STM M24C01 and M24C02.
  • Implement embedded_storage::ReadStorage and embedded_storage::Storage traits.

Changed

  • [breaking-change] Increase MSRV to version 1.51.0.
Changelog

Sourced from eeprom24x's changelog.

[0.5.0] - 2022-01-20

Added

  • Add support for STM M24C01 and M24C02.
  • Implement embedded_storage::ReadStorage and embedded_storage::Storage traits.

Changed

  • [breaking-change] Increase MSRV to version 1.51.0.

[0.4.0] - 2021-09-04

Added

  • PartialEq implementation for SlaveAddr.

Changed

  • [breaking-change] Remove Default derive for Eeprom24x. Technically a breaking change but it should not affect anybody.

[0.3.0] - 2019-01-20

Changed

  • [breaking-change] The addresses are now passed as a single u32. User code should be easy to adapt: eeprom.read_byte([0x12, 0x34]) now becomes: eeprom.read_byte(0x1234).

Fixed

  • High memory addressing in devices using some device address bits for memory addressing: 24x04, 24x08, 24x16, 24xM01, 24xM02.
  • Protect against memory address rollover.
  • Protect against page address rollover.

[0.2.1] - 2019-01-20

Removed

  • [breaking-change] Removed support for devices that use some device address bits for memory addressing: 24x04, 24x08, 24x16, 24xM01, 24xM02 as the addressing was erroneous. Please upgrade to version 0.3.0 to use them.

[0.2.0] - 2018-11-22

Added

  • Add support for many more devices.

Changed

  • [breaking-change] The addresses are now passed to the methods per value for efficiency reasons. i.e. address: &[u8; 2] has now become address: [u8; 2] in all methods. User code should be easy to adapt: eeprom.read_byte(&[0x12, 0x34]) now becomes: eeprom.read_byte([0x12, 0x34]).

  • [breaking-change] Changed type of parameter of the Eeprom24x struct. Now it is a marker type for the page size instead of the device name.

[0.1.1] - 2018-08-22

Fixed

  • Disallow setting a different slave address through SlaveAddr::Default.

... (truncated)

Commits
  • 23a2a93 Prepare 0.5.0 release
  • fa94e2d Update MSRV documentation
  • a2b21ab Remove unnecessary html root
  • 6413e85 Increase MSRV to Rust 1.51 which is required for the new feature resolver
  • 501db3f Do not busywait after writing but before accessing the i2c again
  • da550da Use void dependency without 'std' feature
  • e3cf224 Minor fixes / accept PR suggestions
  • 6c6a7fc Add tests, update documentation, change MSRV, change trait bounds
  • 180ae61 Fix offset and remaining page size calculations
  • 8050cfa Implement the embedded-storage traits ReadStorage and Storage
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
geomatsi commented 2 years ago

I tested at24c04 example. All good.