Skip to content

Releases: eldruin/eeprom24x-rs

Release 0.7.2

23 May 18:58
Compare
Choose a tag to compare

Added

  • Add feature defmt-03 to derive "defmt::Format" from defmt = "0.3" for public types.

Release 0.7.1

02 May 06:30
Compare
Choose a tag to compare

Added

  • Add support for 24AA02xE48/E64 devices.
  • Add Debug derive to markers.

v0.7.0

18 Jan 07:10
Compare
Choose a tag to compare

Changed

  • [breaking-change] Transitioned the embedded-storage interface to
    use the new embedded-hal DelayNs trait instead of the old CountDown
  • [breaking-change] Transitioned embedded-hal to version 1.0
  • Updated embedded-storage to version 0.3.1

Release 0.6.1

27 Dec 08:56
Compare
Choose a tag to compare

Added

  • Add support for 24CSx devices.
  • Implement read_unique_serial for 24CSx devices.

Release 0.6.0

10 Jul 08:41
Compare
Choose a tag to compare

Added

  • Trait Eeprom24xTrait providing the device interface.

Changed

  • Updated embedded-storage dependency to version 0.3.
  • Updated nb dependency to version 1.1.
  • Increase MSRV to version 1.60.0.

Release 0.5.0

20 Jan 14:21
Compare
Choose a tag to compare

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.

Release 0.4.0

04 Sep 05:37
Compare
Choose a tag to compare

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

20 Jan 18:13
Compare
Choose a tag to compare

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

20 Jan 18:13
Compare
Choose a tag to compare

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

23 Nov 09:34
Compare
Choose a tag to compare

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.