1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

919 Commits

Author SHA1 Message Date
Yonezawa-T2
8481d85ead xbee: fixed RSSI header parsing 2016-04-19 11:17:12 +09:00
Yonezawa-T2
bea5eacea2 xbee: fixed broadcast header
Destination address is at tx_buf[5] and tx_buf[6] rather than tx_buf[4] and
tx_buf[5].

Broadcast header is overridden by following code mistakenly.
2016-04-18 10:21:15 +09:00
Yonezawa-T2
4f864b0ec8 xbee: fixed missing unlocks 2016-04-18 10:20:52 +09:00
Hauke Petersen
25935bf95f drivers/Makefile.dep: fixed FEATURE_REQ assignments 2016-04-13 16:47:00 +02:00
kYc0o
e6d15f2d36 Merge pull request #5224 from haukepetersen/fix_periph_undef
drivers/periph: fixed UNDEF values to UINT_MAX
2016-04-13 16:39:59 +02:00
Bas Stottelaar
cf5e4c8fb6 drivers: si70xx: bugfixes + test improvements 2016-04-13 13:27:09 +02:00
Hauke Petersen
df574d6f2d Merge pull request #5231 from malosek/si70xx_driver_fix
drivers: si70xx: fixed left shift compiler warning for 16bit platforms
2016-04-13 13:13:24 +02:00
Hauke Petersen
5fe57b4659 Merge pull request #4725 from kaspar030/ethos_br_hack
simplified border router setup
2016-04-12 17:39:07 +02:00
Hauke Petersen
3ae9fd9536 Merge pull request #5255 from kaspar030/fix_encx24j600
drivers: misc fixes for encx24j600
2016-04-11 17:34:41 +02:00
7c9703b85b drivers: ethos: add missing tsrb dependency 2016-04-11 17:03:28 +02:00
27833444a0 drivers: ethos: make internal function static 2016-04-11 17:03:28 +02:00
d33423b5e6 drivers: ethos: fix cast of length parameter 2016-04-11 17:03:28 +02:00
2cd2194763 drivers: ethos: fix static const declarations 2016-04-11 17:03:28 +02:00
e4a92a697c drivers: ethos: add missing irq.h include 2016-04-11 17:03:28 +02:00
Oleg Hahm
70a2d68a8a Merge pull request #5289 from cgundogan/pr/at86rf2xx_netdev/fix
at86rf2xx_netdev: fix broken pending_tx handling
2016-04-11 15:03:41 +02:00
Cenk Gündoğan
9b01c6dbce at86rf2xx_netdev: use DEBUG instead of printf 2016-04-11 13:15:39 +02:00
Cenk Gündoğan
f570576976 at86rf2xx_netdev: fix broken pending_tx handling 2016-04-11 13:15:39 +02:00
Hauke Petersen
7c02c616bd Merge pull request #4863 from gebart/pr/saul-adc
SAUL: Add periph/adc support
2016-04-11 13:13:25 +02:00
malo
b9705c8727 drivers: si70xx: fixed si70xx_measure return value calculation on 16bit platforms
Signed-off-by: malo <malo@25cmsquare.io>
2016-04-09 22:12:44 +02:00
Martine Lenders
1c45c503b8 netdev2: fix event_callback references 2016-04-09 13:22:19 +02:00
Oleg Hahm
e2cb553d05 Merge pull request #5261 from OlegHahm/at86rf2xx_pending_TX
at86rf2xx: introduce pending TX counter
2016-04-08 13:08:39 +02:00
Oleg Hahm
252baecef7 at86rf2xx: introduce pending TX counter
This counter is necessary for the current concept to tell the driver when to return to idle after sending.
2016-04-08 11:32:40 +02:00
Joakim Nohlgård
50b48c28eb sys/saul: Add analog inputs to SAUL via periph/adc 2016-04-08 10:18:12 +02:00
Joakim Nohlgård
1f645cf436 drivers/saul: Fix typo in documentation 2016-04-08 10:17:23 +02:00
1ac0ab6905 drivers: encx24j600: prefix constants 2016-04-06 22:53:47 +02:00
d9d5d88b26 drivers: encx24j600.c: compile fixes 2016-04-06 22:53:27 +02:00
Hauke Petersen
6bebc9d588 make: moved driver deps to drivers/Makefile.deps 2016-04-06 15:39:34 +02:00
René Kijewski
f7428393b2 Merge pull request #5245 from OlegHahm/at86rf2xx_netstats_ifdef
at86rf2xx: fix netstats_l2 ifdef
2016-04-05 12:09:06 +02:00
Oleg Hahm
e0b475b25a at86rf2xx: fix netstats_l2 ifdef 2016-04-04 18:34:01 +02:00
Oleg Hahm
32606382a1 drivers 802154: always memset cpuid before setting 2016-04-04 18:20:19 +02:00
Oleg Hahm
416b9759e2 drivers 802154: use memset for eui64 padding 2016-04-04 16:53:21 +02:00
Martine Lenders
4d46a5f91e Merge pull request #5242 from OlegHahm/eliminate_ieee802154_literals
ieee802154: replace literals for lengths by macros
2016-04-04 16:37:08 +02:00
Oleg Hahm
a59e100d41 ieee802154: replace literals for lengths by macros 2016-04-04 15:24:47 +02:00
Oleg Hahm
6f58862fec driver: assure required buffer size
The cpuid buffer is also used as a temporary buffer to store the EUI-64 of the transceiver, so we need to make sure that it is always big enough.
May be padded with zeroes for smaller CPUIDs.
2016-04-03 22:38:13 +02:00
Oleg Hahm
aa043a50bf drivers encx24j600: introduce netstats
This driver was missing netstats completely so far.
2016-04-03 18:05:07 +02:00
Oleg Hahm
4ba73928ac drivers enc28j60: correctly initialize netstats
Driver's netstats should be initialize in init, not isr...
2016-04-03 18:04:32 +02:00
Thomas Eichinger
e5e67b3870 drivers/at86rf2xx: mask frame length according to data sheet
After some discussion on the devel mailing list about smuggeling in corrupted frames by e.g. SDRs I'd propose we mask the length field according to the datasheet again. It was done before in at86rf2xx_get_length but this funtion did get used anymore along the way.
2016-04-02 12:29:22 -03:00
malo
86eb928642 drivers: si70xx: fixed left shift compiler warning for 16bit platforms
Signed-off-by: malo <malo@25cmsquare.io>
2016-04-02 00:54:04 +02:00
Hauke Petersen
af8f4040ac drivers/xbee: fixed missing newline in DEBUG 2016-04-01 11:48:35 +02:00
Hauke Petersen
9a4df61005 drivers/periph: fixed UNDEF values to UINT_MAX 2016-04-01 10:57:26 +02:00
Yonezawa-T2
c4bc42419b netdev2_tap: continue reading even if no spaces left in pktbuf
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.

With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Oleg Hahm
4f17d2bd9c Merge pull request #5211 from kaspar030/ethos_fixes
drivers: ethos: misc fixes
2016-03-31 00:43:55 +02:00
a833d838b9 drivers: ethos: don't error if recv buffer is larger than needed 2016-03-30 23:47:07 +02:00
Martine Lenders
c5dc5b2d24 Merge pull request #5208 from kaspar030/fix_ethos_compile
drivers: ethos: fix compile errors
2016-03-30 17:37:52 +02:00
036e7f248d drivers: ethos: fix compile errors 2016-03-30 17:09:58 +02:00
Peter Kietzmann
3fa8a267b3 Merge pull request #5155 from OlegHahm/diskio_cleanup
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
1f4d73dde1 Merge pull request #4801 from OlegHahm/netstats
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
0925737e28 doc diskio: RIOTized style and added doxygen 2016-03-30 12:54:51 +02:00
Oleg Hahm
7bce5a9ef8 Merge pull request #5189 from OlegHahm/cc110x_fix_typo
cc110x: fix typo
2016-03-30 01:17:39 +02:00
Oleg Hahm
86a83f8f86 cc110x: use CPP check instead of runtime check 2016-03-29 22:51:53 +02:00
Oleg Hahm
021e94ee6a netdev2: introduce linklayer netstats 2016-03-29 22:34:09 +02:00
Oleg Hahm
a8f2d2df67 netstats: netapi_get and shell command 2016-03-29 22:29:58 +02:00
Rene Herthel
44ee645373 drivers/lis3mdl: Initial create of lis3mdl 2016-03-29 21:02:18 +02:00
Oleg Hahm
0ed54f0d4e cc110x: fix typo (missing semicolon) 2016-03-29 20:11:35 +02:00
Yonezawa-T2
1ce140d910 debug: fix compilation error for %p formatter 2016-03-29 11:46:29 +09:00
Oleg Hahm
34d2940afb Merge pull request #5185 from OlegHahm/netdev_setup_params
netdev2: use params parameter for setup
2016-03-28 22:34:10 +02:00
Oleg Hahm
59674a679b netdev2: use params parameter for setup 2016-03-28 20:22:20 +02:00
Oleg Hahm
3ba99aabe4 xbee: fix naming inconsistency 2016-03-28 20:22:20 +02:00
e64cffa359 drivers: cc110x: compile fix 2016-03-26 20:53:13 +01:00
Martine Lenders
69b63b7c5a cc110x: generate IID from hardware address 2016-03-26 19:16:05 +01:00
Martine Lenders
536255696e cc110x: take whole CPU ID for hardware address generation 2016-03-26 19:15:43 +01:00
Oleg Hahm
26b3263f8a netdev2: moved ethernet header into subdir 2016-03-25 15:10:07 +01:00
Hauke Petersen
2510fe03f5 Merge pull request #4646 from authmillenon/at86rf2xx/api/netdev2
at86rf2xx: port to netdev2
2016-03-24 15:03:15 +01:00
Martine Lenders
5bfc9e43fb at86rf2xx: port to netdev2 2016-03-23 17:45:16 +01:00
Peter Kietzmann
ad149dcd68 Merge pull request #4804 from haukepetersen/opt_srf02_impltrigger
driver/srf02: expose trigger and read to API
2016-03-23 07:50:35 +01:00
941bdbbc56 drivers/bmp180: initial implementation 2016-03-22 19:51:03 +01:00
Hauke Petersen
c86a06d585 drivers/srf02: fixed missing i2c_release in init() 2016-03-22 17:07:04 +01:00
Hauke Petersen
ff2ff5d008 drivers/srf02: expose trigger and read to API 2016-03-22 17:07:04 +01:00
Hauke Petersen
b68b14b49b Merge pull request #4666 from haukepetersen/opt_driver_dhtsaul
drivers/dht: added support for SAUL
2016-03-22 11:06:16 +01:00
DipSwitch
5b5810ab7b Merge pull request #5109 from DipSwitch/pr/fix_core_inc_irq
core: Fix/refactor function naming in core/incude/irq.h
2016-03-22 08:12:24 +01:00
Cenk Gündoğan
2b3fc6d3b3 drivers/mma8652: add saul driver 2016-03-21 16:16:11 +01:00
Cenk Gündoğan
e6de2924ad drivers: mma8652: add mma8652_params_t for initialization 2016-03-21 16:16:11 +01:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
Hauke Petersen
08ce2a5090 drivers/dht: adapted to GPIO changes 2016-03-17 14:55:31 +01:00
Hauke Petersen
e51d634aeb drivers: adapted gpio_init(_x)() calls 2016-03-17 14:55:30 +01:00
Hauke Petersen
2515a3f9ef drivers/gpio: changed the way the mode is configured
- joined pushpull and dir into one single mode parameter
- with this enabled the configuration of open-drain mode
2016-03-17 14:37:24 +01:00
Hauke Petersen
7c86467ef0 drivers/dht: added SAUL support 2016-03-17 10:39:42 +01:00
Hauke Petersen
d1d7192d93 drivers/saul: added default NOTSUP function 2016-03-17 10:29:34 +01:00
Oleg Hahm
1fe7c4b17b led: move header into include directory 2016-03-16 16:09:45 +01:00
Hauke Petersen
fd082a8503 drivers: added LED control header 2016-03-15 19:02:15 +01:00
Hauke Petersen
272f12dfb8 Merge pull request #5045 from haukepetersen/opt_boards_leddefines
boards: unified LED macros
2016-03-15 19:01:05 +01:00
Hauke Petersen
53b42424ff drivers/lm75a: removed LED_xx_yy calls 2016-03-15 18:37:54 +01:00
Martine Lenders
1caf0bcc8a Merge pull request #4645 from authmillenon/netdev2/enh/ieee802154
netdev2: add basic IEEE 802.15.4 support
2016-03-15 18:28:29 +01:00
Martine Lenders
b0b76ba3a6 gnrc: initial import of GNRC<->netdev2 glue code for 802.15.4 2016-03-15 17:11:22 +01:00
Hauke Petersen
1a8a73af63 drivers/ethos: adapted to changed UART cb type 2016-03-15 14:24:32 +01:00
Hauke Petersen
368d96ccd1 drivers/xbee: adapted to changed uart cb type 2016-03-15 11:59:08 +01:00
Hauke Petersen
2d2126e909 drivers/uart: use uint8_t for data in cb signature 2016-03-15 10:57:44 +01:00
Hauke Petersen
40ae604c3b drivers/dac: reworked DAC driver interface 2016-03-14 20:13:24 +01:00
Hauke Petersen
9bcfec9032 drivers/mq3: adapted to ADC driver changes 2016-03-14 13:06:24 +01:00
Hauke Petersen
58a8884acf drivers/periph: remodeled the ADC periph interface 2016-03-14 10:38:42 +01:00
Martine Lenders
8bacb0fb62 Merge pull request #5011 from dkm/pr/servo.fix
drivers/servo: fix API doc
2016-03-13 08:48:00 +01:00
Joakim Nohlgård
dc303a4f0b sys/uart_stdio: rename STDIO -> UART_STDIO_DEV, move to header 2016-03-11 12:04:00 +01:00
Hauke Petersen
49ac533eba drivers/spi: made conf and speed types overridable 2016-03-09 17:59:25 +01:00
Marc Poulhiès
7c0c942e8e drivers/servo: fix API doc
Parameters for servo_init/servo_set are in ms only when using default values for SERVO_RESOLUTION and SERVO_FREQUENCY.
When using non default values, user must scale values to be in the range of [0, SERVO_RESOLUTION]

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-03-09 13:28:27 +01:00
Martine Lenders
b1a9dfe384 netdev2_ieee802154: import of common IEEE802.15.4 netdev2 module 2016-03-07 21:11:05 +01:00
Hauke Petersen
af48dadb26 Merge pull request #4807 from gebart/pr/saul-lis3dh
drivers/lis3dh: Add SAUL support
2016-03-02 13:23:29 +01:00
Martine Lenders
3fc3a695db Merge pull request #4885 from authmillenon/cc110x/fix/info
cc110x: only set info values if != NULL
2016-03-01 20:39:52 +01:00
Martine Lenders
327f7c442c Merge pull request #4816 from kaspar030/rename_genrand
sys: random: rename genrand_* to random_*
2016-03-01 13:58:39 +01:00
Peter Kietzmann
c8829a49b8 Merge pull request #4838 from haukepetersen/fix_periph_timerarg
drivers/timer: added callback argument
2016-03-01 08:55:54 +01:00
Joakim Nohlgård
3af809bdfc Merge pull request #4910 from kaspar030/core_header_cleanup
core: header cleanup
2016-02-29 22:48:35 +01:00