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
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