[riot-commits] [RIOT-OS/RIOT] 17a510: cpu/lpc2387: Fixed broken SPI driver

Alexandre Abadie alexandre.abadie at inria.fr
Mon May 21 09:59:52 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 17a5101b4078be0e7350500ff406f9e86f61aaa2
      https://github.com/RIOT-OS/RIOT/commit/17a5101b4078be0e7350500ff406f9e86f61aaa2
  Author: Marian Buschsieweke <marian.buschsieweke at ovgu.de>
  Date:   2018-05-19 (Sat, 19 May 2018)

  Changed paths:
    M cpu/lpc2387/periph/spi.c

  Log Message:
  -----------
  cpu/lpc2387: Fixed broken SPI driver

In commit 513b20ffd328934c58af169e2bce0c0a01eddee2 the SPI API was changed to
power up an configure the SPI bus on spi_acquire(). Sadly, the lpc2387 SPI
apparently needs to be reconfigured after each power up. This commit moves
the initialization code required after each power up from spi_init() to
spi_acquire().


  Commit: 4ca210965555ffc4ff13fc3ee2696b79faa56ed1
      https://github.com/RIOT-OS/RIOT/commit/4ca210965555ffc4ff13fc3ee2696b79faa56ed1
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M cpu/lpc2387/periph/spi.c

  Log Message:
  -----------
  Merge pull request #9154 from maribu/lpc2387

cpu/lpc2387: Fixed broken SPI driver


Compare: https://github.com/RIOT-OS/RIOT/compare/f30731495964...4ca210965555
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list