summaryrefslogtreecommitdiffstats
path: root/cpukit/dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
* base64: Move base64 encoding supportSebastian Huber2024-02-161-111/+0
|
* flashdev.c: return error if both buffers are NULLBernd Moessner2024-01-161-1/+1
| | | | Updates #4981
* flashdev: Add missing default caseBernd Moessner2024-01-161-0/+2
| | | | Updates #4981
* score: Move formatted I/O functionsSebastian Huber2023-07-283-0/+541
| | | | These functions do not belong to an super core service.
* Revert "cpukit/dev/can: Added CAN support"Gedare Bloom2023-07-271-505/+0
| | | | | | This reverts commit cd91b37dce728b372f164355719a4e601e12e7b3. Closes #4803.
* Revert "cpukit/dev/can: Resolve warnings in 64bit builds"Gedare Bloom2023-07-271-9/+7
| | | | This reverts commit 4c0a2d47e1dce0923f270d0206d0cb93d0d58451.
* score: Move _IO_Relax() to new <rtems/dev/io.h>Sebastian Huber2023-07-241-0/+53
| | | | This function is not a super core service.
* cpukit/flash: Correct erase ioctl addressAaron Nyholm2023-06-271-8/+35
| | | | | | Previously, the erase ioctl call would ignore flash regions and erase at the absolute address passed in. This adds a check for if the region is set and adds the region offset accordingly.
* Update company nameSebastian Huber2023-05-2010-10/+10
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* cpukit/flash: Add API for Flash devicesAaron Nyholm2023-05-161-0/+902
|
* cpukit/dev/can: Resolve warnings in 64bit buildsKinsey Moore2023-01-301-7/+9
| | | | | This resolves various gcc warnings in AArch64 LP64 builds of the CAN framework.
* cpukit/dev/can: Added CAN supportPrashanth S2022-10-301-0/+505
|
* cpukit/: Scripted embedded brains header file clean upJoel Sherrill2022-03-1010-60/+0
| | | | Updates #4625.
* i2c: Add non blocking read / writeChristian Mauderer2021-06-221-5/+40
| | | | | | | This adds the possibility to open an I2C bus with O_NONBLOCK (or set it later via fcntl) to get non-blocking transmissions. This means that if the bus is busy, a read, write or transfer ioctl will return with a EAGAIN errno.
* cpukit/spi: Allow driver specific ioctlChristian Mauderer2021-01-211-0/+3
| | | | This allows a SPI driver to add a hardware specific ioctl.
* Canonicalize config.h includeSebastian Huber2020-04-1611-21/+21
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* dev/sc16is752: Reduce RX FIFO trigger levelSebastian Huber2019-08-261-2/+2
| | | | This may help to avoid character loss.
* dev/sc16is752: Set TLS to zeroSebastian Huber2019-08-261-0/+14
| | | | Ensures that the FCR values are used.
* dev/sc16is752: Do FIFO reset separatelySebastian Huber2019-08-261-0/+5
|
* dev/sc16is752: Enable enhanced func earlySebastian Huber2019-08-261-1/+2
|
* dev/sc16is752: Write to right registerSebastian Huber2019-08-261-1/+1
|
* dev/sc16is752: Add set/get EFCR IO controlsSebastian Huber2019-06-141-0/+6
|
* dev/sc16is752: Add RS485 mode variantsSebastian Huber2019-06-142-4/+19
|
* dev/sc16is752: Fix parity generation.Christian Mauderer2019-02-271-0/+1
|
* Correct minor spelling and grammar errorsZenon2018-11-061-1/+1
| | | | This work was performed as a GCI 2018 task.
* build: Merge dev/Makefile.amSebastian Huber2018-10-091-23/+0
|
* dev/sc16is752: Deal with a baud of zeroSebastian Huber2018-10-051-8/+13
| | | | | Avoid division by zero and instead disable rx/tx in case of a zero baud value. Problem identified by Coverity Scan.
* dev/sc16is752: Add name space for field names.Christian Mauderer2018-08-152-95/+98
| | | | | | | 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.
* dev/sc16is752: Add ioctl calls for modem controll.Christian Mauderer2018-05-142-1/+96
| | | | | | | | This add ths following ioctl calls to the sc16is752 driver: - TIOCMGET - TIOCMSET - TIOCMBIS - TIOCMBIC
* dev/sc16is752: Check return values.Christian Mauderer2018-02-121-4/+6
| | | | | Escalate a failed installation of the interrupts to the next higher level.
* dev/sc16is752: Add GPIO access via ioctl.Christian Mauderer2018-02-122-0/+22
|
* spi: Use self-contained mutexSebastian Huber2018-02-021-30/+6
| | | | Update #2843.
* i2c: Use self-contained mutexSebastian Huber2018-02-021-31/+5
| | | | Update #2843.
* Xilinx AXI I2C driver IP race condition causes clock glitch.Chris Johns2018-02-011-1/+5
| | | | | | | 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
* Remove make preinstallChris Johns2018-01-2517-2716/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* i2c: Add temperature sensor LM75A driverSebastian Huber2017-10-024-0/+329
| | | | Close #3163.
* i2c: Fix EEPROM driver program timeout handlingSebastian Huber2017-10-021-4/+13
| | | | | | | | 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.
* i2c: Send MSB of address first for EEPROMsSebastian Huber2017-10-021-12/+21
| | | | Update #3161.
* i2c: TMP112 correct the function name to set the config.Chris Johns2017-09-111-1/+1
|
* Include missing <string.h>Sebastian Huber2017-08-251-0/+1
| | | | Update #2133.
* dev/i2c: Fix integer typeSebastian Huber2017-08-221-1/+1
| | | | Update #3082.
* dev/i2c: Add I2C device support for FPGA Slave, LM25066A, TMP112, ADS1113, ↵Chris Johns2017-08-2010-0/+1527
| | | | | | ADS1114 and ADS1115 Closes #3101.
* dev/i2c: Add Xilinx AXI I2C driver.Chris Johns2017-08-164-0/+1035
| | | | | | This is a generic driver for use with Xilinx AXI I2C controller IP. Closes #3100.
* i2c: Point to most relevant Linux documentationSebastian Huber2017-07-171-3/+4
|
* posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel2017-07-143-0/+3
| | | | | | | | | | | 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
* bsps: Fix baud settingsSebastian Huber2017-04-031-1/+1
| | | | Update #2897.
* dev: Add NXP SC16IS752 serial device driverAlexander Krutwig2016-12-166-0/+875
| | | | Update #2841.
* Add SPI bus frameworkAlexander Krutwig2016-09-165-0/+877
| | | | | | User API is compatible to Linux userspace API. New test libtests/spi01. Update #2776.
* i2c: Fix return status of i2c dev read/writeSebastian Huber2015-07-231-6/+10
|
* cpukit/dev/include/dev/i2c/i2c.h: Fix Doxygen groupingJoel Sherrill2015-03-091-0/+2
|