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

1309 Commits

Author SHA1 Message Date
smlng
946256d26f saul: use const for device parameter 2017-06-26 20:25:37 +02:00
Thomas Eichinger
c76fdf567d Merge pull request #7115 from DipSwitch/pr/fix/at86rf2xx_setstate
driver/at86rf2xx: Fix possible race condition in at86rf2xx_configure
2017-06-26 08:51:23 -07:00
smlng
5fa123c8a2 drivers, jc42: fix constness in jc42_init 2017-06-26 16:22:34 +02:00
e4cc780f71 Merge pull request #7243 from smlng/drivers/adxl345/fix_const
drivers, adxl345: fix constness in adxl345_init
2017-06-26 16:12:07 +02:00
smlng
8664ca3cba drivers, adxl345: fix constness in adxl345_init 2017-06-26 16:03:47 +02:00
067231936f Merge pull request #5793 from OTAkeys/pr/can_stack
can: add a CAN stack for RIOT
2017-06-26 16:02:35 +02:00
Hauke Petersen
3ec75635ba drivers/gpio: improved doc for gpio_init() 2017-06-26 13:39:28 +02:00
Martine Lenders
9d3f9f2589 Merge pull request #6402 from OTAkeys/pr/adcxx1c
drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support
2017-06-26 10:39:02 +02:00
smlng
12f12a34e4 drivers/adcxx1c: use generic device name for SAUL 2017-06-26 09:46:09 +02:00
smlng
f1f80c0098 drivers/adcxx1c: use pseudomodules for device variants 2017-06-26 09:46:09 +02:00
Vincent Dupont
35056fd647 drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support 2017-06-26 09:46:03 +02:00
DipSwitch
cbbc44efad driver/at86rf2xx: fix possible race condition in state machine 2017-06-24 21:43:05 +02:00
Sebastian Meiling
1014663d34 Merge pull request #7213 from aabadie/const_drivers_pointer
drivers: partial use of constness when accessing device descriptor
2017-06-22 16:37:29 +02:00
317716419c drivers: use const device descriptor 2017-06-21 17:05:45 +02:00
d9ea159255 drivers: remove useless saul name suffix 2017-06-21 15:06:53 +02:00
74d0c3b67a Merge pull request #7166 from kaspar030/add_mma8x5x_int_support
drivers: mma8x5x: add motion detection support
2017-06-21 13:00:46 +02:00
fbb8f478db Merge pull request #7194 from smlng/enh/driver/bmp180/saul_scale
driver,bmp180: adapt SAUL scale to read pressure in hectoPascal (hPA)
2017-06-21 12:52:46 +02:00
Vincent Dupont
8905199135 can_trx: add CAN transceiver interface 2017-06-19 15:36:20 +02:00
Vincent Dupont
5469ba1d49 can: add CAN stack
The CAN stack support only raw CAN at this time.
It contains a device interface (drivers/include/can/candev.h) and the data link
layer, build around can/device.c can/pkt.c and can/router.c. can/dll.c contains
the upper level and lower level interface to send and receive CAN frames.
Upper layer interface is located in include/can/raw.h
2017-06-19 15:35:26 +02:00
c78e8cbd27 drivers: mma8x5x: add motion detection interrupt support 2017-06-17 00:29:11 +02:00
Francisco Acosta
468f12f87d Merge pull request #6899 from bergzand/drivers/mrf24j40-remdefine
drivers/mrf24j40 remove obsolete RSSI_BASE_VALUE define
2017-06-15 16:57:45 +02:00
smlng
26c8338a04 driver,bmp180: adapt SAUL scale to read pressure in hectoPascal (hPA) 2017-06-15 11:24:02 +02:00
92147cf269 Merge pull request #7168 from smlng/driver/tmp006/rework
driver: tmp006 rework
2017-06-14 23:10:45 +02:00
smlng
054c002960 saul: add support for tmp006 2017-06-14 20:45:01 +02:00
smlng
42a09128aa drivers: rework tmp006 2017-06-14 20:44:59 +02:00
0e6e3b368b drivers/bmp180: driver cleanup 2017-06-14 09:48:20 +02:00
smlng
a7b049f98a drivers: coding style, use {} for empty while loops 2017-06-11 20:08:10 +02:00
Cenk Gündoğan
bc18105e2f Merge pull request #7142 from smlng/enh/doc/drivers/periph
Doc: several improvements on docu of common periph interfaces
2017-06-08 13:20:14 +02:00
Hauke Petersen
2b855a673d drivers/sdcard_spi: remove xtimer_init 2017-06-06 16:36:02 +02:00
smlng
15f8703f01 doc: use markdown sections, adapt pwm.h 2017-06-06 16:07:51 +02:00
smlng
756e3d95fb doc: make detailed description of flashpage interface more visibile 2017-06-06 16:05:52 +02:00
smlng
236c6cb013 doc: enhance doxygen doc of PM module 2017-06-06 16:05:52 +02:00
smlng
ab6cb269ed doc: fix UART doxygen docu
- move detailed description to be visible on respective module page
    - see and compare other periph interfaces, i.e., GPIO, PWM ...
2017-06-06 16:05:52 +02:00
smlng
f5cd3a4496 doc: reorganize and enhance docu on common I2C periph interface 2017-06-06 16:05:47 +02:00
Martine Lenders
99327c7c04 Merge pull request #7137 from smlng/driver/encx24j600/fix_overflow
driver, encx24j600: fix possible buffer overflow
2017-06-06 07:51:13 +02:00
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