Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 15:24:10 +02:00
Jose Alamos
8c0c603146
drivers/at86rf215: remove msg queue dependency
2021-08-16 15:28:06 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Marian Buschsieweke
7aab478678
drivers/soft_spi: update API to match periph_spi
2021-08-06 12:47:00 +02:00
Marian Buschsieweke
9e5f7b6797
drivers/periph_spi: make spi_acquire() return void
...
There is no way to properly handle incorrect SPI parameters at run time, so
just having an assertion blow up is the better choice here.
As most instances of `spi_acquire()` don't check the return value anyway, this
will improve debugging experience quite a bit. Some implementation of
spi_acquire() don't even check parameters anyway.
2021-08-06 12:46:57 +02:00
benpicco
feac187d54
Merge pull request #16506 from benpicco/drivers/dose-rx_start
...
drivers/dose: make use of start condition received interrupt
2021-07-28 17:21:29 +02:00
Benjamin Valentin
d48f673597
drivers/dose: make use of periph_uart_rx_start feature
2021-07-28 16:19:04 +02:00
Benjamin Valentin
0964a217b5
rtt_rtc: add rtc_settimeofday() & rtc_gettimeofday()
2021-07-27 22:12:25 +02:00
Benjamin Valentin
9194440ead
drivers/periph/uart: add periph_uart_rx_start feature
2021-07-27 16:29:30 +02:00
benpicco
07b3e19d01
Merge pull request #16632 from maribu/periph/uart
...
periph/uart: Fix doc, use errno for return values
2021-07-21 00:12:24 +02:00
Jose Alamos
b299299ad3
drivers/sx126x: fix NETOPT_RX_SYMBOL_TIMEOUT
2021-07-14 14:11:15 +02:00
Jose Alamos
c6da77a454
Revert "drivers/sx127x: fix size of rx symbol timeout"
...
This reverts commit 26ead7b5be
.
2021-07-13 21:14:28 +02:00
Marian Buschsieweke
e7cacf6f60
periph/uart: Fix doc, use errno for return values
...
Some terminology issues are fixed. (The speed of an UART interface is
the symbol rate. The unit it is measured in is baud, which is symbols
per second. There is no such thing as baudrate or even baud/s.)
The return codes are changed to use negative errno constants on error
to match the driver design rules. For backward compatibility, the
enum was updated to match the error codes. Unless an application
depends on the exact numerical value (which would be insane), this is
not breaking any code.
2021-07-09 17:06:01 +02:00
Akshai M
17ad0fc5a7
driver/sx126x : Add set_rf_mode interface
2021-07-09 11:16:41 +02:00
Akshai M
8870a885cb
drivers/sx126x : Add stm32wl variant
2021-07-09 11:16:41 +02:00
Akshai M
8d43dbf67f
drivers/sx126x : Update NETOPT_RX_xx
...
r/NETOPT_RX_TIMEOUT/NETOPT_RX_SYMBOL_TIMEOUT
Use sx126x_symbol_to_msec() to calculate the RX timeout in ms.
2021-07-08 12:19:36 +02:00
Akshai M
a3ed19e0ee
drivers/sx126x.h : Add sx126x_symbol_to_msec()
2021-07-08 12:19:36 +02:00
Fabian Hüßler
c50149e488
drivers/ina3221: refactor
2021-07-07 08:40:02 +02:00
Francisco
ccfd3ee980
Merge pull request #16597 from jia200x/pr/sx126x_kconfig
...
sx126x: add support for multiple simultaneous variants
2021-07-06 13:19:15 +02:00
benpicco
8f9233f329
Merge pull request #16232 from maribu/drivers/cc110x
...
drivers/cc110x: add power off (sleep) functions
2021-07-06 12:24:26 +02:00
Francisco
daeac91aea
Merge pull request #16604 from jia200x/pr/lora/fix_rx_timeout_size
...
netdev/lora: fix size of NETOPT_RX_SYMBOL_TIMEOUT
2021-07-06 12:15:00 +02:00
Marian Buschsieweke
3d76875f38
drivers/cc110x: style fixes
2021-07-06 10:12:21 +02:00
Francisco Acosta
0efc13602f
drivers/cc110x: add power off (sleep) functions
2021-07-06 10:11:55 +02:00
Jose Alamos
2e5b7f9e31
sx126x: add support for multiple simultaneous variants
2021-07-05 16:02:15 +02:00
Jose Alamos
26ead7b5be
drivers/sx127x: fix size of rx symbol timeout
2021-07-01 11:58:34 +02:00
Kevin "Tristate Tom" Weiss
25c871ed9a
Merge pull request #16576 from jia200x/pr/netdev/migrate_dst_filter
...
ieee802154: migrate `netdev_ieee802154_dst_filter` to a common ieee802154
2021-06-29 10:50:08 +02:00
Jose Alamos
dfeb57b7f8
netdev_ieee802154: deprecate netdev_ieee802154_dst_filter
2021-06-23 16:44:07 +02:00
Benjamin Valentin
c1eead925d
drivers/slipdev: register with netdev
2021-06-21 12:42:03 +02:00
Benjamin Valentin
9a548b834f
drivers/ethos: register with nedev
2021-06-11 12:31:37 +02:00
Benjamin Valentin
2467c84634
drivers/ethos: enable multiple instances
2021-06-11 12:31:37 +02:00
benpicco
41bbafdfe4
Merge pull request #16328 from benpicco/driver/lis2dh12-cleanup
...
drivers/lis2dh12: clean up API
2021-06-03 15:33:04 +02:00
Benjamin Valentin
392bacd9c7
drivers/lis2dh12: add support for temperature sensor
2021-06-03 12:59:50 +02:00
Benjamin Valentin
28148b7dc3
drivers/lis2dh12: general cleanup
...
Don't expose raw register values for the user to figure out
2021-06-03 12:59:50 +02:00
Benjamin Valentin
e8264d3ea9
drivers/lis2dh12: fix event handling
...
Don't push event handling to the user.
2021-06-03 12:59:50 +02:00
39094d0833
drivers/sx127x: uncrustify code
2021-05-18 11:00:44 +02:00
Jnae
b287d120ff
at86rf215: timestamp counter for rx frames
2021-05-12 15:27:36 +02:00
benpicco
619a444741
Merge pull request #16347 from benpicco/drivers/rtt_rtc-rtc_get_time_ms
...
drivers/rtt_rtc: implement rtc_get_time_ms()
2021-05-05 19:13:21 +02:00
benpicco
2b6454a2d7
Merge pull request #16106 from fabian18/ieee802154_security_small_bugfix_and_stricter_names
...
net/ieee802154_security: small bugfix and stricter names
2021-05-03 11:29:43 +02:00
Benjamin Valentin
dcebc7d480
drivers/rtt_rtc: implement rtc_get_time_ms()
...
RTC on RTT usually runs at a frequency greater than 1 Hz, so sub-second
precision is available.
Add a function to get the current RTC timestamp together with it's sub-second
component.
2021-05-03 00:09:18 +02:00
benpicco
0493292ef3
Merge pull request #15908 from benpicco/drivers/periph_common-flashpage
...
drivers/periph: flashpage: add common helper functions
2021-04-27 18:54:10 +02:00
Benjamin Valentin
d611a264fd
drivers/cc2420: register with netdev
2021-04-27 17:37:52 +02:00
Benjamin Valentin
917cf85225
drivers/periph: flashpage: add common helper functions
2021-04-27 16:52:36 +02:00
Fabian Hüßler
7036c2b9ee
sys/net/link_layer/ieee802154: fix small typos
2021-04-27 08:54:19 +02:00
Benjamin Valentin
45fbcee7dc
drivers/soft_uart: fix typo in eMail address
...
Somehow an extra letter has sneaked into the mail and was copy & pasted
around.
2021-04-26 17:15:17 +02:00
Benjamin Valentin
db0edd3ec1
drivers/lis2dh12: power mode -> resolution
...
This is easier to understand.
2021-04-23 17:21:04 +02:00
Bas Stottelaar
cc645c083e
Merge pull request #15684 from iosabi/drv_si705x
...
drivers/si70xx: Add support for Si705x sensors
2021-04-21 22:29:01 +02:00
Marian Buschsieweke
855a6fa36a
Merge pull request #16296 from fabian18/nrf24l01p_ng_eui_get
...
drivers/nrf24l01p_ng: add hook nrf24l01p_ng_eui_get()
2021-04-21 13:56:30 +02:00
iosabi
f72efb1daf
drivers/si70xx: Add support for Si705x sensors
...
The Silicon Labs Si705x sensors (Si7050/1/3/4/5) are very similar to the
Si7021 sensors featuring only a temperature sensor and no humidity
sensor. The only difference between the Si705x is the temperature
accuracy of the reading, ranging from +/- 0.1 C in the Si7051 to +/- 1 C
in the Si7050.
This patch adds support for this family of sensors extending the
functionality of the existing si70xx driver. Following the style of
other modules, this implements a pseudomodule per supported chip, adding
si7050, si7051, si7053, si7054 and si7055 pseudomodules.
As a minor change this patch also implements the missing
si70xx_get_serial, si70xx_get_id and si70xx_get_revision functions that
were declared in the si70xx.h header but implemented as private
functions. The si70xx_get_id() may be relevant for the application to
know at run time exactly which version of the hardware is installed.
The updated test running with a Si7051 shows the following output, which
seems consistent with the room temperature conditions during the test.
```
make SI70XX_VARIANT=si7051 -C tests/driver_si70xx/ all flash
```
```
SI70XX temperature and humidity sensor test application
Initializing sensor...
[OK]
Found SI7051 sensor, revision 32
temperature: 24.71 C
temperature: 24.69 C
```
2021-04-17 20:14:35 +00:00
benpicco
fa8057ffbf
Merge pull request #16180 from nicoHarel/drivers/ds3231
...
drivers/ds3231: add alarm support
2021-04-13 13:57:16 +02:00
Fabian Hüßler
f5f2decfa4
nrf24l01p_ng: add hook nrf24l01p_ng_eui_get()
2021-04-09 17:39:40 +02:00
6ee94bdcdf
Merge pull request #16222 from fjmolinas/pr_driver_sgp30
...
driver/sgp30: initial import
2021-04-09 14:00:38 +02:00
Marian Buschsieweke
93ba8bea3b
Merge pull request #16286 from fabian18/cc110x_eui_get
...
drivers/cc110x: add hook cc1xxx_eui_get()
2021-04-08 12:51:46 +02:00
Fabian Hüßler
d8affca746
drivers/cc110x: add weak function cc1xxx_eui_get()
2021-04-08 10:38:16 +02:00
Francisco Molina
478624cbb6
driver/sgp30: initial import
2021-04-08 10:14:30 +02:00
Leandro Lanzieri
e7732d9a00
Merge pull request #16217 from fjmolinas/pr_driver_sm_pwm_01c
...
drivers/sm_pwm_01c: initial import
2021-04-08 09:04:38 +02:00
Francisco Molina
240c016143
drivers/sm_pwm_01c: initial import
2021-04-07 12:05:09 +02:00
Nicolas Harel
c710aff9c6
drivers/ds3231: add alarm support
...
tests/driver_ds3231
drivers/ds3231: add alarm support with IRQ
drivers/ds3231: alarm support and documentation
drivers/ds3231: alarm interrupt with mutex
drivers/ds3231: alarm, _unlock function
fixup! drivers/ds3231: add alarm support
2021-04-06 14:48:31 +02:00
2fb6a11407
drivers/flashrom: remove deprecated flashrom API (since 2017)
2021-04-05 17:06:24 +02:00
0b5b9bd80f
drivers: add implementation for sx126x lora radio
2021-03-30 16:12:39 +02:00
Marian Buschsieweke
1d0ee42046
drivers/at86rf2xx: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
08063bebfe
drivers/at86rf215: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
fba104c2ce
drivers/kw2xrf: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
a18ec987bf
drivers/mrf24j40: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
52c8be9da9
drivers/mrf24j40: drop unused define
...
MRF24J40_OPT_REQ_AUTO_ACK is never used and wrongly documented. Let's
just drop it.
2021-03-22 08:15:53 +01:00
chrysn
3a719c69c7
doc/SAUL: State expectations on blocking and interrupts
2021-03-21 14:35:01 +01:00
Marian Buschsieweke
40859b61f0
drivers/periph_spi: fix Doxygen commands
...
use @retval to document individual return values rather than @return
2021-03-17 10:34:20 +01:00
benpicco
2614831c86
Merge pull request #16137 from maribu/stm32_rtt
...
drivers/periph_rtt: add periph_rtt_set_counter feautre
2021-03-08 16:53:57 +01:00
Francisco
d369dffb4f
Merge pull request #14339 from aabadie/pr/sys/auto_init_screen
...
drivers: sys/auto_init: pkg/lvgl: setup disp_dev, touch_dev and lvgl auto_init
2021-03-04 19:23:32 +01:00
Marian Buschsieweke
b9cb75fedf
drivers/periph/rtt: add periph_rtt_set_counter feature
...
Some periph_rtt implementations do not provide `rtt_set_counter()`. This
adds `periph_rtt_set_counter` as feature to allow testing for its
availability. The feature is provided at CPU level if periph_rtt is
provided by the board for all CPUs implementing `rtt_set_counter()`.
2021-03-04 18:05:06 +01:00
benpicco
753c833109
Merge pull request #15871 from jan-mo/feat/20210120_lis2dh12_extension
...
driver_lis2dh12: functionality extension
2021-03-04 15:20:55 +01:00
Jan Mohr
4598602176
drivers/lis2dh12: functionality extension
2021-03-04 00:43:04 +01:00
c1c9785da1
drivers/usbdev_mock: add to drivers_misc category
2021-03-03 18:09:39 +01:00
d227a117a2
drivers/screen_dev: add a bit of documentation
2021-03-03 18:04:42 +01:00
1362c61abb
drivers/stmpe811: add runtime configurable event callback
2021-03-03 18:00:49 +01:00
528d884b5d
drivers/touch_dev: extend API to set event callback function
2021-03-03 18:00:49 +01:00
0f9693b18f
drivers/touch_dev: add touch driver registry
2021-03-03 18:00:48 +01:00
f4bc980236
drivers/disp_dev: add display driver registry
2021-03-03 18:00:48 +01:00
Jean Pierre Dudey
a30184b5a9
Merge pull request #15896 from maribu/spi-api-cleanup
...
drivers/periph/spi: clean up error codes and doc
2021-02-27 01:09:49 +01:00
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
...
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
Memiks
e6cb7392d7
drivers/bmx280: remove unused parameter spi3w_en #15954
2021-02-16 09:04:08 +09:00
Marian Buschsieweke
acd9f4cc1a
drivers/periph_ptp: fix adjustment API
...
The clock adjustment API only used a 16 bit integer for speed correction. This
is to course grained to allow compensating clock drifts at high accuracy.
Using a 32 bit integer instead would allow to fix for a drift of up to
about 1 nanosecond drift per each 5 seconds.
That ought to be enough for anyone! (*cough* *cough*)
2021-02-10 09:55:52 +01:00
Francisco Molina
85caf7cbc7
drivers/flashpage: add FLASHPAGE_ERASE_STATE definition
2021-02-09 11:11:46 +01:00
benpicco
a5e5ec5215
Merge pull request #15897 from bergzand/pr/riotboot/flashwrite_remove_flashpage_size
...
riotboot/flashwrite: Remove last dependencies on flashpage size
2021-02-01 17:21:09 +01:00
Jens Wetterich
533428448d
drivers/ina3221: Add docs to SAUL group
2021-02-01 14:31:11 +01:00
Jens Wetterich
8dff7b57ad
drivers/ina3221: Fix compatibility with C++
2021-02-01 14:31:11 +01:00
c93c3e46d6
flashpage: Support non uniform flashpage sizes
2021-02-01 14:27:22 +01:00
Marian Buschsieweke
ae79f5fc59
drivers/periph/spi: clean up error codes and doc
...
- Use negative errno as error codes, rather than home-grown enums
- Update the home-grown enum with negative errno codes for backward
compatibility and mark it deprecated
- Update API doc to use negative errno codes
- Fix various style issues in Doxygen doc
- Use `@retval` to document specific return values instead of abusing
`@return` for this
- Align parameters to proper indent level
2021-02-01 11:02:14 +01:00
Benjamin Valentin
e8bbe1d1c7
mtd: re-add mtd_write_page()
...
Add a write_page() command that performs a read-modify-write cycle
if necessary.
2021-01-28 11:51:28 +01:00
Benjamin Valentin
60eb75da3c
mtd: rename mtd_write_page() -> mtd_write_page_raw()
...
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
d8918c24fa
socket_zep: register with netdev
2021-01-25 22:59:01 +01:00
Fabian Hüßler
7d618afa17
nrf24l01p_ng: make use of netdev_register()
2021-01-24 20:49:39 +01:00
Fabian Hüßler
063ff60890
drivers/include: add NETDEV_NRF24L01P_NG
2021-01-24 20:49:39 +01:00
fabian18
f7a77ebb04
drivers/nrf24l01p_ng: netdev driver for nrf24l01+
...
The driver uses the netdev interface. Due to the limited
capabilities of the transceiver (32 byte FIFO and no source address in the layer2 frame),
it relies on 6LowPAN compression and adds the source address to the frame for that.
2021-01-24 20:49:39 +01:00
Jean Pierre Dudey
273721efc0
drivers: add bq2429x power management IC driver
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-22 19:30:12 +01:00
0eba27161e
cst816s: Initial include of cst816s touch screen driver
2021-01-14 18:17:51 +01:00
Francisco Molina
960e0c5f43
sys/ieee802154/submac: add handling of invalid CRC frames
2021-01-13 23:42:45 +01:00
ac9d8e603e
drivers/pca9685: fix typo (oscilator => oscillator)
2021-01-08 10:15:33 +01:00
Martine Lenders
640ff4f5d8
Merge pull request #15609 from maribu/ethernet-rx-timestamp
...
sys/net/gnrc/netif/ethernet: Support RX timestamp
2021-01-07 19:53:52 +01:00
Marian Buschsieweke
f6bca70d11
sys/net/gnrc/netif/ethernet: Support RX timestamp
2021-01-06 20:30:14 +01:00
quangphhr
afa723b2f7
drivers/hsc: add driver for honeywell pressure and temperature sensor
2021-01-06 10:22:17 +01:00