1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

499 Commits

Author SHA1 Message Date
Alexandru Caciulescu
d7a3eeaacd drivers/mma8652: Repair header file include guards
removed trailing underscores
2015-03-24 17:55:39 +02:00
Alexandru Caciulescu
2de348570d drivers/mpl3115a2: Repair header file include guards
removed trailing underscores
2015-03-24 17:55:38 +02:00
Alexandru Caciulescu
69c4cd2aca drivers/nrf24l01p: Repair header file include guards 2015-03-24 17:55:38 +02:00
Ludwig Ortmann
6391235ff2 drivers/at86rf231: fix break condition
The break condition could not be fulfilled because the counter was always
reset.
2015-03-24 14:50:46 +01:00
Joakim Gebart
065d70ac4d lis3dh: Add missing spi_release in error cases. 2015-03-24 06:00:07 +01:00
Joakim Gebart
5ea9eaf386 drivers/ina220: Add driver for INA220 current and power sensor. 2015-03-19 17:22:22 +01:00
Joakim Gebart
b4e12ed9d2 at86rf231: at86rf231_set_address_long bugfix
The old code was never working, all of the middle address bytes were set
to 0x00 because of the bitwise AND being executed after the right shift.
2015-03-17 07:54:31 +01:00
kushalsingh007
3dbe4cd8af Reducing the scope of variable after running static code analyser.
- Part of fix for issue number 480 (variableScope)
- Suppression of warnings that are not needed.
2015-03-10 22:03:18 +05:30
PeterKietzmann
dcd70c807b drivers/isl29020: Acquire exclusive access ti I2C bus 2015-03-03 18:08:38 +01:00
PeterKietzmann
9c3a89edbf drivers/l3g4200d: Acquire exclusive access to I2C bus 2015-03-03 18:08:38 +01:00
PeterKietzmann
2864cce6d7 drivers/lps331ap: Acquire exclusice access to I2C bus 2015-03-03 18:08:38 +01:00
PeterKietzmann
0a9e837dba drivers/mag3110: Acquire exclusive access to I2C bus 2015-03-03 18:08:38 +01:00
PeterKietzmann
12871cc7d1 drivers/mma8652: Acquire exclusice access to I2C bus 2015-03-03 18:08:38 +01:00
PeterKietzmann
7f1d67da6f drivers/mpl3115a2: Acquire exclusive access to I2C bus 2015-03-03 18:08:38 +01:00
PeterKietzmann
bf6757fe1d drivers/lsm303dlhc: Acquire exclusive access to I2C bus 2015-03-03 18:08:38 +01:00
PeterKietzmann
35750592f2 drivers/tmp006: Acquire exclusive access to I2C bus 2015-03-03 18:08:38 +01:00
PeterKietzmann
a1e8cedf6b drivers/srf08: Acquire exclusive access to I2C bus 2015-03-03 18:08:38 +01:00
PeterKietzmann
c9deca5610 drivers/srf02: Acquire exclusive access to I2C bus 2015-03-03 18:08:38 +01:00
Ludwig Ortmann
cec87139a5 core, cpu, drivers, tests: remove trailing space 2015-02-18 13:52:48 +01:00
Fabian Nack
b913288685 drivers/mpu9150: Release I2C bus in compass error case 2015-02-14 09:24:51 +01:00
Fabian Nack
ae4616c5d8 drivers: Added MPU-9150 9-Axis motion sensor driver 2015-02-13 10:08:38 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Johann Fischer
b540def4b1 drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes
fix doxygen warnings
 change default address
2015-01-28 10:26:02 +01:00
BytesGalore
714ee38355 boards: core: cpu: drivers: sys: added missing header guards 2015-01-27 19:10:57 +01:00
Joakim Gebart
2eea4d138e at86rf231: Make local buffer static. 2015-01-23 19:46:26 +01:00
Hauke Petersen
19738bc61d Merge pull request #2338 from gebart/pr/spi-cpol-cpha-docs
periph/spi: Update clock polarity and phase documentation for clarity.
2015-01-22 14:17:48 +01:00
Joakim Gebart
cc7acaaef0 periph/spi: Update clock polarity and phase documentation for clarity.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-22 09:03:44 +01:00
Ludwig Ortmann
42659dfa4f Merge pull request #2335 from thomaseichinger/deprecate_radio_driver
drivers/radio_driver: mark as deprecated
2015-01-21 14:20:28 +01:00
Thomas Eichinger
3f3e70b7a0 drivers/radio_driver: mark as deprecated 2015-01-21 13:10:19 +01:00
Peter Kietzmann
647d0aef5f Merge pull request #2330 from PeterKietzmann/fix_nrf24l01p_driver
drivers/nrf24l01p: fixes
2015-01-21 12:10:01 +01:00
PeterKietzmann
e56b821774 drivers/nrf24l01p: change API and fix initial setup 2015-01-21 09:47:18 +01:00
Joakim Gebart
ca56de8251 lis3dh: New device driver for LIS3DH accelerometer sensors.
LIS3DH MEMS digital output motion sensor ultra low-power high
performance 3-axes "nano" accelerometer

Manufacturer website:

  http://www.st.com/web/catalog/sense_power/FM89/SC444/PF250725

Data sheet:

  http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00274221.pdf

tests/driver_lis3dh is a simple test application for testing on actual
hardware.

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-20 14:53:27 +01:00
Peter Kietzmann
ebadbd6da3 Merge pull request #2323 from thomaseichinger/i2c_mutex
periph/i2c: added means to make I2C thread-safe
2015-01-20 07:57:20 +01:00
Peter Kietzmann
0c3083200d Merge pull request #2317 from gebart/pr/spi-locking
drivers/periph/spi: Implement thread safety for all SPI devices
2015-01-20 07:27:49 +01:00
Joakim Gebart
c457cd954d nrf24l01p: Acquire exclusive access to SPI bus.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:40 +01:00
Joakim Gebart
b6d94d9525 nrf24l01p: Remove superfluous delays in nrf24l01p_on, nrf24l01p_off.
The delays were introduced in an attempt to fix "inexplicable timing
errors", although the errors were in the SPI bus driver rather than the
nrf24l01p driver.

See also:
 - https://github.com/RIOT-OS/RIOT/pull/1704
 - https://github.com/RIOT-OS/RIOT/pull/2315

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:40 +01:00
Joakim Gebart
a991d7c58e nrf24l01p: Remove redundant gpio_clear/gpio_set.
This change removes extra gpio_clear(dev->cs) before calling
nrf24l01p_read_reg(), nrf24l01p_write_reg(). The GPIO handling is not
necessary since nrf24l01p_{read,write}_reg() handle the CS pin
internally.

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Joakim Gebart
af1ddef1fb cc110x: Acquire exclusive access to SPI bus.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Joakim Gebart
1f577b4fee at86rf231: Acquire exclusive access to SPI bus.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Thomas Eichinger
fe643f7077 periph/i2c: added means to make I2C thread-safe
As discussed in #2289 this changes provide means to
use the i2c interface safely within multible threads.
2015-01-19 12:18:03 +01:00
Hauke Petersen
3439247248 drivers/periph/spi: added locking mechanism 2015-01-17 15:13:51 +01:00
Joakim Gebart
c9df451379 cc110x-legacy: Comment style and spelling/grammar fixes.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-15 10:56:58 +01:00
Oleg Hahm
363c12e822 Merge pull request #2283 from thomaseichinger/rf231_lqi_fix
drivers/at86rf231: fix reading of rssi value
2015-01-13 13:33:54 +01:00
Thomas Eichinger
f2396971e1 drivers/at86rf231: fix reading of rssi value 2015-01-12 16:40:21 +01:00
Oleg Hahm
ab191ad8a0 driver: added missing closing bracket 2015-01-12 09:54:29 +01:00
Oleg Hahm
e6c230a81f driver: convert to UNIX line endings 2015-01-12 09:52:41 +01:00
Johann Fischer
a51c91e5be add mag3110 magnetometer driver 2015-01-09 11:10:59 +01:00
Johann Fischer
ae10cc8af5 add mma8652 accelerometer driver 2015-01-08 11:44:32 +01:00
Peter Kietzmann
2fb2f499f9 Merge pull request #2123 from jfischer-phytec-iot/pr@mpl3115a2
Driver for  Freescale MPL3115A2 Pressure/Altitude Sensor
2015-01-07 23:28:57 +01:00
Johann Fischer
b545f4dfe6 add driver for tmp006 thermopile sensor 2015-01-07 13:53:23 +01:00
Johann Fischer
250740bba5 add mpl3115a2 pressure sensor driver 2015-01-07 12:34:06 +01:00
Oleg Hahm
83e29bc2c6 Merge pull request #2153 from OlegHahm/driver_doc_cleanup
doc: eliminate driver documentation warnings
2015-01-06 19:35:46 +01:00
Oleg Hahm
1706869e91 doc: fixed several issues for cc110x documentation 2015-01-06 19:35:00 +01:00
Oleg Hahm
d3a88013f7 Merge pull request #2218 from thomaseichinger/openwsn-ng
pkg/openwsn: update to current openwsn version
2014-12-31 18:33:09 +01:00
Oleg Hahm
03cca0a657 at86rf231: added missing include of config header 2014-12-22 20:35:16 +01:00
Ludwig Ortmann
5e0973ca89 Merge pull request #2150 from OlegHahm/more_doc_cleanup
doc: More documentation cleanup
2014-12-22 11:58:59 +01:00
Thomas Eichinger
a9379881cf pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00
PeterKietzmann
46fdcf64c1 drivers/srf08: initial import of the updated ultrasonic driver 2014-12-17 15:37:25 +01:00
Thomas Eichinger
5689a7d218 Merge pull request #1997 from Troels51/samr21-transceiver-port
samr21: implemention of transceiver via spi
2014-12-17 11:56:37 +01:00
Ludwig Ortmann
c070afb883 periph/rtc: move struct tm note to the top
The remark is valid for the whole interface, not just `rtc_get_time`.
2014-12-17 09:58:54 +01:00
Ludwig Ortmann
e7f6f640f6 Merge pull request #2060 from OlegHahm/periph_rtc
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Troels Hoffmeyer
33ef43c8e2 samr21: implemented transceiver via spi, gpio changes 2014-12-16 17:43:30 +01:00
Oleg Hahm
498edb1854 cc430: lpc2387: switch to new periph/rtc interface
Removes the old interface.
2014-12-16 17:02:44 +01:00
Hauke Petersen
f80c4a4d7e driver/timer: adjusted doxygen for speed value 2014-12-16 16:36:36 +01:00
Hauke Petersen
f3de73fe54 driver/i2c: additional docu for pull resistors 2014-12-16 15:17:42 +01:00
PeterKietzmann
aab94e50f9 doc: extend i2c description for pull-up 2014-12-16 10:54:31 +01:00
Ludwig Ortmann
1340fadcbe boards,drivers,examples: unset ENABLE_DEBUG 2014-12-12 14:29:06 +01:00
Oleg Hahm
d4166faccc doc: add or move module description where missing 2014-12-11 17:29:51 +01:00
Oleg Hahm
ff86118c7a doc: cleanup for radio_driver 2014-12-11 17:27:56 +01:00
Oleg Hahm
bc330284fa doc: don't use defgroup and addtogroup 2014-12-11 17:27:56 +01:00
Oleg Hahm
11d0a22ad7 doc: remove superfluous and erroneous @file params 2014-12-11 17:27:54 +01:00
Ludwig Ortmann
e850078769 Merge pull request #2162 from cgundogan/vtimer_set_msg_param_type
vtimer: set custom msg_t.type with vtimer_set_msg
2014-12-09 11:12:52 +01:00
Cenk Gündoğan
6ee5e737f9 vtimer: set custom msg_t.type with vtimer_set_msg
Currently, when using vtimer_set_msg the corresponding msg_t is filled
with the MSG_TIMER ("12345") type.
This approach makes it difficult to differentiate between incoming
messages via vtimer_set_msg.

In this PR I introduce another parameter for the vtimer_set_msg
function to specify a custom msg_t type.
2014-12-09 10:07:26 +01:00
PeterKietzmann
a84419e321 doc: fix drivers/srf08 documentation 2014-12-08 13:38:51 +01:00
PeterKietzmann
522b7d470e doc: fix drivers/srf02 documentation 2014-12-08 13:38:44 +01:00
Martine Lenders
c63d029653 netdev: Fix netdev/default.h 2014-12-06 18:03:49 +01:00
Oleg Hahm
2eaf35bcf9 doc: fixed doxygen for lm75a temperature sensor 2014-12-06 17:32:00 +01:00
Oleg Hahm
67a2b37ff8 cc110x: cleanup cc110x_legacy_csma driver
Remove unused radio_t struct and fixed documentation.
2014-12-05 20:33:10 +01:00
Oleg Hahm
000450c894 Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Oleg Hahm
43c86b5a3e doc: fix remaining doxygen warnings 2014-12-04 17:16:57 +01:00
Oleg Hahm
0ccf1043de doc: fixed broken doxygen references 2014-12-04 17:16:57 +01:00
Ludwig Ortmann
e82f6dce79 doc: periph/dac: fix typo 2014-12-04 11:14:26 +01:00
Ludwig Ortmann
da43a5e7a4 doc: periph: various fixes and cleanup
- unify file/module @brief
- distinct @file section more visibly in source
- provide missing @brief's
- move module details/notes from file to module sections
- provide missing macro definition for building
2014-12-04 10:28:45 +01:00
Oleg Hahm
c92effaead debug: removed superfluous additional debug flag 2014-12-03 22:59:14 +01:00
Fabian Nack
eebfd5011a drivers - cc110x: Initial import of new cc110x driver 2014-12-01 17:14:02 +01:00
Fabian Nack
57e54e254d drivers - netdev: extend netdev_state_t enum 2014-12-01 16:50:54 +01:00
Oleg Hahm
d92e9af91c doc: fixed broken param descriptions 2014-11-30 22:34:50 +01:00
Oleg Hahm
df9c09d946 doc: fixed typos and other misspellings 2014-11-30 21:32:12 +01:00
Oleg Hahm
d3d68c876f doc: use @brief for single defines 2014-11-30 21:18:24 +01:00
Oleg Hahm
ae8dd90884 doc: added missing closing doxygen brackets 2014-11-30 21:16:41 +01:00
Hinnerk van Bruinehsen
e7d0a7664f lint: fix possible nullptr deref in *pwr 2014-11-28 01:07:33 +01:00
Hauke Petersen
f1fda21ab7 Merge pull request #2018 from brummer-simon/devel-dac_driver
Basic DAC Driver, implementation on stm32f4discovery
2014-11-26 17:52:39 +01:00
PeterKietzmann
d8a26d5aa6 Initial import of nrf24l01p lowlevel functions 2014-11-26 13:50:29 +01:00
Ludwig Ortmann
685acd8a54 Merge pull request #2070 from jfischer-phytec-iot/wip@hdc1000
Sensor Driver for HDC1000
2014-11-26 10:32:17 +01:00
Simon Brummer
5a4b966d9c Basic DAC Driver, implementation on stm32f4discovery 2014-11-25 22:37:32 +01:00
Johann F
1a69a1eae8 add hdc1000 sensor driver 2014-11-24 13:15:58 +01:00
Ludwig Ortmann
b940f6b982 drivers/cc2420: use DEBUG_ENABLED instead of DEBUG
compare https://github.com/RIOT-OS/RIOT/issues/2067
2014-11-21 18:31:09 +01:00
Martine Lenders
8ee3edcb13 netdev: Add protocol to header list nodes 2014-11-21 12:37:48 +01:00
PeterKietzmann
f207b114e4 Initial import of the updated srf02 driver with general i2c interface 2014-11-21 09:21:27 +01:00
Ludwig Ortmann
fb75b65df7 periph/rtt: fix documentation
Fix some typos, grammar and style.
2014-11-19 17:04:20 +01:00