[PATCH 01/10] Document SPI framework

2016-12-20 Thread Sebastian Huber
should use the +`SPI bus framework +<https://git.rtems.org/rtems/tree/cpukit/dev/include/dev/spi/spi.h>`_. +For +example drivers see the +`Atmel SAM SPI driver <https://git.rtems.org/rtems/tree/c/src/lib/libbsp/arm/atsam/spi/atsam_spi_bus.c>`_ +and the +`SPI framework test <https:

[PATCH 5/6] dev: Use C11 mutex for SPI framework

2016-12-14 Thread Sebastian Huber
Update #2776. --- cpukit/dev/include/dev/spi/spi.h | 6 +++-- cpukit/dev/spi/spi-bus.c | 54 ++-- testsuites/libtests/spi01/init.c | 2 -- 3 files changed, 22 insertions(+), 40 deletions(-) diff --git a/cpukit/dev/include/dev/spi/spi.h

[PATCH v2] cpukit: New SPI framework implemented #2776

2016-09-12 Thread Alexander Krutwig
Linux Userspace API was taken as a template Test libtests/spi01 is included into testsuite --- cpukit/dev/Makefile.am | 10 + cpukit/dev/include/dev/spi/spi.h | 452 + cpukit/dev/include/linux/spi/spidev.h | 263 +

Re: [PATCH] cpukit: New SPI framework implemented #2776

2016-09-12 Thread Gedare Bloom
Good. We'll need some user-friendly (BSP developer) documentation eventually. On Mon, Sep 12, 2016 at 9:10 AM, Alexander Krutwig wrote: > Linux Userspace API was taken as a template > Test libtests/spi01 is included into testsuite > --- >

SPI Framework

2016-08-10 Thread Alexander Krutwig
Hello, for a project, I want to integrate the following software pieces into RTEMS: - cpukit: a general SPI framework which shall be used for upcoming SPI drivers - cpukit: a generic RS232/485 Termios driver for the microcontroller NXP89LPC935 http://pdf1.alldatasheet.com/datasheet-pdf