summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/libi2c.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-04-04doxygen: Added some subgroups to API and IOAndreas Dachsberger1-3/+5
I2C library, Media Manager and Profiling Support Update #3706.
2018-01-25Remove make preinstallChris Johns1-0/+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.
2015-12-10bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber1-1/+1
Use the bsp_predriver_hook() instead. Update #2408.
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber1-3/+2
This define was superfluous, undocumented and used inconsistently.
2013-01-10cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill1-1/+1
This is the result of a sed script which converts all uses of @{ into a consistent form.
2012-12-28Header File Doxygen Enhancement Task #7Mathew Kallada1-1/+1
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-1/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2009-11-29Whitespace removal.Ralf Corsepius1-36/+36
2009-08-052009-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-0/+18
* libcsupport/include/rtems/libio_.h, libcsupport/src/fs_null_handlers.c: Null handlers are now const. * libi2c/libi2c.c, libi2c/libi2c.h: Documentation. Do not create semaphores on the fly. * cpukit/libblock/src/bdpart.c: Fixed format specifier. * cpukit/libblock/include/rtems/bdbuf.h, rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h, rtems/include/rtems/rtems/attr.h, rtems/include/rtems/rtems/barrier.h, rtems/include/rtems/rtems/barriermp.h, rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h, rtems/include/rtems/rtems/eventmp.h, rtems/include/rtems/rtems/eventset.h, rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h, rtems/include/rtems/rtems/msgmp.h, rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/regionmp.h, rtems/include/rtems/rtems/rtemsapi.h, rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h, rtems/include/rtems/rtems/signal.h, rtems/include/rtems/rtems/signalmp.h, rtems/include/rtems/rtems/status.h, rtems/include/rtems/rtems/support.h, rtems/include/rtems/rtems/taskmp.h, rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/support.inl: Documentation. * include/rtems/irq-extension.h: Documentation. Added API for interrupt servers.
2008-12-22Change header guard to RTEMS conventions.Ralf Corsepius1-19/+19
Add extern's.
2008-09-30Added definitions for asynchronous read and write IO commands.Thomas Doerfler1-0/+36
2008-09-04Use bool instead of boolean.Ralf Corsepius1-4/+4
2008-08-02Add missing prototypes.Ralf Corsepius1-1/+1
2008-07-11made buffer for write calls constantThomas Doerfler1-2/+2
2008-07-10Modified error messages. Driver operations table is now constant. NewThomas Doerfler1-5/+6
entry in the rtems_libi2c_tfr_mode_t structure: idle_char. This character will be continuously transmitted in read only functions.
2008-05-15adapted gen83xx to new boardThomas Doerfler1-1/+12
2008-05-132008-05-13 Robert S. Grimes <rsg@alum.mit.edu>Joel Sherrill1-1/+1
* libi2c/libi2c.h: Fix typo.
2007-11-212007-11-17 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+70
* libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c: Added checks so that use of 'stdio' is avoided (falling back to 'printk') before the system is up. Publish driver entry points so that the libi2c driver could be added to the applications 'device driver table'. This is not fully implemented yet, though, since in addition to initializing libi2c the low-level i2c bus drivers as well as high-level i2c device drivers need to be registered with the library. Updated README_libi2c accordingly.
2007-10-25added SPI support to libi2cThomas Doerfler1-2/+96
added IRQ support to MPC83xx i2c driver added mpc83xx spi driver
2007-10-112007-10-11 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill1-1/+2
* libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS. Fixed check of status when registering driver. Add use of strerror().
2007-01-172007-01-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+45
* libi2c/libi2c.c, libi2c/libi2c.h: Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2005-11-06Eliminate obsolete types.Ralf Corsepius1-3/+3
2005-11-032005-11-02 straumanatslacdotstanford.eduTill Straumann1-0/+234
* libi2c/Makefile.am, libi2c/Makefile.in, libi2c/libi2c.c, libi2c/libi2c.h: New files. * Makefile.am, configure.ac, preinstall.am, wrapup/Makefile.am: added a simple API/library for i2c devices and drivers for i2c 2-byte eeproms and a ds1621 temperature sensor; API is documented in libi2c.h