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

940 Commits

Author SHA1 Message Date
Hauke Petersen
c3ccdc59c5 drivers/ata8520e: add doc on required buffer sizes 2018-01-30 17:25:49 +01:00
4bc4c56d02 drivers/ata8520e: initial implementation 2018-01-25 12:01:57 +01:00
4c69940a54 drivers/tja1042: move to drivers_can group 2018-01-23 08:32:55 +01:00
75b552014c drivers/soft_spi: fix doxygen group name
It was inconsistent with other drivers group names
2018-01-22 09:04:10 +01:00
Hauke Petersen
ba8ab6c88b drivers/lis2dh12: add SAUL mapping 2018-01-18 18:39:43 +01:00
Hauke Petersen
09dab1a9fb drivers: add support for STM lis2dh12 accelerometer 2018-01-18 18:39:43 +01:00
b63412efa1 drivers: add rn2xx3 LoRa module driver 2018-01-18 10:46:54 +01:00
Vincent Dupont
e6ca1af19a
Merge pull request #6925 from OTAkeys/pr/tja1042
can: add tja1042 transceiver driver
2018-01-18 09:44:51 +01:00
Vincent Dupont
cf34161789 tja1042: add driver for tja1042 CAN transceiver 2018-01-18 09:27:10 +01:00
Hyungsin
a0587ca306 drivers/pulse_counter: initial implementation 2018-01-17 06:28:13 -08:00
steffen
1d38c7d939 drivers/lc709203f: Added support for the LC709203F Fuel Gauge 2018-01-15 17:48:27 +01:00
Martine Lenders
9c1b6bd8c4
Merge pull request #8304 from PeterKietzmann/pr_drivers_kw2x_txbusy
drivers/kw2xrf: finish ongoing transmission before sending next frame
2018-01-09 16:59:03 +01:00
2f4a7e28e9
Merge pull request #8268 from miri64/slipdev/enh/simplify-byte-unstuffing
slipdev: simplify and solidify byte-unstuffing
2018-01-09 10:53:54 +01:00
Martine Lenders
c61a343193 slipdev: simplify and solidify byte-unstuffing
This simplifies and solidifies the reversal of SLIP's byte-stuffing
(aka byte-unstuffing ;-)) by

1. Using `tsrb` instead of `ringbuffer`: there are two actors. The ISR
   and the device's event handler.
2. Moving the byte-unstuffing from the UART RX-handler (i.e. the ISR)
   to the device's receive function (potentially not the ISR)
3. Removing the `pktfifo` member. The current number of bytes in the
   ringbuffer is returned for `recv(data = NULL, len = 0)`. If that is
   more than the packet contains (due to the byte stuffing it most
   likely will be) the packet is reallocated in GNRC anyway.
2018-01-08 11:51:24 +01:00
PeterKietzmann
73a2810330 drivers/kw2xrf: finish ongoing transmission before sending next frame 2017-12-20 14:26:26 +01:00
Sebastian Meiling
0417a05ae9
Merge pull request #7949 from aabadie/pr/lis3dml_update
drivers/lis3mdl: adopt new parameters scheme and provide SAUL adaption
2017-12-15 09:27:04 +01:00
b543d0b5da drivers/sx127x: add functions required for loramac 2017-12-14 22:13:41 +01:00
b39a3d79ef drivers/lis3mdl: update to new parameters scheme 2017-12-14 18:18:20 +01:00
32b1ee3baf drivers/sx127x: cleanup RX/TX timers 2017-12-09 16:51:09 +01:00
43e972fc61
Merge pull request #7970 from kYc0o/add_flashpage_write_raw
periph/flashpage: add flashpage_write_raw interface
2017-12-04 13:13:52 +01:00
kYc0o
6dffb71b09 drivers/include/periph/flashpage.h: add flashpage_write_raw 2017-11-30 17:25:35 +01:00
Hauke Petersen
5f5cdd148d
Merge pull request #7822 from Hyungsin/hamilton-hdc1000
drivers/hdc1000: add caching capability
2017-11-30 10:49:11 +01:00
Hyungsin
fd3f33880b drivers/hdc1000: add caching capability for hdc1000 driver 2017-11-29 11:30:39 -08:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Sebastian Meiling
4a828c63aa
Merge pull request #7955 from aabadie/pr/mpu9150_update
drivers/mpu9150: adapt to new parameters initialization scheme + provide saul adaption
2017-11-28 11:41:54 +01:00
Martine Lenders
a63bb6d47b
Merge pull request #6895 from bergzand/drivers/radio-rssi-conv
drivers/radios Apply register to rssi dBm conversion to all radios
2017-11-27 23:52:15 +01:00
047b8172ae cc2420: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
4bd5fd611c mrf24j40: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
fa64e93313 netdev: Represent RSSI as int16_t 2017-11-27 21:49:15 +01:00
562474f975
Merge pull request #7280 from smlng/driver/hts221
drivers: hts221 humidity and temperature sensor
2017-11-22 13:19:46 +01:00
Peter Kietzmann
2c46e0928e
Merge pull request #7938 from bergzand/mrf24j40-bcast2
drivers/mrf24j40: fix radio ack request enabling
2017-11-22 08:15:27 +01:00
smlng
55cda8d8ab drivers: add hts221 temperature and humidity sensor 2017-11-21 09:42:07 +01:00
1387945461 drivers/sx127x: expose iq_invert via netdev, add tx power getter 2017-11-20 11:04:41 +01:00
Martine Lenders
32318363a9
Merge pull request #7697 from aabadie/pr/lora_definitions
sys/net: add common lora phy definitions
2017-11-15 21:01:46 +01:00
marble
fbba6c3851 driver/soft_spi: initial implementation 2017-11-13 10:11:06 +01:00
Cenk Gündoğan
0ae6ec0d9b
Merge pull request #7956 from PeterKietzmann/pr_srf08_gain
drivers/srf08: correct value for max gain
2017-11-10 14:20:40 +01:00
Peter Kietzmann
87b0477b70
Merge pull request #7855 from kYc0o/fix_nrf24l01p_var_sizes
drivers/nrf24l01p: misc fixed
2017-11-09 08:06:28 +01:00
kYc0o
1927104298 drivers/nrf24l01p: fix vars lengths 2017-11-08 20:10:16 +01:00
819263ba1f drivers/mpu9150: update to new parameters scheme 2017-11-08 09:02:57 +01:00
PeterKietzmann
1f332cfb7b drivers/srf08: correct value for max gain 2017-11-07 23:31:40 +01:00
Martine Lenders
f6c9eb03c5
Merge pull request #7824 from Hyungsin/hamilton-tmp006
tmp006: optional raw values, low power mode, SAUL type
2017-11-07 22:51:56 +01:00
smlng
13639c1bb3 drivers, at86rf2xx: cleanup
- update documentation
    - adapt constness
    - fix code alignment and stlye
2017-11-07 21:37:41 +01:00
Hyungsin
3dbe604d96 tmp006: optional raw values, low power mode, SAUL type 2017-11-06 00:04:50 -08:00
6f43e98b95 drivers/si70xx: cleanup and use pseudomodules 2017-11-05 18:13:19 +01:00
b7c4a81702
drivers/mrf24j40: fix radio ack request enabling 2017-11-05 15:05:31 +01:00
Bas Stottelaar
31c7e9e4c2 periph: i2c: include note on address alignment. 2017-10-31 20:50:42 +01:00
91bed82a51 drivers/sx127x: use common LoRa definitions 2017-10-26 15:41:41 +02:00
kYc0o
a46907feda drivers/include/sx127x.h: fix power var len 2017-10-26 01:45:29 +02:00
Hauke Petersen
5920d99752 pm: fix weak-based default implementations
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00
Martine Lenders
72edaa3e47 Merge pull request #7586 from cladmi/pr/saul/gpio
saul/gpio: Low footprint handling of active-low signals + state initialization
2017-10-10 18:49:02 +02:00
c627935aec drivers/sx127x: move netdev related callback to the right file 2017-10-10 18:23:18 +02:00
Gaëtan Harter
c39f4d8317 saul/gpio: add support to initialized state 2017-10-05 17:21:08 +02:00
Gaëtan Harter
c75470e602 saul/gpio: add support for inverted mode gpios 2017-10-05 17:19:54 +02:00
15c22e9ab7 at86rf2xx: add NETOPT_TX_RETRIES_NEEDED support 2017-10-04 12:20:15 +02:00
a2d790c924 mrf24j40: Add tx_retries_needed netopt 2017-09-26 11:16:12 +02:00
Joakim Nohlgård
297bc2b5e6 at86rf2xx: Add get NETOPT_LAST_ED_LEVEL 2017-09-06 21:17:14 +02:00
Joakim Nohlgård
988759d4da at86rf2xx: Add manual CCA 2017-09-05 16:48:55 +02:00
Martine Lenders
83a94db151 Merge pull request #7532 from aabadie/drivers_doxygen_cleanup
drivers: doxygen cleanup
2017-09-04 14:16:52 +02:00
Hauke Petersen
a8678aeaaf Merge pull request #6753 from haukepetersen/add_apa102
drivers: add driver for apa102 RGB LEDs
2017-09-04 11:22:15 +02:00
94c753c07a drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
Hauke Petersen
9bde34df33 drivers: add driver for apa102 RGB LEDs 2017-09-01 09:37:31 +02:00
4b7e682048 drivers/dht: remove useless auto_init declaration 2017-08-31 22:05:33 +02:00
Peter Kietzmann
c177a1a75d Merge pull request #6942 from smlng/driver/my9221
Add driver for MY9221 LED controller and (based on that) the Seeed Studio Grove LED bar
2017-08-30 09:21:33 +02:00
smlng
e5e933e332 drivers: add grove ledbar driver 2017-08-30 09:07:35 +02:00
smlng
ecaca83b0b drivers: add my9221 led controller 2017-08-30 09:06:03 +02:00
5dc834a72d doxygen: fix typo on word 'successfully' 2017-08-29 15:12:44 +02:00
Joakim Nohlgård
065bc62e0a netdev: Make set() value parameter const void * 2017-08-25 13:41:19 +02:00
Hauke Petersen
7204ec3166 periph/rtc: removed RTC_NUMOF guards from header 2017-08-23 15:39:16 +02:00
Sebastian Meiling
675f665dd0 Merge pull request #7464 from OTAkeys/pr/lsm6dsl
drivers/lsm6dsl: add power up/down functions
2017-08-21 09:41:02 +02:00
Thomas Eichinger
57ca0f96ec Merge pull request #7309 from Hyungsin/forupstream_radio_state_change
at86rf2xx: reliable radio state change
2017-08-16 07:42:06 -07:00
5cb0be3672 Merge pull request #7312 from miri64/ds1307/feat/initial
ds1307: initial import of a driver for the DS1307 RTC
2017-08-16 09:25:59 +02:00
Thomas Eichinger
093eb7a985 drivers/at86rf2xx: remove at86rf2xx_reset_state_machine
This function was only used once in the initialization procedure.
Inlining the actual state change reduces overhead and lines to
maintain.

If ever needed, undo this commit.
2017-08-14 10:07:42 -07:00
MichelRottleuthner
e5baef3810 Merge pull request #7324 from MichelRottleuthner/sdcard_mtd
sdcard_spi: integrate to mtd interface
2017-08-09 11:30:41 +02:00
Vincent Dupont
e75868db32 drivers/lsm6dsl: add power up/down functions 2017-08-09 09:53:05 +02:00
Martine Lenders
d07bfb4c9f
ds1307: initial import of a driver for the DS1307 RTC 2017-07-31 14:39:09 +02:00
Sebastian Meiling
95b31660b6 Merge pull request #7173 from haukepetersen/opt_gpiodoc
drivers/gpio: improved doc for gpio_init()
2017-07-14 14:17:39 +02:00
Hyungsin
6889cd934a drivers/at86rf2xx: reliable radio state change 2017-07-07 11:48:44 -07:00
268c6b647e drivers/can: fix doxygen documentation + typo 2017-07-03 20:43:51 +02:00
smlng
2b9eddfbeb drivers, lsm6dsl: cleanup 2017-07-03 16:00:31 +02:00
smlng
a7d9547d5e driver, lsm6dsl: fix temperature reading 2017-07-03 16:00:25 +02:00
f9122018a2 drivers: doxygen documentation improvement 2017-07-02 23:21:36 +02:00
Martine Lenders
1b08b03bd5 Merge pull request #7291 from aabadie/sx127x_fix_doc
drivers/sx127x: fix typo in documentation, cleanup
2017-07-02 20:51:43 +02:00
Martine Lenders
87c9edbbae Merge pull request #7292 from aabadie/fix_adcxx1x_doc
drivers/adcxx1c: small doxygen fixes
2017-07-02 20:51:28 +02:00
9632938f93 drivers/adcxx1c: small doxygen fixes 2017-07-02 20:29:54 +02:00
7742fb47e3 drivers/diskio: cleanup documentation 2017-07-02 18:36:48 +02:00
9f2252b6b5 drivers/sx127x: fix typo in documentation, cleanup 2017-07-02 18:19:53 +02:00
0ccc264538 drivers: initial implementation of sx127x radio (LoRa mode only) 2017-06-30 19:00:40 +02:00
49c1725d98 Merge pull request #7249 from haukepetersen/opt_dac_doc
drivers/dac: clarified doc and named return values
2017-06-29 12:29:05 +02:00
smlng
c7375529e3 drivers: rework mpl3115a2 pressure sensor 2017-06-29 09:57:15 +02:00
f1a93bf36e drivers/dht: some cleanup 2017-06-28 16:57:29 +02:00
Hauke Petersen
a2bc258af0 drivers/dac: clarified doc and named return values
- added more comprehensive doc to dac_init and dac_set
- named return values for dac_init
- use named return values in existing implementations
2017-06-27 12:52:12 +02:00
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
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
317716419c drivers: use const device descriptor 2017-06-21 17:05:45 +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
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
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
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
4a852abd03 drivers/bmx280: factorize bme280 and bmp280 implementation 2017-06-02 14:54:17 +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
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
caf97d5c2c drivers/netdev: add filter list to netdev strcut 2017-05-18 15:24:25 +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
smlng
8d50048c82 drivers: fix doxygen for hd44780 2017-04-21 11:30:15 +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
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
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
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
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
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
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
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