summaryrefslogtreecommitdiff
path: root/cpukit/dev (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2019-08-26dev/sc16is752: Reduce RX FIFO trigger levelSebastian Huber
This may help to avoid character loss.
2019-08-26dev/sc16is752: Set TLS to zeroSebastian Huber
Ensures that the FCR values are used.
2019-08-26dev/sc16is752: Do FIFO reset separatelySebastian Huber
2019-08-26dev/sc16is752: Enable enhanced func earlySebastian Huber
2019-08-26dev/sc16is752: Write to right registerSebastian Huber
2019-06-14dev/sc16is752: Add set/get EFCR IO controlsSebastian Huber
2019-06-14dev/sc16is752: Add RS485 mode variantsSebastian Huber
2019-02-27dev/sc16is752: Fix parity generation.Christian Mauderer
2018-11-06Correct minor spelling and grammar errorsZenon
This work was performed as a GCI 2018 task.
2018-10-09build: Merge dev/Makefile.amSebastian Huber
2018-10-05dev/sc16is752: Deal with a baud of zeroSebastian Huber
Avoid division by zero and instead disable rx/tx in case of a zero baud value. Problem identified by Coverity Scan.
2018-08-15dev/sc16is752: Add name space for field names.Christian Mauderer
The field names for the registers generated a name collision (MSR_RI on the power pc). This patch adds a SC16IS752_ prefix for all field names. Closes #3501.
2018-05-14dev/sc16is752: Add ioctl calls for modem controll.Christian Mauderer
This add ths following ioctl calls to the sc16is752 driver: - TIOCMGET - TIOCMSET - TIOCMBIS - TIOCMBIC
2018-02-12dev/sc16is752: Check return values.Christian Mauderer
Escalate a failed installation of the interrupts to the next higher level.
2018-02-12dev/sc16is752: Add GPIO access via ioctl.Christian Mauderer
2018-02-02spi: Use self-contained mutexSebastian Huber
Update #2843.
2018-02-02i2c: Use self-contained mutexSebastian Huber
Update #2843.
2018-02-01Xilinx AXI I2C driver IP race condition causes clock glitch.Chris Johns
Setting the PIRQ to 0 before reading the data produces a short clock pulse. Moving the write to after reading the data fixes the issue. Close #3173
2018-01-25Remove make preinstallChris Johns
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2017-10-02i2c: Add temperature sensor LM75A driverSebastian Huber
Close #3163.
2017-10-02i2c: Fix EEPROM driver program timeout handlingSebastian Huber
The RTEMS_MILLISECONDS_TO_TICKS() macro doesn't round up. Do not use it to calculate the program timeout in ticks. Check program done condition after the timeout check to account for pre-emptions. Update #3162.
2017-10-02i2c: Send MSB of address first for EEPROMsSebastian Huber
Update #3161.
2017-09-11i2c: TMP112 correct the function name to set the config.Chris Johns
2017-08-25Include missing <string.h>Sebastian Huber
Update #2133.
2017-08-22dev/i2c: Fix integer typeSebastian Huber
Update #3082.
2017-08-20dev/i2c: Add I2C device support for FPGA Slave, LM25066A, TMP112, ADS1113, ↵Chris Johns
ADS1114 and ADS1115 Closes #3101.
2017-08-16dev/i2c: Add Xilinx AXI I2C driver.Chris Johns
This is a generic driver for use with Xilinx AXI I2C controller IP. Closes #3100.
2017-07-17i2c: Point to most relevant Linux documentationSebastian Huber
2017-07-14posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel
Added a mmap file handler to struct _rtems_filesystem_file_handlers_r. Updated each file handler object to support the default mmap handler. Updated mmap() to call the mmap handler for MAP_SHARED. Added a mmap file handler for shm Added support for MAP_ANON in mmap(). Updates #2859
2017-04-03bsps: Fix baud settingsSebastian Huber
Update #2897.
2016-12-16dev: Add NXP SC16IS752 serial device driverAlexander Krutwig
Update #2841.
2016-09-16Add SPI bus frameworkAlexander Krutwig
User API is compatible to Linux userspace API. New test libtests/spi01. Update #2776.
2015-07-23i2c: Fix return status of i2c dev read/writeSebastian Huber
2015-03-09cpukit/dev/include/dev/i2c/i2c.h: Fix Doxygen groupingJoel Sherrill
2015-01-27IMFS: Replace node union with individual structSebastian Huber
This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
2014-11-26i2c: Do not close file descriptor 0 if open failsSebastian Huber
2014-11-26i2c: Avoid undefined right shift operationSebastian Huber
2014-11-25cpukit/dev/i2c/i2c-dev.c: Fix leak on error pathJoel Sherrill
Coverity ID 1255520. fd was not closed on error path.
2014-11-24i2c: Fix endian issueSebastian Huber
2014-11-20Add NXP PCA9548A 8-channel switch I2C driverSebastian Huber
2014-11-20Add NXP PCA9535 16-bit GPIO I2C driverSebastian Huber
2014-11-20Add generic EEPROM I2C device driverSebastian Huber
2014-11-20Add I2C driver frameworkSebastian Huber
This I2C driver framework has some major differences compared to libi2c. * It is compatible to the Linux I2C user-space API. * It uses generic IMFS nodes and thus reduces the levels of indirection. * The drivers don't have to mess around with minor numbers to get their state information. * No arbitrary bus controller model is assumed. The main task of an I2C bus controller driver is to process I2C messages. How this is done is private to the driver. * Scatter/gather operations are supported (I2C_M_NOSTART).
2014-11-20Add RTEMS port of Linux I2C user-space APISebastian Huber