Hauke Petersen
4a4ee44abc
drivers/gpio: added GPIO_UNDEF define
2015-06-14 16:12:20 +02:00
Jonas
404e7b1016
driver/kw2xrf: set HW-address according to CPUID; Correct broadcast handling
2015-06-13 22:30:04 +02:00
Hauke Petersen
2cc2d9f740
drivers: adjusted drivers to changed GPIO interface
2015-06-12 19:10:29 +02:00
Hauke Petersen
b49f11bed7
drivers/gpio: overhaul of the periph GPIO driver
...
- merged init_in and init_out
- renamed init_int to init_exti
- made datatypes overwritable
2015-06-12 19:09:32 +02:00
Hauke Petersen
6f2f716363
Merge pull request #3158 from authmillenon/xbee/enh/addr-len
...
xbee: make address length configurable
2015-06-12 14:34:21 +02:00
Martine Lenders
f4392f7661
xbee: make address length configurable
...
6LoWPAN-ND states [1] that the IPv6 address should be generated from the
EUI-64 of the interface, since it can be assumed as globally unique and
would not require duplicate address detection. Currently the xbee module is
not able to use any other address for short address with IPv6 since
NETCONF_OPT_SRC_LEN always returns 2. This patch fixes that.
[1] https://tools.ietf.org/html/rfc6775#section-5.2
2015-06-11 19:51:35 +02:00
daniel-k
80c13d109b
periph/rtt: add macros for time to tick conversion
2015-06-08 17:19:20 +02:00
Ludwig Ortmann
af5af90cba
drivers/dht: add support for DHT21
2015-06-06 17:08:47 +02:00
Hauke Petersen
f5ec1926e6
Merge pull request #3106 from gebart/pr/servo-updates
...
drivers/servo: Add test program, handle inexact frequencies
2015-06-04 12:08:06 +02:00
haukepetersen
4a19e255d7
drivers/ng_at86rf: disable ack req on bcast/mcast
2015-06-02 23:07:03 +02:00
Peter Kietzmann
6dc0e789e1
Merge pull request #3101 from gebart/pr/warning-fixes
...
Various warning fixes
2015-05-31 17:03:49 +02:00
Johann F
d317ea2d3a
drivers/hdc1000: fix hdc1000_startmeasure function
...
Change i2c_write_bytes to i2c_write_byte because it was
seriously wrong at this point.
2015-05-30 20:18:34 +02:00
Joakim Gebart
3ede02683c
drivers/servo: Handle inexact frequencies from periph_pwm
2015-05-30 12:41:07 +02:00
Joakim Gebart
1c855cb230
drivers/at86rf231: fix unused-parameter
2015-05-29 14:23:01 +02:00
Peter Kietzmann
c839e65479
Merge pull request #3025 from OlegHahm/netconf_retransmit
...
netconf: at86rf231: configure maximum retransmits
2015-05-29 10:10:56 +02:00
Ludwig Ortmann
4a05f47bcf
drivers/dht: initial import
...
Unified driver for DHT11 and DHT22.
2015-05-29 06:24:18 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Oleg Hahm
76e4c820e5
ng_netconf: ng_at86rf2xx: set retransmissions
...
Introduces a netconf option to configure the maximum amount of
retransmissions and implements this for the at86rf2xx radios.
2015-05-28 13:35:36 +02:00
Martine Lenders
e28a64f282
ng_at86rf2xx: add NETCONF_OPT_PROTO to _get
2015-05-26 15:25:37 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Oleg Hahm
9739acaf1b
Merge pull request #3032 from OlegHahm/at86rf_reset_delay
...
ng_at86rf2xx: set reset delay properly
2015-05-21 23:08:28 +02:00
Lucas Jenss
426170b064
Improve naming of thread stacksize/priority constants
...
As discussed in #2725 , this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:
* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Johann Fischer
b0e73b9a8c
Merge pull request #2983 from jfischer-phytec-iot/pr@kw2x-rf-autoinit
...
boards/pba-d-01-kw2x: add network interface auto init
2015-05-20 10:00:23 +02:00
Oleg Hahm
961d302d72
ng_at86rf2xx: set reset delay properly
2015-05-19 15:08:44 +02:00
Hauke Petersen
354e5db5a8
Merge pull request #2963 from OlegHahm/fix_2962
...
at86rf2xx: fix EUI64 computation
2015-05-19 10:59:34 +02:00
Oleg Hahm
6e6f1792af
Merge pull request #2586 from OlegHahm/remove_obsolete_cc110x_rpl_warning
...
cc110x: remove warning about the transceiver mode
2015-05-19 01:34:54 +02:00
Oleg Hahm
cfc3bf5f70
ng_at86rf2xx: replace printf with DEBUG
2015-05-18 21:21:57 +02:00
Jonas
9b66477180
adapted new auto-init process to kw2xrf driver
...
added kw2xrf to auto-init
2015-05-18 17:12:44 +02:00
Peter Kietzmann
b3e78ddc33
Merge pull request #3016 from gebart/pr/tab-indentation
...
Inconsistent indentation in some files
2015-05-18 15:45:15 +02:00
Oleg Hahm
67042901bc
xbee: remove superfluous includes
2015-05-18 15:30:25 +02:00
Oleg Hahm
92f4dec8da
xbee: use last 2 octets of EUI64 for short address
...
Dependency two CPUID and hard coded default short address are
superfluous now.
2015-05-18 15:30:25 +02:00
Oleg Hahm
c45eaf62de
ng_at86rf2xx: compute unique EUI64 from CPUID
...
The EUI64 for the at86rfxx is computed from the full CPUID by using
sliding xor.
2015-05-18 15:30:25 +02:00
895b629630
Merge pull request #2901 from kaspar030/fix_auto_init_netif
...
network: make auto_init_ng_netif less board-dependant
2015-05-18 13:09:55 +02:00
Oleg Hahm
5a5f9df898
cc110x: remove warning about the transceiver mode
...
* RPL is currently working with both transceiver modes (wake on radio
_and_ constant RX)
2015-05-18 11:41:27 +02:00
Hauke Petersen
fc52bfa164
Merge pull request #3014 from gebart/pr/ng_at86rf2xx-array-bounds
...
drivers/ng_at86rf2xx: correct array bounds on tx_pow_to_dbm
2015-05-18 10:35:14 +02:00
Hauke Petersen
7926d921df
Merge pull request #2973 from bapclenet/at86rf2xx/212b
...
at86rf2xx/915MHz fix
2015-05-18 10:13:52 +02:00
Joakim Gebart
0ae1a3d7e5
drivers/nrf24l01p: Replace tabs by spaces
2015-05-18 07:10:53 +02:00
Joakim Gebart
83065236ec
drivers/mag3110: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
9597cfd946
drivers/cc110x: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
5dbeef5a95
drivers/ng_at86rf2xx: correct array bounds on tx_pow_to_dbm
...
There are only 37 entries in the array in the C file as well as in the
table in the data sheet.
Fixes the following cppcheck error:
drivers/ng_at86rf2xx/ng_at86rf2xx_getset.c:49: error (arrayIndexOutOfBounds): Array 'dbm_to_tx_pow_868[37]' accessed at index 37, which is out of bounds.
2015-05-18 06:15:10 +02:00
a89b382297
drivers: xbee: adapt to new auto_init_ng_netif scheme
2015-05-17 21:02:00 +02:00
3c00ff0c9b
drivers: adapt ng_at86rf2xx to new auto_init_ng_netif scheme
2015-05-17 21:02:00 +02:00
Oleg Hahm
287aa4cdbf
Merge pull request #2992 from gebart/pr/pwm-return-value
...
periph_pwm: Return actual frequency (like the docs say)
2015-05-17 13:06:08 +02:00
Ludwig Ortmann
fe4391b179
drivers/isl29125: fix group description
2015-05-16 13:56:16 +02:00
Joakim Gebart
92a743560d
drivers/periph/pwm: Update return value doxygen to match long description
2015-05-16 10:00:03 +02:00
Oleg Hahm
4d64b98f2c
Merge pull request #2756 from jremmert-phytec-iot/pr@ng_kw2xrf
...
driver/kw2xrf: added ng_netdev implementation for the Freescale kw2x radio
2015-05-14 12:51:00 +02:00
bapclenet
dd8cc82da0
at86rf2xx/915MHz fix
2015-05-14 09:24:47 +02:00
Jonas
3287e71d45
Initial import of tests for kw2x radio
...
squash: driver: fixed typo to pass doccheck
squash: driver: bug fixes after test
squash: adapted Makefiles for correct build behaviour
restructured, no spi interaction in isr anymore
major bugfixes and restructurization
comments addressed
introduce new netconf option, ..AUTOCCA
squash: minor bugfix and add auto-init mechanism
squash: minor fixes to make travis happy
2015-05-13 13:06:59 +02:00
Jonas
49f09477af
Initial commit of ng_kw2xrf radio driver
...
squash: removed tab indent
2015-05-13 11:21:14 +02:00
Oleg Hahm
21dc560a19
Merge pull request #2906 from LudwigOrtmann/pr/isl29125
...
ISL29125 driver import
2015-05-13 08:42:40 +02:00
Oleg Hahm
7e4ccbbee7
Merge pull request #2959 from authmillenon/at86rf2xx/fix/offset
...
ng_at86rf2xx: fix offset error on send
2015-05-12 22:55:02 +02:00
Ludwig Ortmann
be8d62a967
drivers/isl29125: beautify indentation
2015-05-12 07:25:54 +02:00
Ludwig Ortmann
0db92da19d
drivers/isl29125: initial import
2015-05-12 07:23:41 +02:00
Oleg Hahm
69f07c601f
Merge pull request #2949 from OlegHahm/crash_panic_foobar
...
core: panic unification
2015-05-10 21:54:43 +02:00
Oleg Hahm
92b41df711
ng_at86rf2xx: use correct check for CPUID_LEN
2015-05-10 21:50:07 +02:00
Martine Lenders
e5155390d0
ng_at86rf2xx: fix offset error on send
2015-05-10 14:02:42 +02:00
Joakim Gebart
b64ca89dc4
netdev: doxygen: documentation fix for NETDEV_DEFAULT
2015-05-10 09:56:19 +02:00
Joakim Gebart
dba0c94cc2
netdev: Doxygen add missing @defgroup netdev_802154
2015-05-10 09:42:08 +02:00
Oleg Hahm
e9145fb911
Merge pull request #2939 from gebart/pr/whitespace-fixes1
...
Whitespace fixes
2015-05-09 23:46:31 +02:00
Oleg Hahm
828839316b
core: renamed crash.h to panic.h
2015-05-09 18:44:10 +02:00
Martine Lenders
ebb88ce72f
Merge pull request #2877 from bapclenet/at86rf2xx/212b
...
at86rf2xx/212b_frequency
2015-05-09 16:48:35 +02:00
bapclenet
3bce17b3e4
at86rf2xx/tx_pwr for 212B and 233
2015-05-09 13:30:52 +02:00
Joakim Gebart
453efc8ea1
drivers/include/hdc1000.h: Unix line endings
2015-05-09 09:02:57 +02:00
bapclenet
e33437958b
at86rf2xx/212b_frequency - adapt 868MHz and 915MHz frequency
2015-05-08 12:46:56 +02:00
Oleg Hahm
b48eb4ac34
at86r231: removed pointless checks
...
Checking the length for bool options is pretty pointless.
2015-05-07 20:46:56 +02:00
Oleg Hahm
6aeb8ca3d1
at86rf231: complete debug messages for getset
2015-05-07 20:46:56 +02:00
Oleg Hahm
a97ee2b0a4
at86rf231: disable SFD IRQ by default
2015-05-06 15:58:02 +02:00
Oleg Hahm
c8aff36237
netconf: added option to en/disable the SFD IRQ
...
Also includes the implementation for the AT86RF231
2015-05-06 15:58:02 +02:00
Joakim Gebart
2738e9f9a8
nvram_spi: Implement generic SPI NVRAM driver.
2015-05-04 10:39:46 +02:00
Joakim Gebart
db9d3ddf48
nvram: Add generic SPI connected NVRAM interface.
2015-05-04 10:39:42 +02:00
Joakim Gebart
a982af330c
drivers: Add API for NVRAM devices with byte level erase.
2015-05-04 10:39:32 +02:00
Ludwig Ortmann
a729afa9ec
drivers/isl29020: fix return value integer error
...
Problem:
Since `i2c_read_reg` returns (signed) `int` values, the result can
be negative. However, the variable used to save the result is unsigned.
Fix:
Add and use a signed variable for return value storing.
2015-05-02 08:35:38 +02:00
Ludwig Ortmann
8ba166df6d
drivers/isl29020: fix some spelling errors
2015-05-02 08:33:15 +02:00
Hauke Petersen
3778fb3dde
drivers: added driver for PCD8544 LCD display
2015-04-30 13:46:03 +02:00
haukepetersen
6b7b241726
drivers/ng_at86rf2xx: disable debug
2015-04-29 14:20:30 +02:00
Hauke Petersen
fefac35c1c
drivers: new driver for at86rf2xx family radios
2015-04-27 18:56:59 +02:00
Hauke Petersen
b48561785e
drivers/xbee: added getter for addr_len and src_len
2015-04-23 16:30:07 +02:00
Hauke Petersen
7b29947b6d
drivers/xbee: optimized addr generation from CPUID
2015-04-23 15:52:54 +02:00
Hauke Petersen
727ddb9dc4
drivers/xbee: misc fixes to xbee driver
...
- fixed sending of with long addresses
- corrected type setting of netif hdr pktsnips
2015-04-20 18:13:17 +02:00
Hauke Petersen
ab7f1dc2cd
drivers/xbee: changed default for channel & panID
2015-04-20 18:12:40 +02:00
Peter Kietzmann
32f901a142
Merge pull request #2777 from authmillenon/xbee/feat/max_packet_size
...
xbee: add maximum packet size option
2015-04-17 09:15:16 +02:00
Martine Lenders
e4deb1e50e
xbee: add maximum packet size option
2015-04-16 18:46:16 +02:00
Hauke Petersen
bf4733fd88
drivers/periph/spi: added missing stdint.h include
2015-04-16 18:09:32 +02:00
Hauke Petersen
fa0a887dd5
drivers/xbee: declared private functions as static
2015-04-14 11:49:10 +02:00
Martine Lenders
67602bb443
Merge pull request #2600 from authmillenon/ipv6_nc/feat/mc-translation
...
[RFC] ng_netif_hdr: add flags for multicast and broadcast
2015-04-14 10:08:22 +02:00
PeterKietzmann
9e17d1b9fd
doc/drivers/srf: edit author and copyright
2015-04-13 13:07:56 +02:00
Martine Lenders
26e72b594f
drivers.xbee: adapt driver for bc/mc flags
2015-04-03 16:05:10 +02:00
altairpearl
b47cc8d93d
drivers : Update include guards to remove leading underscores
2015-03-30 20:00:28 +05:30
Martine Lenders
7f8d680e20
Merge pull request #2695 from haukepetersen/add_driver_xbee
...
drivers: added support for Xbee S1 modules
2015-03-27 15:09:33 +01:00
Ludwig Ortmann
a126bdb1b8
Merge pull request #2704 from LudwigOrtmann/pr/at86rf231-break
...
drivers/at86rf231: fix break condition
2015-03-26 21:47:36 +01:00
Hauke Petersen
a5cf137cc4
Merge pull request #2700 from gebart/pr/lis3dh-add-missing-spi-release
...
lis3dh: Add missing spi_release in error cases.
2015-03-25 21:26:01 +01:00
Hauke Petersen
8a20f2f401
drivers: added support for Xbee modules
2015-03-24 23:19:29 +01:00
Oleg Hahm
985a6525cc
Merge pull request #2690 from Darredevil/patch-13
...
Repair header file include guards for /drivers
2015-03-24 11:04:18 -05:00
Alexandru Caciulescu
4f643532ce
drivers/lsm303dlhc: Repair header file include guards
2015-03-24 17:55:44 +02:00
Alexandru Caciulescu
efd5a071b2
drivers/lps331ap: Repair header file include guards
2015-03-24 17:55:44 +02:00
Alexandru Caciulescu
fb0e523719
drivers/l3g4200d: Repair header file include guards
2015-03-24 17:55:43 +02:00
Alexandru Caciulescu
57dd7d35a1
drivers/include/servo: Repair header file include guards
2015-03-24 17:55:43 +02:00
Alexandru Caciulescu
d31f9cbb1b
drivers/include/rgbled: Repair header file include guards
2015-03-24 17:55:42 +02:00
Alexandru Caciulescu
2c5164004c
drivers/include/pir: Repair header file include guards
2015-03-24 17:55:42 +02:00
Alexandru Caciulescu
451bf78549
drivers/include/periph: Repair header file include guards
2015-03-24 17:55:42 +02:00
Alexandru Caciulescu
2b88c861c9
drivers/include/nrf24l01: Repair header file include guards
2015-03-24 17:55:41 +02:00
Alexandru Caciulescu
78618961f0
drivers/include/mq3: Repair header file include guards
2015-03-24 17:55:41 +02:00
Alexandru Caciulescu
ebaf61cc94
drivers/include/ltc4150: Repair header file include guards
2015-03-24 17:55:41 +02:00
Alexandru Caciulescu
7d68efcc38
drivers/include/lsm303dlhc: Repair header file include guards
2015-03-24 17:55:40 +02:00
Alexandru Caciulescu
81787154d0
drivers/include/lps331ap: Repair header file include guards
2015-03-24 17:55:40 +02:00
Alexandru Caciulescu
3d39c855c6
drivers/include/netdev: Repair header file include guards
2015-03-24 17:55:40 +02:00
Alexandru Caciulescu
a25a4d4fe5
drivers/include/cc110x_legacy: Repair header file include guards
2015-03-24 17:55:39 +02:00
Alexandru Caciulescu
3d209c3db1
drivers/mags3110: Repair header file include guards
...
removed trailing underscores
2015-03-24 17:55:39 +02:00
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
Hinnerk van Bruinehsen
c2a30f1e49
lint: remove unusedStructMember supressions
2014-11-19 11:22:49 +01:00
Thomas Eichinger
9b2b49c95d
drivers/at86rf21: add and improve debug messages
2014-11-13 15:00:46 +01:00
René Kijewski
9a15a6def5
make: easify {sys,drivers}/Makefile
...
Currently you need to add every new sys and driver module into the
respective Makefile. This requires rebasing if another module was merged
in the meantime.
This PR allows you to omit the entry to {sys,drivers}/Makefile, if the
subfolder has the same name as the module name, which should be sensible
in most cases.
2014-11-11 09:26:37 +01:00
Hauke Petersen
1ae08f8437
drivers/periph/rtt: added overflow callback
2014-11-07 12:14:37 +01:00
Thomas Eichinger
6bbc4ca226
shell: provide shell commands to poll lsm303dlhc sensor
2014-11-06 11:28:22 +01:00
Hauke Petersen
da64a7f438
drivers: added L3G4200D gyroscope driver
2014-11-06 10:36:41 +01:00
Oleg Hahm
0fed329774
Merge pull request #1941 from OlegHahm/ieee802154_use_enums
...
Ieee802154: use enums for frame type
2014-11-06 08:03:53 +01:00
Oleg Hahm
32543afdd0
ieee802154: make use of frame_type enum all over
2014-11-06 08:02:27 +01:00
Oleg Hahm
f777f23a89
Merge pull request #1934 from thomaseichinger/at86rf231_robustnes
...
drivers/at86rf231: improve deployment by default example
2014-11-05 19:59:11 +01:00
Thomas Eichinger
88fce936e9
lsm303dlhc: initial import of lsm303dlhc driver
...
TODO: Accelerometer does not return valid values yet
2014-11-05 13:04:47 +01:00
Thomas Eichinger
c16c2509e8
drivers/at86rf231: frame_type has to be set by upper layers
2014-11-04 15:12:45 +01:00
Thomas Eichinger
5b8231737b
drivers/at86rf231: print raw packet when DEBUG_ENABLED
2014-11-04 15:11:54 +01:00
Thomas Eichinger
9bdd4cebbc
drivers/at86rf231: change to PLL_ON to change address
2014-11-04 15:10:18 +01:00
Martine Lenders
038beb0f99
netdev: clarify documentation of netdev_driver_t::get_option()
2014-11-03 16:01:20 +01:00
Hinnerk van Bruinehsen
d28c588652
Merge pull request #1920 from thomaseichinger/at86_fix
...
drivers/at86rf231: fix two cppcheck findings
2014-11-01 18:23:35 +01:00
Thomas Eichinger
e6bcef4216
drivers/at86rf231: fix two cppcheck findings
2014-10-31 13:48:51 +01:00
Ludwig Ortmann
2c697bd8a4
drivers/mq3: add extern "C" to header
2014-10-31 12:30:03 +01:00
Oleg Hahm
fce3a2243e
Merge pull request #1846 from thomaseichinger/at86rf23x
...
drivers/at86rf231: refactoring of the at86rf231 radio driver
2014-10-31 09:33:30 +01:00
Hinnerk van Bruinehsen
4b68b9e547
lint: fix redundantAssignment warnings
...
SQUASH ME: redundantAssignment (remove FAT stuff)
SQUASH ME: into redundantAssignment unnecessary supp
2014-10-31 01:24:29 +01:00
Thomas Eichinger
9e2cfdc4da
netdev/802154: suppress cppcheck warnings in 802154.h
...
Suppress cppcheck warnings of class unusedStructMember because
this interface is not used yet. Remove these comments once it
is used.
2014-10-30 22:35:00 +01:00
Thomas Eichinger
dfb1b56fad
drivers/at86rf231: refactoring of the at86rf231 radio driver
...
* deploy extended operation mode
* cleanup
* implement netdev 802154.h interface
2014-10-30 22:35:00 +01:00
Thomas Eichinger
44dcd0e631
Merge pull request #1817 from haukepetersen/add_driver_lps331ap
...
drivers: added driver for LPS331AP pressure sensor
2014-10-30 21:05:50 +01:00
Hauke Petersen
7b666eb2a9
drivers: added LPS331AP pressure sensor driver
2014-10-30 20:24:44 +01:00
Oleg Hahm
313d5b4e56
doc: added and fixed some copyright boilerplates
2014-10-30 19:30:14 +01:00
Hauke Petersen
5bd6155ca6
drivers/mq3: added driver for alcohol sensor
2014-10-30 14:05:29 +01:00
Ludwig Ortmann
245df3f028
cpu/lpc2387, drivers/cc110x: purge FEUERWARE_CPU_LPC2387
...
* includes were superfluous
* unused otherwise
2014-10-28 18:04:26 +01:00
Ludwig Ortmann
57daf9d7d2
drivers/cc110x: fix duplicate length member
2014-10-28 18:04:26 +01:00
Ludwig Ortmann
e7eda3b54a
drivers/cc110x: remove unused FEUERWARE_CPU_MSP430 include
2014-10-28 18:04:26 +01:00
Fabian Nack
169a4d6815
drivers - cc110x_legacy_csma: add missing license
2014-10-28 16:18:59 +01:00
Fabian Nack
53b0ad2be5
drivers - cc110x: rename cc110x to cc110x_legacy_csma
2014-10-28 16:18:50 +01:00
Ludwig Ortmann
035dbce58d
drivers/adc_legacy: add copyright, author
2014-10-27 16:33:49 +01:00
Ludwig Ortmann
c59dd9787f
drivers: mark adc.h as legacy
2014-10-25 17:04:29 +02:00
Ludwig Ortmann
7476ce8abf
doc: mark legacy adc API as deprecated
2014-10-25 16:36:10 +02:00
Ludwig Ortmann
5523ec67f3
doc: make peripheral interfaces modules
...
also remove `@file` parameters
2014-10-25 15:37:04 +02:00
Fabian Nack
310d468659
drivers - cc110x_legacy: add missing license
2014-10-24 09:55:57 +02:00
Fabian Nack
07fff37efe
drivers - cc110x_ng: rename ng driver to legacy
2014-10-24 09:55:31 +02:00
BytesGalore
469f28bf5c
added missing extern "C"
guards
2014-10-22 07:50:48 +02:00
BytesGalore
f94623ae0f
drivers: add extern "C"
to header files
2014-10-21 15:30:03 +02:00
Ludwig Ortmann
b3266fee1a
drivers/periph/gpio: fix #ifdef instead of #if
2014-10-18 07:40:27 +02:00
Hauke Petersen
8c3a207a3f
Merge pull request #1770 from fnack/spi_extension
...
driver - periph: Extend SPI low-level driver interface
2014-10-17 13:54:38 +02:00
Fabian Nack
be5f175623
drivers - spi: extended low-level spi driver interface
2014-10-16 17:10:11 +02:00
Martine Lenders
d9026054b7
periph.cpuid: Add central documentation for CPUID_ID_LEN
2014-10-16 14:39:56 +02:00