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

Leandro Lanzieri noreply at github.com
Fri Apr 17 15:31:40 CEST 2020


  Branch: refs/heads/2020.04-branch
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 6908de1d3a10aa259cdf5dd559449d856d72f7a3
      https://github.com/RIOT-OS/RIOT/commit/6908de1d3a10aa259cdf5dd559449d856d72f7a3
  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.

(cherry picked from commit 8a2a93672610f31b612c7f250809743eed12dc7d)


  Commit: 77570e882c421736a99fabae4a158e3ffe93d948
      https://github.com/RIOT-OS/RIOT/commit/77570e882c421736a99fabae4a158e3ffe93d948
  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

(cherry picked from commit 6ca7ac949a8768b2c5307f77bdcb581679b059cd)


  Commit: 3fc62640e875df21ff7b7edafc23205753dce200
      https://github.com/RIOT-OS/RIOT/commit/3fc62640e875df21ff7b7edafc23205753dce200
  Author: Leandro Lanzieri <leandro.lanzieri at haw-hamburg.de>
  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 #13887 from benpicco/backport/2020.04/drivers/at25xxx_api_conformity

drivers/at25xxx: return read/written bytes to match MTD API [backport 2020.04]


Compare: https://github.com/RIOT-OS/RIOT/compare/3194e4b42128...3fc62640e875


More information about the commits mailing list