Floxx
c2096f17d6
Moved LIS3DSH from the I2C-dependent block to the SPI-block to make Make.defs consistent with the driver (SPI only) and drivers/sensors/Kconfig.
2017-05-10 20:18:48 +02:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Juha Niskanen
d64d4e02b4
sensors: lis2dh: fix hardfault when reading from unconfigured sensor
2017-04-04 07:38:49 -06:00
Juha Niskanen
dfe6a672c1
drivers/sensors: Add driver for ST LIS2DH accelerometer. From Timo Voutilainen <time.voutilainen@haltian.com> et al.
2017-04-03 07:28:22 -06:00
Juha Niskanen
9d13a2463f
drivers/usbmisc: Add driver for Fairchild FUSB301 USB type-C controller.
...
From Harri Luhtala <harri.luhtala@haltian.com>. Tested with earlier
version of NuttX; with current version checked that it compiles.
2017-03-31 06:35:36 -06:00
Juha Niskanen
b5b148fef8
drivers/sensors: Add driver for ST LPS25H pressure sensor
2017-03-31 05:53:43 -06:00
Gregory Nutt
916bd8a48f
HTS221 driver: Modify to use new interrupt parameter passing hooks.
2017-03-31 05:31:35 -06:00
Juha Niskanen
9e2b3da3e8
drivers/sensors: Add driver for ST HTS221 humidity sensor
2017-03-30 12:17:23 -06:00
Jussi Kivilinna
dffb8a67e3
Add entropy pool and strong random number generator
...
Entropy pool gathers environmental noise from device drivers, user-space, etc., and returns good random numbers, suitable for cryptographic use. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm for CSPRNG output.
Patch also adds /dev/urandom support for using entropy pool RNG and new 'getrandom' system call for getting randomness without file-descriptor usage (thus avoiding file-descriptor exhaustion attacks). The 'getrandom' interface is similar as 'getentropy' and 'getrandom' available on OpenBSD and Linux respectively.
2017-03-30 07:38:37 -06:00
ahb
e1da80af5b
fix as5048b by adding missing frequency parameter
2017-03-09 12:01:01 +01:00
Maciej Wójcik
1e6ab4763c
typos
2017-03-05 13:04:07 +00:00
Gregory Nutt
6e32d74b33
Cosmetic changes from review of the last PR
2017-02-19 11:49:42 -06:00
raiden00
82cb38c824
drivers/sensors: Add driver for the ST L3GD20 3 axis gyro
2017-02-19 17:43:44 +01:00
Gregory Nutt
e29b50e00a
Fix recurring naming problem: KXTJ9 vs KXJT9.
2017-02-18 08:08:41 -06:00
Gregory Nutt
ba2b345990
Remove a few remaining use of the obsolteted 'Compilation Switches' program section
2017-01-22 08:57:18 -06:00
Alan Carvalho de Assis
a6b7730f8c
Add Vishay VEML6070 driver and support for STM32F103-Minimum board
2016-11-13 11:44:28 -06:00
Gregory Nutt
6a0917ae7f
Eliminate warnings
2016-10-06 07:44:17 -06:00
Alan Carvalho de Assis
61980caee5
drivers/sensors: Adds support for the Sensixs XEN1210 3D-boar. This sensor is used on NANOSATC-BR2 a Brazillian CUBESAT project.
2016-09-16 12:45:53 -06:00
Gregory Nutt
c51b642f81
Fix some driver return values. If sem_wait fails, the errcode is in errno, not the return value.
2016-08-25 07:15:59 -06:00
Alexander Entinger
221fcfd8f1
drivers/sensors: Add driver for the Bosch BMG160 3 axis gyroscop.
2016-08-24 09:41:04 -06:00
Alexander Entinger
0044910e33
drivers/sensors: Add driver for the LIS3DSH 3 axis accelerometer.
2016-08-24 08:28:45 -06:00
Entinger Alexander
b29287b022
drivers/sensors: Add driver for the MLX90393 3 axis magnetometer.
2016-08-23 10:48:08 -06:00
Entinger Alexander
338bf8c9e3
drivers/sensors: Add drvier for the LIS3MDL 3 axis magnetometer
2016-08-23 08:22:47 -06:00
Gregory Nutt
89135c55e4
drivers/timer: Add an upper-half, oneshot timer character driver.
2016-08-12 10:40:07 -06:00
Gregory Nutt
7ba445868c
KXJT9: In read(), return multiple samples if the user-provided buffer will hold multiple samples.
2016-08-02 17:32:47 -06:00
Gregory Nutt
30229c217b
Cosmetic changes
2016-08-02 10:46:19 -06:00
Gregory Nutt
c32d40fd7d
KXJT9 Accelerometer driver from the Motorola Moto Z MDK
2016-08-02 10:38:14 -06:00
Gregory Nutt
2a751068e6
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:44:38 -06:00
Gregory Nutt
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
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