[riot-commits] [RIOT-OS/RIOT] b20f21: sam3x8e: Basic implementation of spi_acquire(), sp...

Peter Kietzmann peter.kietzmann at haw-hamburg.de
Tue Jan 20 07:27:50 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: b20f21f2c5b5e84b06e16a50ac98e22a3d381ab8
      https://github.com/RIOT-OS/RIOT/commit/b20f21f2c5b5e84b06e16a50ac98e22a3d381ab8
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

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

  Log Message:
  -----------
  sam3x8e: Basic implementation of spi_acquire(), spi_release()

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: bec43f11d8c3155b58666d7dfeb17c13710d8ba0
      https://github.com/RIOT-OS/RIOT/commit/bec43f11d8c3155b58666d7dfeb17c13710d8ba0
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

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

  Log Message:
  -----------
  samd21: Basic implementation of spi_acquire(), spi_release()

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: 98c88b0549624f8a4ed64f0e34fb5222e075b320
      https://github.com/RIOT-OS/RIOT/commit/98c88b0549624f8a4ed64f0e34fb5222e075b320
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

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

  Log Message:
  -----------
  stm32f0: Basic implementation of spi_acquire(), spi_release()

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: f64c54bf6666fcedc21a0484cb1cb2c2bb2e17b0
      https://github.com/RIOT-OS/RIOT/commit/f64c54bf6666fcedc21a0484cb1cb2c2bb2e17b0
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

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

  Log Message:
  -----------
  stm32f1: Basic implementation of spi_acquire(), spi_release()

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: 32929875160f0ec4c0b14a5fbb9f290e70cf38ce
      https://github.com/RIOT-OS/RIOT/commit/32929875160f0ec4c0b14a5fbb9f290e70cf38ce
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

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

  Log Message:
  -----------
  stm32f3: Basic implementation of spi_acquire(), spi_release()

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: d68b4ef6c2aa148f0189040c56aeebab7b6a5bfe
      https://github.com/RIOT-OS/RIOT/commit/d68b4ef6c2aa148f0189040c56aeebab7b6a5bfe
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

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

  Log Message:
  -----------
  stm32l1: Basic implementation of spi_acquire(), spi_release()

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: 1f577b4fee6e3bfe6c5369f30fd9c3a2fea7e5db
      https://github.com/RIOT-OS/RIOT/commit/1f577b4fee6e3bfe6c5369f30fd9c3a2fea7e5db
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M drivers/at86rf231/at86rf231.c
    M drivers/at86rf231/at86rf231_spi.c

  Log Message:
  -----------
  at86rf231: Acquire exclusive access to SPI bus.

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: af1ddef1fb3744e8cdd5fafbf7ce30963574661b
      https://github.com/RIOT-OS/RIOT/commit/af1ddef1fb3744e8cdd5fafbf7ce30963574661b
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M drivers/cc110x/cc110x-spi.c
    M drivers/cc110x/cc110x.c

  Log Message:
  -----------
  cc110x: Acquire exclusive access to SPI bus.

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: a991d7c58e7c95f97f3cbad85f14ee1ac8288e62
      https://github.com/RIOT-OS/RIOT/commit/a991d7c58e7c95f97f3cbad85f14ee1ac8288e62
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M drivers/nrf24l01p/nrf24l01p.c

  Log Message:
  -----------
  nrf24l01p: Remove redundant gpio_clear/gpio_set.

This change removes extra gpio_clear(dev->cs) before calling
nrf24l01p_read_reg(), nrf24l01p_write_reg(). The GPIO handling is not
necessary since nrf24l01p_{read,write}_reg() handle the CS pin
internally.

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: b6d94d95258ecc6eb3fd66060174a304253de5b5
      https://github.com/RIOT-OS/RIOT/commit/b6d94d95258ecc6eb3fd66060174a304253de5b5
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M drivers/nrf24l01p/nrf24l01p.c

  Log Message:
  -----------
  nrf24l01p: Remove superfluous delays in nrf24l01p_on, nrf24l01p_off.

The delays were introduced in an attempt to fix "inexplicable timing
errors", although the errors were in the SPI bus driver rather than the
nrf24l01p driver.

See also:
 - https://github.com/RIOT-OS/RIOT/pull/1704
 - https://github.com/RIOT-OS/RIOT/pull/2315

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: c457cd954df35593c157cd6e343332a52f843cc5
      https://github.com/RIOT-OS/RIOT/commit/c457cd954df35593c157cd6e343332a52f843cc5
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M drivers/nrf24l01p/nrf24l01p.c

  Log Message:
  -----------
  nrf24l01p: Acquire exclusive access to SPI bus.

Signed-off-by: Joakim Gebart <joakim.gebart at eistec.se>


  Commit: dfb0d58cfb1e1e9fd4081fcfa38f2e8eafdc9491
      https://github.com/RIOT-OS/RIOT/commit/dfb0d58cfb1e1e9fd4081fcfa38f2e8eafdc9491
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M tests/periph_spi/main.c

  Log Message:
  -----------
  tests/periph_spi: Lock bus for exclusive access when communicating.


  Commit: 0c3083200d7bdd49fedbabadfa25ca691a0d91c8
      https://github.com/RIOT-OS/RIOT/commit/0c3083200d7bdd49fedbabadfa25ca691a0d91c8
  Author: Peter Kietzmann <peter.kietzmann at haw-hamburg.de>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M cpu/sam3x8e/periph/spi.c
    M cpu/samd21/periph/spi.c
    M cpu/stm32f0/periph/spi.c
    M cpu/stm32f1/periph/spi.c
    M cpu/stm32f3/periph/spi.c
    M cpu/stm32l1/periph/spi.c
    M drivers/at86rf231/at86rf231.c
    M drivers/at86rf231/at86rf231_spi.c
    M drivers/cc110x/cc110x-spi.c
    M drivers/cc110x/cc110x.c
    M drivers/nrf24l01p/nrf24l01p.c
    M tests/periph_spi/main.c

  Log Message:
  -----------
  Merge pull request #2317 from gebart/pr/spi-locking

drivers/periph/spi: Implement thread safety for all SPI devices


Compare: https://github.com/RIOT-OS/RIOT/compare/5ae38d6dc7f7...0c3083200d7b


More information about the commits mailing list