[riot-commits] [RIOT-OS/RIOT] 8a2a93: drivers/at25xxx: return read/written bytes to matc...

Marian Buschsieweke noreply at github.com
Fri Apr 17 12:52:33 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 8a2a93672610f31b612c7f250809743eed12dc7d
      https://github.com/RIOT-OS/RIOT/commit/8a2a93672610f31b612c7f250809743eed12dc7d
  Author: Benjamin Valentin <benpicco at beuth-hochschule.de>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M drivers/at25xxx/at25xxx.c
    M drivers/include/at25xxx.h

  Log Message:
  -----------
  drivers/at25xxx: return read/written bytes to match MTD API

The MTD API expects read() to return the number of read bytes and
write() to return the number of written bytes.

So change the driver API to match that.


  Commit: 6ca7ac949a8768b2c5307f77bdcb581679b059cd
      https://github.com/RIOT-OS/RIOT/commit/6ca7ac949a8768b2c5307f77bdcb581679b059cd
  Author: Benjamin Valentin <benpicco at beuth-hochschule.de>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M tests/driver_at25xxx/main.c

  Log Message:
  -----------
  tests/driver_at25xxx: adapt to change in driver API


  Commit: 32694e0931b84d7eb9a41efeb7142400086a8a12
      https://github.com/RIOT-OS/RIOT/commit/32694e0931b84d7eb9a41efeb7142400086a8a12
  Author: Marian Buschsieweke <maribu at users.noreply.github.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M drivers/at25xxx/at25xxx.c
    M drivers/include/at25xxx.h
    M tests/driver_at25xxx/main.c

  Log Message:
  -----------
  Merge pull request #13886 from benpicco/drivers/at25xxx_api_conformity

drivers/at25xxx: return read/written bytes to match MTD API


Compare: https://github.com/RIOT-OS/RIOT/compare/40c3de4b0f83...32694e0931b8


More information about the commits mailing list