Benjamin Valentin
477938e46e
drivers/mrf24j40: add external PA/LNA control on MC/MD/ME devices
...
The MRF24J40MC/MD/ME modules contain an external power amplifier &
low noise amplifier that has to be enabled manually by setting three bits
in the TESTMODE register.
On MRF24J40MC the power amplifier is powered by a separate voltage regualtor
that has to be enabled by setting GPIO3 to HIGH.
During Sleep and CCA the PA should be disabled.
Co-authored-by: Carton <joel.carron@eeproperty.ch>
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2019-05-23 11:07:04 +02:00
a7f8182249
drivers: sys: add SAUL support for ds75lx sensor
2019-05-22 16:54:20 +02:00
35a3c4ddfe
drivers/ds75lx: add basic driver
2019-05-22 16:54:19 +02:00
Guillaume Gonnet
1783b3da55
drivers/ds18: fix ds18_read
with negative temperatures
...
When DS18 returns 0xFE6F (corresponding to -25.0625 °C), `ds18_read` returns
13877 whereas it should return -2506. This commit fixes this issue.
2019-05-16 20:12:22 +02:00
MichelRottleuthner
c754f3c4c7
Merge pull request #11451 from fhessel/pcd8544
...
drivers/pcd8544: Use uint8_t instead of char for byte represenatation
2019-04-30 21:47:50 +02:00
Frank Hessel
70ac451a2b
drivers/sdcard_spi: Use uint8_t for byte values
2019-04-29 19:25:34 +02:00
Frank Hessel
827868a7a0
drivers/pcd8544: replace char by uint8_t for bytes
2019-04-25 23:42:30 +02:00
Frank Hessel
4fa954c1e3
drivers/adt7310: Replace binary representation
2019-04-25 21:18:36 +02:00
ac60154157
Merge pull request #9771 from Citrullin/advanced_io
...
drivers/periph/gpio_util: add gpio_util_shiftin()
2019-04-24 11:15:20 +02:00
Philipp Blum
9f2ef5e367
drivers/periph_common/gpio_util: introduce gpio_util_shiftin()
2019-04-18 07:09:32 +02:00
Gilles DOFFE
3a83648f2a
drivers: add licence to motor_driver source files
...
Related to PR #10290 , add missing licence to some source files.
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-04-13 00:29:58 +02:00
c1547efb3a
Merge pull request #11316 from fjmolinas/pr_sx127x_switch
...
drivers/sx127x: add support for rx and tx switch pin
2019-04-10 18:40:37 +02:00
francisco
c62d9feff7
drivers/sx127x: add support for rx and tx switch pin
2019-04-10 08:18:01 +02:00
MrKevinWeiss
3ed9060527
drivers: adcxx1c, ads101x, ad7746: Change I2C macro to DEV
...
Due to a name clash the helper macro I2C should be change.
Helper macros in other drivers are called DEV.
Changing to DEV fixes the naming conflict.
2019-04-08 14:08:07 +02:00
Sebastian Meiling
4dd09eaa06
Merge pull request #6178 from OTAkeys/pr/can_stm32
...
can stm32: add a driver for STM32 bxCAN peripheral
2019-04-08 08:50:08 +02:00
Dylan Laduranty
a81dbf0037
Merge pull request #11152 from ibr-cm/petersen/l3g4200d-fix-pr
...
l3g4200d: Fixes conversion bug
2019-04-05 15:49:13 +02:00
Vincent Dupont
74ddf56171
tests/conn_can: build stm32 CAN drivers
...
Build can_stm32 module on boards which have a stm32 CAN controller.
2019-04-03 11:12:46 +02:00
Martine Lenders
a1e2dc0810
Merge pull request #11332 from kYc0o/pr/xbee/prevent_0_len_uart
...
drivers/xbee: prevent 0 length packet sent to UART
2019-04-02 17:33:29 +02:00
kYc0o
f673d5af1e
drivers/xbee: prevent 0 length packet sent to UART
...
Since the API doc doesn't specify what to do with 0
len writings into UART, we cannot assume that is
safe to do it, so this commit prevents it by checking
the length prior to the `uart_write()` operation.
2019-04-02 16:47:13 +02:00
Martine Lenders
4e464bdbc6
Merge pull request #11331 from kYc0o/pr/cc2420/fix_0_len_pkt
...
drivers/cc2420: don't append to FIFO if iol->iol_len == 0
2019-04-02 16:29:24 +02:00
kYc0o
c6b424f4ff
drivers/cc2420: don't append to FIFO if iol->iol_len == 0
...
This prevents SPI transfers with len == 0, which triggers
an assert failure.
2019-04-02 16:00:03 +02:00
200ce49638
Merge pull request #11325 from maribu/encx24j600
...
drivers/encx24j600: Allow empty iolist elements
2019-04-01 17:10:16 +02:00
MichelRottleuthner
d77b8e1f52
Merge pull request #11321 from bergzand/pr/mrf24j40/fix_empty_element
...
drivers/mrf24j40: don't load data if iol->iol_len == 0
2019-04-01 17:09:15 +02:00
Marian Buschsieweke
99db8e8717
drivers/encx24j600: Allow empty iolist elements
...
This commits allows using netdev_driver_t::send() to be called with one or more
empty iolist elements. This fixes issue
https://github.com/RIOT-OS/RIOT/issues/11163
2019-04-01 16:51:39 +02:00
1804730c0e
mrf24j40: don't load data if iol->iol_len == 0
2019-04-01 11:46:42 +02:00
Martine Lenders
299a1903e6
Merge pull request #11215 from jia200x/pr/sx127x_fix
...
sx127x: ignore empty iolist element
2019-04-01 11:37:37 +02:00
Martine Lenders
85276fb7a0
Merge pull request #11214 from maribu/enc28j60
...
drivers/enc28j60: Allow sending with empty chunks
2019-03-30 18:08:01 +01:00
Torben Petersen
506e208ffd
drivers/l3g4200d: fixes driver conversion
2019-03-30 10:32:43 +01:00
Vincent Dupont
ae95137f95
can stm32: add a driver for STM32 bxCAN peripheral
...
This driver is compliant with the candev interface. It has been tested
with STM32F0 and STM32F2 and STM32F413 ONLY at this time but should be
compliant with other STM32Fx devices
2019-03-29 12:03:43 +01:00
14f47bf220
Merge pull request #10695 from aabadie/pr/drivers/lpsxxx
...
drivers/lpsxxx: refactor lps331ap and add support for lps25hb + lps22hb
2019-03-29 10:54:08 +01:00
Dylan Laduranty
ccf12c57a8
Merge pull request #10884 from fedepell/sam_rwee_support
...
sam0 flashpage RWWEE flash support
2019-03-28 11:00:25 +01:00
Hauke Petersen
f2df22ed99
Merge pull request #10589 from miri64/l2util/feat/initial
...
l2util: initial import of a general IPv6 over X helper module
2019-03-27 11:46:12 +01:00
Martine Lenders
db8954fe60
Merge pull request #11267 from cladmi/pr/isrpipe/separate_read_timeout
...
isrpipe: split isrpipe_read_timeout to isolate xtimer dependency
2019-03-26 22:27:15 +01:00
Martine Lenders
664763bb29
netdev: add doc group for network device types
2019-03-26 21:37:20 +01:00
Gaëtan Harter
29fc58bc79
drivers/at: remove the direct dependency to xtimer
...
`at` is not using the `xtimer` module directly but only through
'isrpipe_read_timeout'.
2019-03-26 21:36:24 +01:00
Gaëtan Harter
b07eecd619
isrpipe: split isrpipe_read_timeout to isolate xtimer dependency
...
This defines a new 'isrpipe_read_timeout' module that should be used when using
the timeout based function of isrpipe.
This fix the implicit dependency to 'xtimer' that is only needed for the
'_timeout' functions.
It prevents 'stdio_uart' that uses 'isrpipe' to need to depend on xtimer.
This was silently solved at link time for most platforms but not for the
'esp32' for example.
'drivers/at' needed to be updated at the same time to follow the api change.
2019-03-26 21:36:24 +01:00
Kevin "Bear Puncher" Weiss
268d3e926c
Merge pull request #10826 from ranbe1/at_driver_uart_initialize_status
...
drivers/at: make at_dev_init() return uart initialize status
2019-03-26 14:07:05 +01:00
c697a3bfd8
usbdev: extend events with suspend/resume
2019-03-25 21:03:21 +01:00
Dylan Laduranty
784af0a9c8
Merge pull request #11213 from bergzand/pr/usb/periph_init
...
usbdev: Add low level initialization to `periph_init()`
2019-03-25 20:49:25 +01:00
Federico Pellegrin
5faafac092
sam0 flashpage RWWEE flash support
2019-03-21 04:27:41 +01:00
7c285eb186
drivers/lpsxxx: add support for lps22hb
2019-03-20 14:43:37 +01:00
1f4dee90a1
drivers/lpsxxx: unify lps331ap and lps25h drivers
2019-03-20 14:43:36 +01:00
Marian Buschsieweke
f5cd25bdab
drivers/enc28j60: Allow sending with empty chunks
...
This commit allows `netdev_driver_t::send()` of `enc28j60` to be passed an
`iolist_t` containing one or more empty elements.
2019-03-20 09:57:45 +01:00
cf093c5a25
periph: add low level usbdev initialization
2019-03-20 09:12:24 +01:00
4d352fc93f
usbdev: Extend with low level initialization functions
2019-03-20 09:12:24 +01:00
Jose Alamos
4778776790
sx127x: ignore empty iolist element
2019-03-19 17:30:55 +01:00
Torben Petersen
04d346667b
drivers/bmp180: fix conversion
2019-03-18 09:43:39 +01:00
Martine Lenders
6611be5140
at86rf2xx: don't call tx_load when iol->iol_len == 0
2019-03-15 15:34:38 +01:00
Martine Lenders
51626a48d4
netdev: document valid values for iolist in send()
2019-03-15 11:34:19 +01:00
71204d1d70
Merge pull request #9830 from bergzand/pr/usb/usbdev
...
usbdev: Introducing a generic USB device driver API
2019-03-14 22:48:47 +01:00