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

783 Commits

Author SHA1 Message Date
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
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
65d1b77338 drivers/veml6070: initial implementation 2017-02-28 13:20:21 +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
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
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
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
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
5639b1d52f drivers/cc2420: 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
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
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
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
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
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
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
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
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
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
Hauke Petersen
296ca11a23 drivers/periph: removed GPIO from dev_enums.h 2017-01-16 09:31:24 +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
9a55556644 Removes not needed includes 2017-01-15 13:10:37 +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
Victor Arino
d8d8d55e72 drivers/pn532: add NFC reader PN532 driver 2017-01-13 14:47:19 +01:00
6150e2753a drivers: periph: pm: introduce new power management API 2017-01-12 11:24:15 +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
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
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
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
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
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
Vincent Dupont
b9b838f1dc mma8652: add support for all mma8x5x accelerometers 2016-11-16 14:14:07 +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
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
Yannic Schröder
c7d73e24c1 at86rf2xx: fix warnings when building with -Wextra -pedantic 2016-10-18 10:21:54 +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
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
Laurent Navet
f30c4ade2c drivers/timer: fix copy/paste error 2016-09-07 21:59:25 +02:00
3aa1ffb5fb drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init 2016-09-02 10:42:09 +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
Bas Stottelaar
0902ccb2e0 drivers: si70xx: adapt for SAUL 2016-07-22 18:22:13 +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
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
Hauke Petersen
abc6b5ccdf drivers: added support for CC2420 radio 2016-07-06 18:14:48 +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
3ad195963d drivers: netdev2: rename isr_arg 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
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
Oleg Hahm
814be0655f doc: minor fixes of typos in periph documentation 2016-05-03 23:37:22 +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
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
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
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
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
Martine Lenders
1c45c503b8 netdev2: fix event_callback references 2016-04-09 13:22:19 +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
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
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
021e94ee6a netdev2: introduce linklayer netstats 2016-03-29 22:34:09 +02:00
Rene Herthel
44ee645373 drivers/lis3mdl: Initial create of lis3mdl 2016-03-29 21:02:18 +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
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
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
Cenk Gündoğan
e6de2924ad drivers: mma8652: add mma8652_params_t for initialization 2016-03-21 16:16:11 +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
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
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
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
Peter Kietzmann
a8b6fba69c Merge pull request #4664 from haukepetersen/opt_driver_dhtinit
drivers/dht: numerous improvements
2016-02-29 16:23:31 +01:00
Hauke Petersen
2b97513637 drivers/timer: added callback argument 2016-02-29 14:40:08 +01:00
PeterKietzmann
e2cd3b1508 drivers/nrf24l01p: unified return values and fixed doc 2016-02-29 12:00:01 +01:00
9082273746 core: header cleanup 2016-02-28 22:46:28 +01:00
Bas Stottelaar
9e50d09b60 drivers: si70xx: temperature and humidity sensor
This includes the Si7006, Si7013, Si7020 and Si7021 I2C sensors, including a
test application.
2016-02-23 07:32:40 +01:00
Martine Lenders
dad883c745 netdev2: provide capability to pass up packet status information 2016-02-22 11:31:58 +01:00
Hauke Petersen
6fca96c668 drivers/dht: simplified interface 2016-02-20 18:19:20 +01:00
Hauke Petersen
f5f793c3f2 drivers/dht: made pullup configurable 2016-02-20 18:19:20 +01:00
Hauke Petersen
c46bc68ac5 drivers/dht: optimized DHT driver
- added default dht_params.h file
- added dht_auto_init(void) function
- changed init function to init(dev, params)
- s/gpio/pin/ in device descriptor
- moved FEATURE_REQUIRED to drivers/Makefile.dep
2016-02-20 18:19:20 +01:00
Hauke Petersen
2b2ce92d28 Merge pull request #4846 from LudwigKnuepfer/pr/BH1750FVI-doxygen-group-fix
drivers/bh1750fvi: fix ingroup definition
2016-02-19 09:28:57 +01:00
BytesGalore
e0f9d18a92 Merge pull request #4832 from cgundogan/pr/drivers/default_channel
drivers: make default radio channel configurable at compile time
2016-02-19 09:06:39 +01:00
Peter Kietzmann
3eafe47184 Merge pull request #4836 from haukepetersen/opt_periph_gpio_type
drivers/gpio: changed default type to unsigned
2016-02-18 20:22:04 +01:00
Cenk Gündoğan
dbb01011d7 Merge pull request #4803 from cgundogan/pr/mma8652/driver_fix
drivers/mma8652: enhancements
2016-02-18 18:08:28 +01:00
Ludwig Knüpfer
6a54f8cf89 drivers/bh1750fvi: fix ingroup definition
This is a sensor, not a low-level peripheral driver.
2016-02-18 13:52:38 +01:00
Hauke Petersen
085cd48e3d drivers/gpio: changed default type to unsigned 2016-02-17 10:27:10 +01:00
Cenk Gündoğan
c0369f04f6 drivers: make default channel configurable at compile time 2016-02-16 13:07:17 +01:00
Joakim Nohlgård
e2f7ac78f0 Merge pull request #4040 from gebart/pr/periph-timer-init-freq
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Joakim Nohlgård
9db8d671ab Merge pull request #4757 from haukepetersen/opt_periph_random
drivers/periph: renamed random and more
2016-02-14 17:56:57 +01:00
DipSwitch
62469957ae Merge pull request #4193 from OlegHahm/cc110x_proto
cc110x: make protocol configurable
2016-02-14 16:47:04 +01:00
Hauke Petersen
b59f94593e drivers/periph: renamed random to hwrng + opts 2016-02-14 12:58:30 +01:00
Joakim Nohlgård
d1a57d040a Merge pull request #4638 from gebart/pr/periph-pwm-api-change
drivers: Optimized periph PWM interfaces
2016-02-14 08:54:47 +01:00
Joakim Nohlgård
933ee91f72 drivers/periph/timer: Change timer_init definition to support arbitrary (integer) frequencies 2016-02-13 21:29:36 +01:00
Joakim Nohlgård
8d11fab8bd drivers/lis3dh: Add SAUL support 2016-02-13 21:25:07 +01:00
Hauke Petersen
d6b8336cb9 drivers/srf02: added func to reprogramm address 2016-02-12 16:40:51 +01:00
Cenk Gündoğan
37c2cddf32 drivers/mma8652: convert raw data to milli g 2016-02-12 16:25:15 +01:00
Joakim Nohlgård
f6bd9cab57 drivers/servo: adapted to PWM interface changes 2016-02-12 16:10:01 +01:00
Cenk Gündoğan
192f20eabe drivers/mma8652: set to STANDBY before configuration 2016-02-12 16:09:59 +01:00
Hauke Petersen
eff628ad9b drivers/periph/pwm: modernized PWM driver interface 2016-02-12 15:52:37 +01:00
Hauke Petersen
3bf85cb508 drivers: added driver for BH1750FVI light sensors 2016-02-09 16:01:32 +01:00
Hauke Petersen
cd71c7725f drivers/cpuid: s/CPUID_ID_LEN/CPUID_LEN/ + fixes 2016-02-08 11:10:59 +01:00
9e3e485ec0 drivers: net: add ethos (ethernet over serial) driver 2016-02-07 19:15:14 +01:00
Oleg Hahm
2f5683b3f7 cc110x: make protocol configurable 2016-02-05 16:12:46 +01:00
Hauke Petersen
4cf9c74e2b Merge pull request #4739 from haukepetersen/fix_lsm303dlhc_saul
drivers/lsm303dlhc: normalized SAUL readings
2016-02-04 17:35:52 +01:00
Hauke Petersen
84b44f03dd Merge pull request #4740 from cgundogan/pr/saul/pull_modes
saul: make pull-up/pull-down mode configurable
2016-02-04 16:34:40 +01:00
Cenk Gündoğan
b860ad3715 saul: make pull-up/pull-down mode configurable 2016-02-04 14:57:00 +01:00
Hauke Petersen
0bde97f167 drivers/lsm303dlhc: normalized SAUL readings 2016-02-04 11:51:28 +01:00
Hauke Petersen
555c010623 drivers/gpio: added default ISR context struct 2016-01-27 17:00:23 +01:00
Marc Poulhiès
de5a7e00c6 drivers/nrf24l01p : dynamic ack and dynamic payload
Add method for enabling/disable dynamic ack and dynamic payloads on
nrf24l01+ devices.
Also add function for reseting one or more interrupts.
2016-01-26 09:59:53 +01:00
Joakim Nohlgård
9af084ec18 drivers/periph/uart: Add missing #include <stddef.h>
Required for size_t
2016-01-19 14:11:35 +01:00
Hauke Petersen
94c0cc86af Merge pull request #4504 from PeterKietzmann/extend_gpio_api
periph/gpio: extend gpio API doc
2016-01-05 12:04:22 +01:00
PeterKietzmann
4c41f7a994 periph/uart: extend uart API doc 2015-12-22 16:11:21 +01:00
PeterKietzmann
d251b604ad periph/gpio: extend gpio API doc 2015-12-22 16:10:37 +01:00
Hauke Petersen
22cc26e9d7 drivers: added driver for enc28j60 ethernet chip 2015-12-08 11:51:18 +01:00
Thomas Eichinger
10323329ce Merge pull request #4412 from DipSwitch/pr/at86rf2xx-phy-mode
at86rf2xx: Add support for channel page
2015-12-08 11:40:47 +01:00
Oleg Hahm
426816b9ae drivers: fix pedantic compiler warnings 2015-12-07 20:28:52 +01:00
fa711ceb8d drivers: netdev2: add module for shared ethernet code 2015-12-07 11:40:39 +01:00
Joakim Nohlgård
e9f385ae1d at86rf2xx: Add support for channel page 2015-12-05 10:37:04 +01:00
Thomas Eichinger
ef8dc7733a Merge pull request #4391 from thomaseichinger/pr/rf2xx_include_fix
drivers/at86rf2xx: don't inlcude the header in itselfs
2015-12-03 12:12:43 +01:00
Thomas Eichinger
1f2460d662 drivers/at86rf2xx: don't inlcude the header in itselfs 2015-12-03 11:15:30 +01:00
Hauke Petersen
81ed820528 drivers/pcd8544: fixed include guard 2015-12-02 11:20:02 +01:00
e53dc6f5e2 Merge pull request #3538 from haukepetersen/add_sensif_actif
Introducing SAUL, the [S]ensor [A]ctuator [U]ber [L]ayer
2015-12-01 11:01:20 +01:00
Hauke Petersen
84a094d092 drivers/lsm303dlhc: added SAUL integration 2015-11-30 20:33:55 +01:00
Hauke Petersen
5274c4e851 drivers/lps331ap: added SAUL integration 2015-11-30 20:33:54 +01:00
Hauke Petersen
7a4d6227c4 drivers/l3g4200d: added SAUL integration 2015-11-30 20:33:54 +01:00
Hauke Petersen
18361631a0 drivers/isl29020: added SAUL integration 2015-11-30 20:33:54 +01:00
Hauke Petersen
0390561e06 drivers: added S(ensor) A(ctuator) U(ber) L(ayer) 2015-11-30 20:33:53 +01:00
Kévin Roussel
8bfd856abe Implemented the NETOPT_CCA_THRESHOLD option for AT86RF231 2015-11-30 13:15:14 +01:00
Hauke Petersen
f0b0db8f06 drivers: various doxygen fixes
- fixed group naming scheme to 'drivers_xx'
- introduced a group for actuators (analog to the sensors)
- added missing doxygen to ltc4150 driver
2015-11-23 12:15:50 +01:00
Hauke Petersen
aee4e564c0 drivers/cc110x: moved includes
let the driver follow the same structure than other drivers
for now: keeping 'private' includes in a local include folder
2015-11-20 10:32:43 +01:00
Hauke Petersen
95086da431 doc/drivers/sys: fixed all refs to drivers_periph_xx 2015-11-19 16:09:25 +01:00
Hauke Petersen
77b790375f drivers/periph: some doxygen fixes
- added todos to periph module description
- repaired group names (e.g. s/driver_xx/drivers_xx/)
2015-11-19 15:57:36 +01:00
Hauke Petersen
82afb07f16 drivers/xbee: adapted to UART interface changes 2015-10-27 14:59:39 +01:00