[riot-notifications] [RIOT-OS/RIOT] cpu/fe310, board/hifive1: SPI support (#10833)

PyroPeter notifications at github.com
Mon Jan 21 15:26:09 CET 2019

**Please note: This is not tested as much as I would like. Please wait with merging until I had a look with an oscilloscope.**

### Contribution description

* This implements `periph/spi` on `cpu/fe310` and `board/hifive1`
* Hardware Chip Select lines were not implemented, since they don't offer any benefit for transfers larger than one byte in size, due to limitations of the hardware. This simplifies the code.

### Testing procedure

    make -C tests/periph_spi BOARD=hifive1

### Issues/PRs references

* Depends on and includes PR #10825 
* Depends on and includes PR #10805 

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * boards/hifive1: fix CLOCK_CORECLOCK
  * cpu/fe310: Add call to periph_init()
  * cpu/fe310: implement SPI

-- File Changes --

    M boards/hifive1/Makefile.features (2)
    M boards/hifive1/include/periph_conf.h (28)
    M cpu/fe310/Makefile.include (4)
    M cpu/fe310/cpu.c (4)
    M cpu/fe310/include/periph_cpu.h (9)
    A cpu/fe310/periph/spi.c (136)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190121/c993984f/attachment-0001.html>

More information about the notifications mailing list