smlng
164768be54
netstats_l2: correct rx_bytes in encx24j600
2017-06-05 11:08:59 +02:00
smlng
b41219744a
driver, encx24j600: fix possible buffer overflow
...
overflow if len < payload_len, that is packet too big
2017-06-05 11:08:59 +02:00
4a852abd03
drivers/bmx280: factorize bme280 and bmp280 implementation
2017-06-02 14:54:17 +02:00
Hauke Petersen
a1499f4190
cpu: add and use shared code for timer_set()
2017-06-02 12:21:56 +02:00
1a2097e97e
Merge pull request #7082 from jia200x/openthread_core
...
pkg/openthread: core and tests
2017-06-01 20:20:37 +02:00
José Ignacio Alamos
017280db13
pkg/openthread: add OpenThread core
2017-06-01 13:44:05 -04:00
Hauke Petersen
d0f84e5460
drivers/netdev2: added more comprehensive doc
2017-06-01 18:54:54 +02:00
Cenk Gündoğan
1473adde17
netdev.h: remove indirect reference to netdev2 from doc
2017-05-31 16:54:38 +02:00
Sebastian Meiling
efffddd0ba
Merge pull request #6768 from aabadie/driver_dsp0401
...
drivers/dsp0401: add implementation for 4 digits alphanumeric display
2017-05-30 21:13:36 +02:00
Cenk Gündoğan
6d0fa42d07
kw2xrf: use static inline
2017-05-30 09:51:30 +02:00
a4e16cd7e9
drivers/dsp0401: initial implementation
2017-05-26 15:24:51 +02:00
Martine Lenders
d4693648ba
Merge pull request #7095 from kaspar030/add_headerguard_check_script
...
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Hauke Petersen
d488fdc1e3
sys/drivers: guard l2filter.h, netstats.h includes
2017-05-23 13:39:49 +02:00
Hauke Petersen
31dfe382a3
net/gnrc/eth: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
145e4761c1
net/gnrc/802154: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
caf97d5c2c
drivers/netdev: add filter list to netdev strcut
2017-05-18 15:24:25 +02:00
8501a03cbc
cleanup: apply enable_debug_false.cocci to codebase (coccinelle)
...
Skipped sys/cbor/cbor.c, examples/microcoap_server/microcoap_sock.c,
as they use different semantics.
2017-05-15 18:45:43 +02:00
Hauke Petersen
48f2a92262
drivers/hdc1000: (re)add error checks for I2C acces
2017-05-12 11:57:43 +02:00
Hauke Petersen
148ff32a42
saul: include errno.h from saul.h
2017-05-12 11:57:26 +02:00
Hauke Petersen
3511deb4d5
saul/gpio: differentiate SENSE_BTN and ACT_SWITCH
2017-05-09 10:47:31 +02:00
Hauke Petersen
3cbc0352ea
drivers: use saul_notsup
2017-05-08 13:56:35 +02:00
smlng
8d50048c82
drivers: fix doxygen for hd44780
2017-04-21 11:30:15 +02:00
Martine Lenders
38f383c68d
Merge pull request #6703 from OlegHahm/cppcheck_fixes
...
dist: enable cppcheck warnings for all files
2017-04-19 08:18:47 +02:00
Martine Lenders
00a13d6336
Merge pull request #6913 from smlng/drivers/jc42/corrections
...
drivers: minor doxygen corrections for JC42
2017-04-15 17:24:28 +02:00
smlng
d3e7e7de45
drivers: minor doxygen corrections for JC42
2017-04-15 11:55:10 +02:00
Oleg Hahm
5a48c27d96
hdc1000: reduce scope of variables
2017-04-14 14:36:13 +02:00
Oleg Hahm
ced57f8497
adt7310: suppress cppcheck warning
2017-04-14 14:36:13 +02:00
Martine Lenders
812c55727c
Merge pull request #6886 from smlng/driver/mag3110/rework
...
drivers: mag3110 rework
2017-04-14 02:25:16 +02:00
smlng
17e78f7d81
driver, mag3110: add saul auto init
2017-04-13 21:14:44 +02:00
smlng
36526f8a3b
driver, mag3110: add saul
2017-04-13 21:14:44 +02:00
smlng
644dbb1224
driver, mag3110: rework
2017-04-13 14:31:09 +02:00
9862768a60
drivers/mrf24j40 remove obsolete define
2017-04-13 14:27:52 +02:00
cfd10c394a
adapt to changed byteorder.h
2017-04-13 11:35:35 +02:00
dffbc70b1d
Merge pull request #6799 from dylad/adxl345_cleanup
...
drivers/adxl345: cleanup/enhancements
2017-04-11 10:34:16 +02:00
dylad
530a2ef277
drivers/adxl345: cleanup/enhancements
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-04-10 21:13:47 +02:00
26a17c2e75
drivers/io1_xplained: driver cleanup
2017-04-07 16:59:04 +02:00
c65e57b308
Merge pull request #6835 from OTAkeys/pr/lsm6dsl
...
drivers: add lsm6dsl accelerometer/gyroscope device driver
2017-04-06 15:27:51 +02:00
Vincent Dupont
f5adafd813
tests/driver_lsm6dsl: add lsm6dsl driver test app
2017-04-06 10:58:18 +02:00
Vincent Dupont
73d8149490
drivers: add lsm6dsl imu driver
2017-04-06 10:58:18 +02:00
Joakim Nohlgård
6cda6a6560
periph/cpuid: Unify implementations to a common driver for several platforms
2017-04-05 09:03:49 +02:00
Joakim Nohlgård
3d1e2aaf5b
drivers/at86rf2xx: Fix dead assignment
2017-04-02 18:13:11 +02:00
Joakim Nohlgård
64f1515a38
netdev2_ieee802154: Fix dead assignment
2017-04-02 18:13:11 +02:00
Martine Lenders
0fd85f982d
Merge pull request #6826 from smlng/doc/driver/hd44780
...
doc: fix doxygen grouping of driver hd44780
2017-03-31 22:56:41 +02:00
Loïc Dauphin
47cfe0ac66
drivers/dynamixel: initial support
2017-03-31 11:44:14 +02:00
Loïc Dauphin
281b3ca552
drivers/uart_half_duplex: debug direction management interface
2017-03-31 11:44:13 +02:00
smlng
a77ed385aa
doc: fix doxygen grouping of driver hd44780
2017-03-31 10:11:38 +02:00
Joakim Nohlgård
9313d8ec67
mtd_spi_nor: MTD interface driver for SPI NOR flash memory
...
This is a generic SPI NOR flash driver which can be used with many
different flash chips.
2017-03-29 16:52:07 +02:00
Joakim Nohlgård
8614dbfeab
drivers/lis3dh: Use SPI mode 3 for communication
2017-03-28 17:07:55 +02:00
Joakim Nohlgård
c11a196720
Merge pull request #6766 from miri64/doc/fix/hierachy
...
doc: fix doc hierarchy
2017-03-28 14:38:13 +02:00
9b3c3eaf25
Merge pull request #6787 from smlng/driver/hd44780
...
Driver: add HD44780 LCD support
2017-03-27 19:30:04 +02:00
smlng
51d89fabbb
driver, hd44780: set module dependencies
2017-03-27 16:43:50 +02:00
smlng
26ec9041a0
driver: add hd44780 lcd support
2017-03-27 16:43:50 +02:00
Loïc Dauphin
08a066a0db
drivers/feetech: initial support
2017-03-27 15:51:11 +02:00
Loïc Dauphin
ebe9b37444
drivers/uart_half_duplex: initial support
2017-03-27 15:50:43 +02:00
Cenk Gündoğan
3629796937
drivers/nrf24l01p: add function to disable crc
2017-03-22 13:39:47 +01:00
dylad
2f801bbce9
drivers/adxl345: initial implementation + SAUL adaptation
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-03-20 22:52:21 +01:00
Martine Lenders
aeccb853a5
doc: fix doc hierarchy
2017-03-20 11:59:10 +01:00
Vincent Dupont
1b2b5d9df9
Merge pull request #5624 from OTAkeys/pr/mtdi_flash
...
mtd: add a generic low level flash interface
2017-03-17 17:18:13 +01:00
Joakim Nohlgård
6d3304f52c
mtd: Add MTD VFS wrapper for use with DevFS
2017-03-16 16:45:49 +01:00
Aurelien Gonce
49ebf55b0d
mtd: add a low level generic driver for flash file system
2017-03-16 11:23:53 +01:00
119fc70075
Merge pull request #6610 from miri64/netdev2/enh/rename-to-netdev
...
netdev2: rename to netdev and remove `gnrc_netdev`
2017-03-15 11:35:19 +01:00
f97901193d
drivers/veml6070: cleanup + use saul UV index sensor type
2017-03-15 10:10:45 +01:00
9c2fc3ebc6
drivers/include/saul: add UV index sensor type
2017-03-15 10:09:56 +01:00
Martine Lenders
29842bb5e4
netdev2: rename to netdev and remove gnrc_netdev
...
With some minor hand-edits I used the following chain of commands:
```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
-e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
-e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
grep "netdev2" | while read dir; do
new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
git mv -f "$dir" "$new_dir"
done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | while read file; do
new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
git mv -f "$file" "$new_file"
done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Peter Kietzmann
db6bf02168
Merge pull request #6711 from haukepetersen/opt_doc_nrf24
...
drivers/nrf24l01: removed doxgen warnings
2017-03-13 23:39:48 +01:00
Martine Lenders
09f1fb2847
Merge pull request #6684 from OlegHahm/ng_cleanup
...
net: cleanup ng_ remnants
2017-03-11 20:09:49 +01:00
Thomas Eichinger
798557c32c
doc: drivers: fix doxygen warnings
2017-03-10 14:56:48 +01:00
Joakim Nohlgård
e021b3b3f1
drivers/nvram: Add vfs compatible functions
2017-03-07 17:59:59 +01:00
Hauke Petersen
e6db9587db
drivers/nrf24l01: removed doxgen warnings
...
- de-blacklisted nrf24l01p_settings.h from doxygen excludes
- fixed doc for that file
2017-03-07 12:19:43 +01:00
Joakim Nohlgård
d57ec0e3f2
Merge pull request #6689 from mali/fix_6631
...
doc/saul: add cross link between SAUL and SAUL registry
2017-03-03 05:54:19 +01:00
Laurent Navet
0d09d2d34b
doc/saul: add cross link between SAUL and SAUL registry
2017-03-02 22:35:50 +01:00
Oleg Hahm
0d3833a88a
net: cleanup ng_ remnants
2017-03-02 14:19:25 +01:00
65d1b77338
drivers/veml6070: initial implementation
2017-02-28 13:20:21 +01:00
Hauke Petersen
79a113d1ba
sys/drivers: renamed uuid module to luid
2017-02-27 11:01:20 +01:00
79b2fd89bb
Merge pull request #6568 from haukepetersen/opt_periph_uarttxonly
...
periph/uart: enable to run UART in TX only mode
2017-02-24 13:01:38 +01:00
Hauke Petersen
fc6b7f0575
Merge pull request #6564 from haukepetersen/opt_periph_pwmpower
...
periph/pwm: remove pwm_(start|stop) + doc
2017-02-23 10:58:44 +01:00
Hauke Petersen
5873fd7045
drivers: remove deprecated gpioint interface
2017-02-22 17:51:45 +01:00
Vincent Dupont
f4b0cccd41
Merge pull request #6607 from haukepetersen/opt_periph_errorguard
...
periph: removed broken xx_NUMOF checks
2017-02-22 16:22:16 +01:00
Oleg Hahm
4b79950656
Merge pull request #6558 from haukepetersen/opt_lpc2387_rmadc
...
cpu/lpc2387: remove (unused) legacy ADC driver
2017-02-22 11:01:04 +01:00
Hauke Petersen
419e043c1a
periph/dac: removed DAC_NUMOF check
2017-02-22 10:30:16 +01:00
Peter Kietzmann
6ef3abec5c
Merge pull request #5570 from aabadie/drivers_tsl2561
...
drivers/tsl2561: initial support
2017-02-17 10:06:46 +01:00
Martine Lenders
0858a3ea8c
Merge pull request #6618 from haukepetersen/opt_tcs37727_saulplusinit
...
drivers/tcs37727: SAUL support + misc fixes
2017-02-16 16:03:10 +01:00
Peter Kietzmann
add4b085e1
Merge pull request #6613 from miri64/xbee/doc/fix
...
xbee: fix documentation
2017-02-16 15:11:47 +01:00
Peter Kietzmann
02f03beb5c
Merge pull request #6591 from haukepetersen/rm_ltc4150
...
drivers: remove outdated ltc4150 driver
2017-02-16 15:11:12 +01:00
Hauke Petersen
470f2de771
drivers/tcs37727: SAUL support + misc fixes
...
- added default parameters file
- let init() function use param struct
- named return values
- simplified init function
- sensor now active after init was called
- simplified return values
2017-02-16 14:46:50 +01:00
Martine Lenders
1c5d8d1e9a
xbee: fix documentation
2017-02-15 15:36:55 +01:00
Hauke Petersen
021471e691
periph/uart: removed UART_NUMOF check
2017-02-15 09:45:06 +01:00
Hauke Petersen
0b5ca0e4c3
periph/adc: removed ADC_NUMOF check
2017-02-15 09:44:13 +01:00
Hauke Petersen
40d78d1c1b
drivers/kw2xrf: fix doxygen group
2017-02-14 17:28:31 +01:00
Hauke Petersen
6e6a14f449
drivers: remove outdated ltc4150 driver
2017-02-13 14:08:34 +01:00
Hauke Petersen
2bb3425d4b
s pwm.h: fixed doc
2017-02-13 09:37:31 +01:00
Hauke Petersen
8064bd9fa9
periph/pwm: remove pwm_(start|stop) + doc
...
- joined start/stop and poweron/poweroff
- added general documentation
2017-02-13 09:37:31 +01:00
Hauke Petersen
18fe26a5c8
periph/uart: documented TX only mode
2017-02-09 10:42:52 +01:00
Martine Lenders
5b026c5753
netdev2: unify doc
2017-02-07 21:37:52 +01:00
Martine Lenders
fa4c9b9111
Merge pull request #6559 from haukepetersen/fix_drivers_doxygengroups
...
drivers: fixed doxygen groups
2017-02-07 21:34:52 +01:00
Marc Poulhiès
dcff98ef56
drivers/include/periph/spi: Typo fix
...
Fix typo in inline doc.
2017-02-07 16:59:33 +01:00
Peter Kietzmann
5bf4882592
Merge pull request #6453 from smlng/pr/5469-bis
...
drivers/kw2xrf: adapt to netdev2
2017-02-07 15:58:54 +01:00
PeterKietzmann
e617d74fa8
drivers/kw2xrf: update default params on init
2017-02-07 15:08:14 +01:00
smlng
432b03e99e
drivers/kw2xrf: cleanup
...
- use generic short and long address generator
- defines in main header file
- refine debug output
- correct signed/unsigned warnings
2017-02-07 15:08:14 +01:00
smlng
887f499eca
drivers/kw2xrf: adapt to new SPI interface
...
- add docu for structs, defines and functions
- exclude drivers/kw2xrf/include/overwrites.h (vendor header)
- add missing header guards
2017-02-07 15:08:05 +01:00
Johann Fischer
cf32ff7f19
drivers/kw2xrf: adapt for the netdev2 interface
...
Adapt the kw2xrf driver for the netdev2 interface.
This patch also adds overwrites.h, the header provides overwrite
values for the kw2xrf PHY.
2017-02-07 15:07:33 +01:00
Hauke Petersen
2f9e3c89e1
periph/hwrng: use void* buf for hwrng_read()
2017-02-07 13:20:39 +01:00
Peter Kietzmann
4403cc931a
Merge pull request #6523 from haukepetersen/opt_dht_autoinit
...
drivers/dht: updated auto-init + some enhancements
2017-02-07 11:57:10 +01:00
Hauke Petersen
544c590d5b
drivers: fixed doxygen groups
2017-02-07 11:16:38 +01:00
Hauke Petersen
1dd806bb28
cpu/lpc2387: remove (unused) legacy ADC driver
2017-02-07 10:56:33 +01:00
Martine Lenders
2ef1f2e8f7
Merge pull request #6521 from haukepetersen/rm_lpc_i2clma
...
cpu/drivers: remove deprecated lm75a+lpc2387 I2C drivers
2017-02-07 10:27:26 +01:00
Hauke Petersen
3afc3eb10b
drivers/dht: updated auto-init + some enhancements
...
- unified auto-init to use same style as other SAUl devices
- make use of named return values
- added some asserts
2017-02-07 09:59:23 +01:00
martinheusmann
9d199d5d09
isl29125: added interrupt configuration register
2017-02-02 13:31:33 +01:00
Joakim Nohlgård
9a3589dcfe
Merge pull request #6479 from haukepetersen/fix_lis3dh_mulle
...
drivers/lis3dh: fixed bug and simplified init()
2017-01-31 19:48:52 +01:00
25ce12f3ef
drivers/tsl2561: initial implementation + saul support
2017-01-31 17:49:16 +01:00
Hauke Petersen
34d1064a00
drivers: remove utterly outdated lm75a driver
2017-01-30 16:14:18 +01:00
Marc Poulhiès
56bd36b55b
spi: doc typo
2017-01-30 13:26:01 +01:00
Hauke Petersen
1ae0ad2509
drivers/pn532: adapted to SPI interface changes
2017-01-27 08:30:02 +01:00
Peter Kietzmann
9fe776320d
Merge pull request #6277 from bergzand/mrf24j40
...
drivers/mrf24j40: Add mrf24j40 radio support
2017-01-26 15:28:31 +01:00
7178d6d002
drivers: encx24j600: misc compilation fixes
2017-01-26 10:56:59 +01:00
Hauke Petersen
ed2bb9d3f8
drivers/lis3dh: fixed bug and simplified init()
...
- changed to SPI_MODE_0
- made init() function use the params struct as parameter
2017-01-26 10:12:44 +01:00
672da2c457
drivers/mrf24j40: initial mrf24j40 support
2017-01-26 10:05:20 +01:00
Hauke Petersen
5bdb3bfa61
misc: aggregated doxygen fixes
2017-01-25 16:46:46 +01:00
Hauke Petersen
24ceb954ea
drivers/sdcard_spi: adapted to SPI interface changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
4bfce892d3
drivers/periph&cpu: add and use common periph_init()
2017-01-25 16:46:46 +01:00
Hauke Petersen
5a26037702
drivers/pcd8544: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
8ff20d1386
drivers/nvram_spi: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
ac482fd3e2
drivers/w5100: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
5cb10ca9ea
drivers/nrf24l01: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
3d80b9c581
drivers/lis3dh: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
e5ab3c2020
drivers/kw2xrf: adpated to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
87534c75f0
drivers/encx24j600: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
dc3e78d521
drivers/end28j60: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
5639b1d52f
drivers/cc2420: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
8799b3ab9e
drivers/cc110x: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
236f1edddd
drivers/at86rf2xx: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
610e671aac
drivers/adt7310: adapted to SPI API changes
2017-01-25 16:46:45 +01:00
Hauke Petersen
96fe0fd63e
drivers/periph_common: reworked SPI driver parts
2017-01-25 16:46:04 +01:00
Hauke Petersen
37e0482e35
drivers/periph: remodeled SPI driver interface
2017-01-25 16:46:04 +01:00
Francisco Acosta
e44236d379
Merge pull request #6170 from haukepetersen/add_periph_romaddrtopage
...
drivers/flashrom: added addr-to-page function
2017-01-24 14:18:41 +01:00
Hauke Petersen
5d8f686cf6
Merge pull request #6031 from MichelRottleuthner/sdcard_spi_testing
...
add driver for sd-cards (using spi)
2017-01-24 14:18:11 +01:00
d1db946188
Merge pull request #6344 from haukepetersen/opt_pm_misc
...
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Hauke Petersen
af1e492552
drivers/flashpage: added addr-to-page function
2017-01-24 09:41:56 +01:00
smlng
80a44ddfcc
drivers/cc110x: add xtimer as module dependency
2017-01-23 14:01:32 +01:00
Peter Kietzmann
72aa1569f9
Merge pull request #6231 from haukepetersen/rm_devenums_pwm
...
drivers/pwm: removed deprecated PWM_x defines
2017-01-23 10:12:11 +01:00
Kees Bakker
a0a76d66d2
drivers: Add driver for BME280
2017-01-20 20:26:43 +01:00
Michel Rottleuthner
ac2ae7cb56
drivers: added driver for accessing sd_cards over spi
2017-01-20 18:11:26 +01:00
kYc0o
ee741a4296
drivers/xbee: add UL to constants for 8 and 16 bit compatibility
2017-01-20 14:22:19 +01:00
Oleg Hahm
3c6678b037
*: fix mismatching endifs for header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Peter Kietzmann
f119a2e77b
Merge pull request #4419 from thomaseichinger/pr/min_invasive
...
drivers/at86rf2xx: code size optimisations
2017-01-19 17:48:24 +01:00
Oleg Hahm
693636690c
Merge pull request #6399 from OlegHahm/timex_constants
...
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
Thomas Eichinger
467b255c03
drivers/at86rf2xx: code size optimizations
...
These changes try to reduce code size of the at86rf2xx
driver by reducing code duplication and simplification.
2017-01-19 08:04:08 -08:00
Martine Lenders
7599a81fd6
Merge pull request #6314 from haukepetersen/add_uuid
...
sys: add uuid module for central ID/addr generation
2017-01-19 14:12:09 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Peter Kietzmann
b92ce8ae2a
Merge pull request #6369 from OlegHahm/at86rf2xx_rssi_base_value
...
at86rf2xx: different types have RSSI base values
2017-01-19 11:44:41 +01:00
Hauke Petersen
88636b6919
drivers/cc2420: use uuid module for addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
84246d1687
drivers/cc110x: use uuid module for addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
4105011867
drivers/enc28j60: used uuid module for addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
81e8afd19e
drivers/at86rf2xx: use uuid module for addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
8624456efe
drivers/w5100: use uuid_get() for HW addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
55c4477038
periph/pm: minor doc clarification
2017-01-19 11:07:59 +01:00
Peter Kietzmann
616d35e96f
Merge pull request #6153 from haukepetersen/opt_driver_mma8x5x
...
drivers/mma8x5x: remodeled driver
2017-01-19 09:56:31 +01:00
Oleg Hahm
c04c5cb9f9
at86rf2xx: different types have RSSI base values
2017-01-18 23:20:21 +01:00
Oleg Hahm
80d3176499
Merge pull request #6355 from OlegHahm/at86rf2xx_ext_nocca
...
at86rf2xx: remove CCA check
2017-01-18 23:13:57 +01:00
Hauke Petersen
a35709b4f8
Merge pull request #6360 from OlegHahm/periph_timer_remove_irq
...
periph timer: remove timer_irq_(en|dis)able
2017-01-18 22:58:21 +01:00
Hauke Petersen
c95abbe45a
drivers/lsm303dlhc: added default params.h file
2017-01-18 15:34:29 +01:00
Hauke Petersen
e53c4ed515
drivers/lps331ap: added default params.h file
2017-01-18 15:34:02 +01:00
Hauke Petersen
4c505d5270
drivers/l3g4200d: added default params.h file
2017-01-18 15:33:39 +01:00
Hauke Petersen
81d27683c2
drivers/isl29020: added default params.h file
2017-01-18 15:33:20 +01:00
Hauke Petersen
c37de8de4c
drivers/lis3dh: added default params.h file
2017-01-18 15:32:57 +01:00
Hauke Petersen
cf507c4f07
drivers/mma8x5x: remodeld driver
...
- renambed to mma8x5x to reflect the versatility
- cleaned up the interface
- fixed value computation for non 12-bit devices of the family
- added default configuration with mma8x5x_params.h
2017-01-18 10:51:15 +01:00
Hauke Petersen
3f259eaaf9
drivers/pwm: removed deprecated PWM_x defines
2017-01-18 10:11:50 +01:00
Peter Kietzmann
322de6627f
Merge pull request #6373 from miri64/cc110x/fix/proto-only-for-gnrc_netif
...
cc110x: only handle NETOPT_PROTO if gnrc_netif module is present
2017-01-18 10:04:24 +01:00
Peter Kietzmann
6ac2ec1b83
Merge pull request #6385 from haukepetersen/opt_drivers_saulconfigmove
...
drivers: move SAUL config to _params.h + minor fixes
2017-01-18 09:01:52 +01:00
Peter Kietzmann
7c252eddae
Merge pull request #4642 from haukepetersen/opt_hdc1000
...
drivers/hdc1000: remodeled driver + SAUL integration
2017-01-17 16:02:03 +01:00
Hauke Petersen
5f30c7a593
drivers/si70xx: check connection during init()
2017-01-17 11:48:41 +01:00
Hauke Petersen
9ad5d48065
drivers/si70xx: move SAUL config to params.h
2017-01-17 11:35:24 +01:00
Hauke Petersen
13942225eb
drivers/jc42: move SAUL config to params.h
2017-01-17 11:34:55 +01:00
Hauke Petersen
232b8eb2a5
drivers/bmp180: move SAUL config to params.h
2017-01-17 11:34:16 +01:00
Hauke Petersen
976cf30281
drivers/hdc1000: remodeled driver
...
- cleaned up interface
- made read functions return phyical values
- made resolution configurable at initialization time
- added default parameter configuration file
- added SAUL support for the driver
2017-01-17 10:48:22 +01:00
Martine Lenders
456ae68fbe
Merge pull request #6340 from gebart/pr/warn-fixes
...
sys+cpu: Some warning fixes
2017-01-16 17:18:29 +01:00
Hauke Petersen
296ca11a23
drivers/periph: removed GPIO from dev_enums.h
2017-01-16 09:31:24 +01:00
Joakim Nohlgård
a08a70a3fa
drivers/at86rf2xx: Fix -Wsign-compare warning, add missing parentheses
2017-01-16 08:55:08 +01:00
Martine Lenders
7f7f08bf50
cc110x: only handle NETOPT_PROTO if gnrc_netif module is present
...
The cc110x_t::proto field is only present when the `gnrc_netif` module
is present. Handling its corresponding `NETOPT_PROTO` value leads to a
compile error when trying to compile without GNRC.
2017-01-15 20:36:53 +01:00
Oleg Hahm
3999d08f8c
Merge pull request #6363 from LudwigKnuepfer/pr/fix-pn532-doxygengroup
...
doc: drivers/pn532: add missing ingroup
2017-01-15 15:54:34 +01:00
03d0f138b4
drivers/jc42 fix temperature parameter signedness
2017-01-15 13:10:37 +01:00
ad874fb694
drivers/jc42: Add i2c periph requirement
2017-01-15 13:10:37 +01:00
9a55556644
Removes not needed includes
2017-01-15 13:10:37 +01:00
3545073f49
drivers/jc42: More formatting fixes
2017-01-15 13:10:37 +01:00
01092dd7ca
drivers/jc42 Minor formatting
2017-01-15 13:10:36 +01:00
0f22e13ccb
drivers/jc42: Add JEDEC JC42.4 temperature sensors
...
This patch adds a driver for the jc42 compatible
temperature sensors. All sensors compatible with
jc42.4 should work. Examples include the mcp9808
and more.
2017-01-15 13:10:36 +01:00
Ludwig Knüpfer
ced11d5744
doc: drivers/pn532: add missing ingroup
2017-01-14 19:49:26 +01:00
Oleg Hahm
d0316fa7ae
periph timer: remove timer_irq_(en|dis)able
2017-01-14 15:34:53 +01:00
Oleg Hahm
7068869b42
at86rf2xx: remove CCA check
...
Rationale: the datasheet states that "It is not recommended to manually
initiate an CCA measurement when using the Extended Operating Mode."
Since the driver for now only supports the extended operating mode, it
should not provide this feature.
2017-01-14 11:27:09 +01:00
Peter Kietzmann
9d44d6b09e
Merge pull request #5573 from lebrush/pn532
...
Implementation of PN532 NFC reader
2017-01-14 10:21:25 +01:00
Peter Kietzmann
4f02c4d9c4
Merge pull request #6284 from aabadie/fix_si70xx_saul
...
drivers/si70xx: fix saul auto initialization
2017-01-13 16:21:52 +01:00
Victor Arino
d8d8d55e72
drivers/pn532: add NFC reader PN532 driver
2017-01-13 14:47:19 +01:00
Hauke Petersen
6270283033
Merge pull request #6160 from kaspar030/introduce_new_power_management
...
Introduce new power management
2017-01-12 17:31:49 +01:00
Peter Kietzmann
96817f406f
Merge pull request #6322 from aabadie/bmp180_cleanup
...
drivers/bmp180: saul driver cleanup
2017-01-12 14:54:12 +01:00
6150e2753a
drivers: periph: pm: introduce new power management API
2017-01-12 11:24:15 +01:00
Francisco Acosta
b05d0b2748
Merge pull request #5870 from PeterKietzmann/boards_z1_driver_init
...
drivers/cc2420: improve z1 init and send routine
2017-01-11 15:17:26 +01:00
47b83b7412
drivers/bmp180: saul driver cleanup
2017-01-11 09:24:40 +01:00
48ea21447b
drivers/si70xx: fix saul auto initialization
2017-01-11 09:14:28 +01:00
Peter Kietzmann
a8297595e6
Merge pull request #6108 from haukepetersen/opt_nrf_nrfmin
...
cpu/nrf5x: ported nrfmin driver to netdev2
2017-01-10 16:52:54 +01:00
Francisco Acosta
865d4c0e87
Merge pull request #6235 from haukepetersen/opt_driver_xbee
...
drivers/xbee: ported to netdev2
2017-01-10 14:31:01 +01:00
Hauke Petersen
36317c56f3
cpu/nrf51: ported nrmin radio driver to netdev2
2017-01-10 11:54:16 +01:00
Hauke Petersen
83d206e2b0
drivers/xbee: adapted to netdev2
2017-01-10 11:47:31 +01:00
Hauke Petersen
47f245a13d
drivers/at86rf2xx: fix buffer-less SPI transfer
2017-01-09 17:47:37 +01:00
Hauke Petersen
ae1bf7e493
Merge pull request #6200 from kaspar030/refactor_synchronous_uart
...
sys: refactor synchronous uart
2016-12-19 09:44:40 +01:00
Francisco Acosta
22322214c5
Merge pull request #6193 from aabadie/bmp180_saul
...
drivers/bmp180: move bmp180 driver to saul auto init using the correct way
2016-12-16 17:05:39 +01:00
26835f4f2c
drivers/bmp180: move bmp180 to saul auto init the correct way
2016-12-16 15:24:34 +01:00
9dea130a9e
drivers: ethos: make use of isrpipe module
2016-12-16 09:48:09 +01:00
Hauke Petersen
6ab089e63e
drivers/pwm: remove PWM_NUMOF guard
...
as we do not build the periph drivers selectable currently,
the guard is triggered even for boards that do not have any
PWM defined and don't want to use it...
2016-12-15 12:18:39 +01:00
Hauke Petersen
41f453066c
drivers: added interface for writing flash pages
2016-11-30 16:51:09 +01:00
Francisco Acosta
84d0d61279
Merge pull request #5608 from gebart/pr/xtimer-ticks
...
xtimer: Allow arbitrary timer frequency, second attempt
2016-11-29 23:00:31 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
Peter Kietzmann
e547ff1d60
Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
...
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
PeterKietzmann
6d4011a325
drivers/cc2420:improve send performance
2016-11-29 09:03:23 +01:00
Joakim Nohlgård
63e91151cd
xtimer: Add tick conversion
2016-11-28 11:00:42 +01:00
Martine Lenders
32c19d63e3
netdev2: make doc for driver more precise
...
When working on #6121 I noticed that the documentation of the `netdev2`
driver part is not really precise. This fixes that.
2016-11-22 14:57:26 +01:00
Peter Kietzmann
9c7d9eb06f
Merge pull request #6141 from haukepetersen/opt_bh1750fvi_namedreturnvalues
...
drivers/bh1750fvi: added names to return values
2016-11-21 08:23:24 +01:00
Peter Kietzmann
711415360f
Merge pull request #5433 from OTAkeys/pr/mma8x5x
...
mma8652: add support for all mma8x5x accelerometers
2016-11-18 09:02:42 +01:00
Hauke Petersen
40116c7c66
drivers/bh1750fvi: added names to return values
2016-11-17 22:57:56 +01:00
Hauke Petersen
efb7e8a3ba
drivers/w5100: set src addr to known state
2016-11-16 17:46:04 +01:00
Vincent Dupont
b9b838f1dc
mma8652: add support for all mma8x5x accelerometers
2016-11-16 14:14:07 +01:00
Hauke Petersen
bf9f1268f2
drivers/w5100: adapted to netdev2 API changes
2016-11-16 09:50:36 +01:00
Thomas Eichinger
103c426cdc
drivers/cc2420: calculate CRC and check CRC_OK bit on packet reception
...
First start calculating the CRC in hardware when receiving a frame.
Then, other than the at86rf2xx transceivers the cc2420 don't consider the
CRC_OK flag when reporting a successful packet reception. This change
introduces a check for this bit and drops the packet else by flushing
the RX FIFO.
2016-11-08 23:28:09 -08:00
Thomas Eichinger
b57ce103a3
drivers/cc2420: adapt FIFO access to recent msp430 SPI changes
...
When redoing the SPI driver for the msp430 platforms an assert
statement was introduced to prohibit SPI access without any
buffers. Since in the existing code the FIFO pointer is incremented
through a dummy read this results in triggering aforementioned
assert.
2016-11-07 11:09:45 -08:00
Thomas Eichinger
66db33b662
drivers/at86rf2xx: prevent a possible race condition after state change
...
It was pointed out that after a state change to RX_AACK_ON reading back
the state to confirm the transition can fail due to an imidiate change
into BUSY_RX_AACK between the successful change on the transceiver and
querying the state.
For this we exclude the readback of the state for transitions to
RX_AACK_ON.
2016-11-04 09:52:35 -07:00
Thomas Eichinger
4ebbda844c
drivers/at86rf2xx: improve precondition checks on state transition
...
The rational behind this change is the following:
If the transceiver is in any *_BUSY state when `at86rf2xx_set_state()`
gets called this would bypass the `(state == old_state)` check and
unneeded state transitions could be triggered.
2016-11-01 07:16:19 -07:00
Hauke Petersen
52fdf4c886
drivers/xbee: use named UART return values
2016-10-28 10:32:00 +02:00
Hauke Petersen
314549059c
periph/uart: added names for return values
2016-10-28 10:31:59 +02:00
Martine Lenders
9e97b0a028
Merge pull request #5977 from miri64/ieee802154/enh/centralize-default-values
...
ieee802154: centralize default values
2016-10-26 16:39:44 +02:00
Martine Lenders
eb4ec4b35f
Merge pull request #5961 from yschroeder/pullreq/at86rf2xx_compile_fix
...
at86rf2xx: fix warnings when building with -Wextra -pedantic
2016-10-26 15:59:59 +02:00
Martine Lenders
20e1fce5b7
ieee802154: centralize default values
2016-10-26 15:32:12 +02:00
Hauke Petersen
d7dbac7c61
drivers: added driver for W5100 Ethernet chips
2016-10-26 08:36:58 +02:00
Hauke Petersen
a3d1b5f839
drivers: added driver for LPD8808 LED strips
2016-10-25 18:32:52 +02:00
smlng
68c30b30e5
at86rf2xx: move netstat increment after possible error return
2016-10-21 21:57:32 +02:00
Yannic Schröder
c7d73e24c1
at86rf2xx: fix warnings when building with -Wextra -pedantic
2016-10-18 10:21:54 +02:00
Hauke Petersen
08610ee84f
drivers/periph_common: added spi_transfer_byte()
2016-10-17 16:58:26 +02:00
Kees Bakker
bac5cda1e3
periph/i2c: convert char to uint8_t where applicapable
...
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.
Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Martine Lenders
15c4ceae04
netdev2_ieee802154: cleanup flag definitions
2016-09-30 13:09:27 +02:00
Martine Lenders
9f29e56020
netdev2_ieee802154: remove NETDEV2_IEEE802154_PAN_COMP flag
2016-09-30 13:09:26 +02:00
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +02:00
smlng
fc9e1d9024
kw2xrf: set tx_power in gnrc_netdev_t
...
without this patch, tx_power is directly set on the device but not in
gnrc_netdev_t. Thus, calling ifconfig in shell shows tx_power always
at 0dBm, never showing the correct, current value. Additionally, it
verifies that given tx_power to be set is in valid range.
2016-09-16 10:52:53 +02:00
add6e1d36d
Merge pull request #5674 from aabadie/driver_io1_xplained
...
drivers/io1_xplained: initial implementation of Atmel IO1 Xplained extension board
2016-09-16 10:35:49 +02:00
Martine Lenders
5552b92023
Merge pull request #5831 from mali/timer
...
drivers/timer: fix copy/paste error
2016-09-08 22:22:38 +02:00
Laurent Navet
f30c4ade2c
drivers/timer: fix copy/paste error
2016-09-07 21:59:25 +02:00
Martine Lenders
e04933b2b5
Merge pull request #5808 from makomi/dht
...
drivers/dht: fix variableScope (cppcheck)
2016-09-05 09:53:06 +02:00
Matthias Kolja Miehl
3733bb7c14
drivers/dht: fix variableScope
2016-09-05 02:15:51 +02:00
Martine Lenders
0b59372eb0
at86rf2xx: document operation mode concerns for
2016-09-02 22:48:47 +02:00
3aa1ffb5fb
drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init
2016-09-02 10:42:09 +02:00
Mathias Tausig
48083a7c10
at86rf2xx: Add at86rf2xx_get_random to at86rf2xx_internal
...
Works for at86rf233 and at86rf231 chips
2016-09-02 09:54:39 +02:00
Matthias Kolja Miehl
75ab341089
drivers: mag3110: fix typo in header description
2016-08-20 02:28:09 +02:00
Martine Lenders
cf11a0dab7
Merge pull request #5485 from jfischer-phytec-iot/pr@add-opt-netdev
...
add testmode and cca mode option to netdev
2016-08-05 15:51:56 +02:00
Martine Lenders
bd2429f299
cpu: drivers: adapt devices for netdev2 parameter type change
2016-08-03 12:30:51 +02:00
Martine Lenders
e710164f09
netdev2: function parameter type changes
...
`len` and `count` are both values that should never go `< 0`, so instead of
having to test this (in theory) every time the function is called (regardless
of by assert or if its unnecessary code), I propose to change it to `size_t`.
As a bonus I made the type of recv's buf parameter generic - no reason for it to
be a char and it might lead to unnecessary static casting requirements
2016-08-03 09:51:18 +02:00
Joakim Nohlgård
bc9e5b218b
periph/gpio: Clean up Doxygen text
2016-07-30 08:06:19 +02:00
Johann Fischer
14f0d1ce89
netopt.h: add new options to set the CCA and test modes
...
This patch adds two new options to netopt. NETOPT_CCA_MODE to set
the CCA mode corresponding to the respective PHY standard and
NETOPT_RF_TESTMODE to set the test mode for the radio.
2016-07-27 00:15:27 +02:00
20cb96f4df
drivers: add dependency to xtimer to bmp180
2016-07-25 15:32:09 +02:00
847e6c6494
drivers/bmp180: add a delay before accessing calibration registers
2016-07-25 15:30:39 +02:00
d3fb1d9883
drivers/bmp180: implementation cleanup
2016-07-25 11:52:15 +02:00
Bas Stottelaar
0902ccb2e0
drivers: si70xx: adapt for SAUL
2016-07-22 18:22:13 +02:00
c239ec351a
Merge pull request #5666 from aabadie/bmp180_deps
...
drivers/bmp180: add dependency to periph_i2c
2016-07-22 09:47:28 +02:00
144ab431e7
drivers/bmp180: add dependency to periph_i2c
2016-07-20 10:47:05 +02:00
Bas Stottelaar
bcd73105bd
drivers: l3g4200d: fix saul doxygen group
2016-07-19 23:50:04 +02:00
kYc0o
91410f5259
Merge pull request #5626 from aabadie/default_channel
...
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-18 14:26:24 +02:00
Oleg Hahm
29fd3a1098
Merge pull request #5641 from lebrush/encx24j600-fixes
...
drivers/encx24j600: minor fixes
2016-07-18 08:38:28 +02:00
271cbc26b8
drivers/cc2420 & cpu/cc2538: adding support for default channel configuration
2016-07-14 17:50:50 +02:00
87ca058417
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-14 17:44:42 +02:00
75168936f6
drivers/cc110x: fix typo in macro definition.
2016-07-14 17:22:03 +02:00
Victor Arino
50eee7fa8a
drivers/encx24j600: minor fixes
2016-07-14 16:44:39 +02:00
f0640ee4d8
Update lsm303dlhc.c
2016-07-13 11:30:42 +02:00
Joakim Nohlgård
4798cd66d9
drivers/nvram: Add const to write source buffer declaration
2016-07-12 08:03:16 +02:00
kYc0o
374f4a1981
drivers/include: add cc2420 doxygen doc
2016-07-06 20:23:23 +02:00
kYc0o
62d8b9a268
drivers/cc2420: factorise/reorganise overall code
2016-07-06 20:23:23 +02:00
Hauke Petersen
abc6b5ccdf
drivers: added support for CC2420 radio
2016-07-06 18:14:48 +02:00
Michel Rottleuthner
822007fa67
drivers/dht: fix fake parsing error with DHT22
2016-07-05 15:10:49 +02:00
Andreas "Paul" Pauli
87cb266a1b
Merge pull request #5437 from miri64/doc/enh/netdev-rx-fig
...
doc: add operational flow figure for netdev
2016-06-16 19:33:37 +02:00
Martine Lenders
af2e169db1
netdev2: doc: update doc text for operational flow figure
2016-06-15 23:26:23 +02:00
Laurent Navet
96ebff9174
drivers/uart: fix typos
2016-06-14 22:54:25 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
3ad195963d
drivers: netdev2: rename isr_arg
2016-06-02 11:11:40 +02:00
d7b17684e4
drivers: net: adapt to removed event_callback argument
2016-06-02 11:11:40 +02:00
82243b86fc
drivers: netdev2: remove extra event_callback argument
2016-06-02 11:11:40 +02:00
4a595d7b19
drivers/bmp180: add saul adaptation
2016-06-01 11:15:01 +02:00
Aaron Sowry
63a87fb639
Implement NETOPT_ACK_REQ configuration option.
...
Allows setting the acknowledgement request bit of 802.15.14
headers via netdev.
2016-06-01 10:11:28 +12:00
PeterKietzmann
ed470e11f8
drivers/kw2xrf: improve default short address
2016-05-31 13:12:57 +02:00
Joakim Nohlgård
407e10d5b3
drivers/si70xx: Use Doxygen group drivers_sensors
2016-05-26 12:53:51 +02:00
Joakim Nohlgård
e215c9270e
drivers/lis3mdl: Change doxygen grouping to sensor drivers
2016-05-26 12:47:42 +02:00
Peter Kietzmann
e08733d2d1
Merge pull request #5234 from thomaseichinger/pr/phr_length_mask
...
drivers/at86rf2xx: mask frame length according to data sheet
2016-05-20 15:14:55 +02:00
Thomas Eichinger
5a45c31bcb
drivers/at86rf2xx: remove unused functions
...
These two functions are not used anymore and can be omitted.
2016-05-20 15:05:27 +02:00
Peter Kietzmann
e55c8394ae
Merge pull request #5327 from authmillenon/netdev2_ieee802154/enh/assert-instead
...
netdev2_ieee802154: replace overflow checks with asserts
2016-05-18 12:04:00 +02:00
Oleg Hahm
814be0655f
doc: minor fixes of typos in periph documentation
2016-05-03 23:37:22 +02:00
Oleg Hahm
e110d412a3
at86rf2xx_netdev: debug output is wrong
2016-04-28 11:35:13 +02:00
Yonezawa-T2
3e70191aee
Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
...
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Martine Lenders
315dea3e7c
netdev2_ieee802154: replace overflow checks with asserts
2016-04-21 00:45:50 +02:00
Francesco Ermini
9fa4684203
drivers/xbee: encryption support
...
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix sc_netif.c
fix rebase master interactive
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix rebase conflict 4
fix same missing in patches changes
fix ascii to hex index parser
fix syntax rules
fix syntax issue 2
add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY
fix trailng white spaces
2016-04-20 17:43:09 +02:00
Martine Lenders
cedf7d8455
Merge pull request #5227 from authmillenon/at86rf2xx/fix/set
...
at86rf2xx: fix option setting
2016-04-20 17:33:44 +02:00
Martine Lenders
0fa5b81e6a
netdev2_ieee802154: fix channel setting
2016-04-20 16:35:30 +02:00
Martine Lenders
7b78775185
at86rf2xx: fix option setting
2016-04-20 16:35:29 +02:00
kYc0o
724276e913
Merge pull request #4734 from Yonezawa-T2/xbee_resp_timeout
...
xbee: add timeout for AT command response (fixes #4731 )
2016-04-19 13:34:21 +02:00
Yonezawa-T2
4042239b04
xbee: add timeout for AT command response ( fixes #4731 )
2016-04-19 11:19:25 +09:00
Yonezawa-T2
eb7cc30494
xbee: enriched debug output
2016-04-19 11:17:13 +09:00
Yonezawa-T2
15ecee46ee
xbee: add packet filtering to emulate non-transitive network.
...
When debugging multihop wireless network, it is useful to emulate non-transitive
network, that is, node A can communicate with B and B can communicate with C,
but A cannot communicate with C directly.
If `XBEE_DENIED_ADDRESSES`, which is an array of XBee long addresses, is
defined, packets from those addresses are dropped silently.
Example:
CFLAGS += "-DXBEE_DENIED_ADDRESSES={ 0x02, 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0x02, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 }"
2016-04-19 11:17:13 +09:00
Yonezawa-T2
a6ae7c8091
xbee: fixed that _set_addr
destructed given address.
...
`_set_addr` is called from `xbee_init` with lower bytes of the long address.
If `_set_addr` destructs the given address, the long address is also destructed.
2016-04-19 11:17:13 +09:00
Yonezawa-T2
66dd84eff2
xbee: disable short address when the address length is set to 8
...
XBee sends short address even for `API_ID_TX_LONG_ADDR` if short address is
enabled. This results in check sum error of ICMPv6 since the IP address is
computed based on long address on the sender side while it is computed based on
short address on the receiver side.
2016-04-19 11:17:13 +09:00
Yonezawa-T2
67c3ab8fdd
xbee: changed default channel from 0x1A to 0x17 to support XBee-PRO
...
XBee supports channels 0x0B-0x1A while XBee-PRO supports only 0x0C-0x17.
2016-04-19 11:17:12 +09:00
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