Commit Graph

92 Commits

Author SHA1 Message Date
Gregory Nutt
0c8c7fecf0 Add _ to the beginning of all debug macros to avoid name collisions 2016-06-16 12:33:32 -06:00
Gregory Nutt
27bc1a2221 drivers/sensors: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 18:21:49 -06:00
Gregory Nutt
a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2 Rename *lldbg to *llerr 2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Pierre-noel Bouteville
41412d0ce9 * fix a bug in crc computation for ms583730
* implement POSIX read.
2016-05-27 07:05:20 -06:00
Gregory Nutt
3e7b2d617a All drivers that use SPI must call SPI_LOCK and SPI_UNLOCK. This is not optional. 2016-05-26 14:56:10 -06:00
Alan Carvalho de Assis
7f5339ee5a drivers/sensors/h1750fvi.c: Add a character driver for Rohm Ambient Light Sensor BH1750FVI. 2016-04-15 08:16:16 -06:00
Gregory Nutt
2244ed46bc nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 07:32:58 -06:00
Gregory Nutt
009e9f76cb I2C: Fixes/improvements from last massive I2C commits 2016-02-02 07:13:03 -06:00
Gregory Nutt
4cfbe50c0d I2C: Fix some compile time issues found with tools/testbuild.sh 2016-02-01 18:02:56 -06:00
Gregory Nutt
69ce24c70c I2C: Remove the setfrequency method from the interface 2016-02-01 16:31:13 -06:00
Gregory Nutt
6ad641888b Add I2C frequency to the i2c_msg_s structure 2016-02-01 14:17:20 -06:00
Gregory Nutt
f9053182d3 I2C: Remove setaddress method 2016-02-01 12:14:31 -06:00
Gregory Nutt
8c9bddf998 I2C: Eliminate the I2C_WRITE and I2C_READ macros 2016-02-01 08:57:22 -06:00
Gregory Nutt
10000841a8 The I2C_TRANSFER method is no longer optional 2016-01-31 14:16:05 -06:00
Gregory Nutt
3a781a2d3f Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s. 2016-01-30 08:36:47 -06:00
Gregory Nutt
ceb415204e Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h 2016-01-30 08:00:16 -06:00
Gregory Nutt
7edf921c5e Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law 2016-01-23 18:54:36 -06:00
Gregory Nutt
f6e49caba8 All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features 2016-01-23 16:18:13 -06:00
Gregory Nutt
b54cf004f3 Update ChangeLog 2016-01-17 15:15:01 -06:00
Gregory Nutt
9844036a74 Merged in paulpatience/nuttx/lsm9ds1 (pull request #48)
Add LSM9DS1 accelerometer, gyroscope and magnetometer
2016-01-17 15:06:37 -06:00
Paul A. Patience
57b8a9526d Add LSM9DS1 accelerometer, gyroscope and magnetometer 2016-01-17 16:01:14 -05:00
Alexander Entinger
75d6c4cee3 drivers/sensors/mcp9844: Driver for the MCP9844 I2C digital temperature sensor with a selectable resolution 2016-01-15 07:25:58 -06:00
Gregory Nutt
96f57eb0d9 Merged in karim_keddam/nuttx (pull request #39)
Fixed error with temperature computation
2015-11-30 06:13:24 -06:00
Karim Keddam
190772edc5 Fixed error with temperature computation 2015-11-30 03:50:58 -05:00
Gregory Nutt
8d963e66cf Fix some stylistic issues found by tools/nxstyle 2015-11-17 17:31:57 -06:00
Gregory Nutt
5a99735782 (Hopefully) cosmetic changes from review of recent merges for conformance to coding standard 2015-11-17 16:54:15 -06:00
Karim Keddam
522d891759 Fixed a bug with the ms58xx sensor initialization 2015-11-17 17:21:46 -05:00
Karim Keddam
2578994e74 Fixed a bug with the CRC for the ms58xx sensor 2015-11-17 17:19:11 -05:00
Gregory Nutt
d8731d0ef1 Add files missed in previous commit 2015-10-18 08:00:06 +08:00
Alan Carvalho de Assis
0ba6f21532 Add support to Thermocouple-to-Digital converter MAX6675 2015-10-18 07:52:47 +08:00
Alan Carvalho de Assis
8f0c912fff Add Zero Cross device driver support 2015-10-13 07:27:16 -06:00
Gregory Nutt
cf14f8d1b5 drivers/: Fixes to spacing and alignement 2015-10-10 10:41:00 -06:00
Gregory Nutt
bb05de4b6e Remove TABs 2015-10-04 16:01:21 -06:00
Gregory Nutt
af086c40ff Remove dangling whitespace 2015-10-04 15:28:54 -06:00
Alan Carvalho de Assis
3a8b00f09f max31855 driver fix from Alan Carvalho de Assis 2015-09-14 07:47:21 -06:00
Alan Carvalho de Assis
c4cf5be231 Add support to Maxim MAX31855 Thermocouple-to-Digital 2015-09-13 15:56:48 -06:00
Paul A. Patience
3303ef8c85 Added support for other MS58XX altimeters. 2015-08-14 20:04:16 -04:00
Gregory Nutt
a543dfbcec Update ChangeLog; Convert a few tabs to spaces 2015-08-11 21:12:15 -06:00
Paul A. Patience
c4b888b41d Added MS5805 altimeter. 2015-08-11 22:50:11 -04:00
Paul A. Patience
a634ad5528 Added MB7040 sonar. 2015-08-11 13:26:56 -04:00
Paul A. Patience
65792c5dbc Added forward declarations of structures to fix header inclusion
order bugs.
Removed an unused variable.
Added debug asserts to check for invalid I2C addresses.
2015-08-10 16:18:37 -04:00
Paul A. Patience
c0964a17b4 Fixed a forgotten FAR, a typo, and an incorrect bit-field definition. 2015-08-10 14:45:40 -04:00
Paul A. Patience
877d5f3b09 Changed copyright notices to my boss's preference. 2015-08-10 14:15:07 -04:00
Paul A. Patience
1d0e25af30 Convert the AS5048B to use the quadrature encoder interface. 2015-08-10 13:41:39 -04:00
Paul A. Patience
b7e0fc34c5 Added AS5048B magnetic rotary encoder. 2015-08-07 17:22:01 -04:00
Gregory Nutt
6d59603610 Trivial updates from review of LM92 driver; Update ChangeLog 2015-08-06 16:33:02 -06:00
Paul A. Patience
282c4f5347 Added LM92 temperature sensor. 2015-08-06 17:35:34 -04:00