Marian Buschsieweke
80aaf265d6
drivers/sht1x: fix various style issues
2021-04-01 10:17:28 +02:00
0b5b9bd80f
drivers: add implementation for sx126x lora radio
2021-03-30 16:12:39 +02:00
Marian Buschsieweke
3a378c24a2
drivers/cc2420: 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
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
134f323fb1
drivers/kw41zrf: 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
benpicco
ee5b70730b
Merge pull request #15758 from nandojve/avr8_xmega
...
Introduce ATxmega CPU and Boards
2021-03-20 22:09:07 +01:00
Leandro Lanzieri
842ea31151
Merge pull request #16201 from maribu/periph_spi_doc_fix
...
drivers/periph_spi: fix Doxygen commands
2021-03-18 19:26:11 +01:00
José Alamos
21390849bf
Merge pull request #16188 from aabadie/semtech-loramac_netdev
...
pkg/semtech-loramac: refactor to use netdev API only
2021-03-18 13:11:32 +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
xuke
0c39c2321f
drivers/soft_spi:fix soft spi transfer bug
2021-03-17 09:41:54 +08:00
Gerson Fernando Budke
9cbe8bceeb
drivers/ws281x/Kconfig: Select mega cpu by cpu_core
...
The current MODULE_WS281X_ATMEGA only supports ATmega core.
This update Kconfig to select MODULE_WS281X_ATMEGA module by
CPU_CORE_AVR_MEGA instead HAS_ARCH_AVR8.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
0ea3b0bac1
drivers/sx127x: expose RSSI value via netdev
2021-03-12 10:29:45 +01:00
Leandro Lanzieri
fe5c982fa6
drivers/Makefile.dep: don't pull netdev on netdev_default
...
netdev_default should enable the network devices, which do not
necessarily use netdev.
2021-03-10 14:18:12 +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
Marian Buschsieweke
ab89234040
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-08 14:16:46 +01:00
Jean Pierre Dudey
e54af1ce40
Merge pull request #16136 from silkeh/pr/bme280-pa
...
driver/bmx280: increase accuracy of SAUL pressure readings
2021-03-05 11:26:06 +01:00
Silke Hofstra
3ca1162a6a
driver/bmx280: increase accuracy of SAUL pressure readings
...
The SAUL implementation of the BMx280 currently returns the pressure in hPa.
The sensor, however, actually reads the pressure in Pa, leading to a
significant loss of precision.
Because the operation range of the BME280 and BMP280 is 300 hPa to 1100 hPa,
we can safely increase the precision by a factor of 10 without risk of overflow.
The only downside is that readings are now presented as `e1 Pa` (eg 10206e1 Pa).
2021-03-04 21:01:56 +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
f9f394c88b
drivers/stmpe811: add touch_dev set event callback wrapper
2021-03-03 18:00:49 +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
7e1d4c323a
drivers/stmpe811: add config for screen identifiers
2021-03-03 18:00:48 +01:00
f37ec87ae8
drivers/ili9341: add config for screen identifiers
2021-03-03 18:00:48 +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
Jean Pierre Dudey
68c304aabc
drivers/netdev_ieee802154_submac: get NETOPT_IEEE802154_PHY
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Benjamin Valentin
a2396111ee
drivers: remove unused luid dependencies
...
Those drivers don't rely on luid anymore, we can drop the dependency.
2021-02-25 22:10:14 +01:00
chrysn
9cbc6042e3
drivers/saul: Fix "%u" print formatter
2021-02-23 18:02:06 +01:00
Francisco
c91499997e
Merge pull request #16030 from benpicco/drivers/mtd_flashpage-fix_native
...
drivers/mtd_flashpage: fixes for native (and stm32l0, stm32l4)
2021-02-23 15:12:06 +01:00
Benjamin Valentin
127b46eea3
drivers/mtd_flashpage: require read source & destination alignment
2021-02-23 10:59:17 +01:00
Benjamin Valentin
0b79ae3524
drivers/mtd_flashpage: require the write source buffer to be aligned
2021-02-22 11:27:07 +01:00
benpicco
2f919877c0
Merge pull request #15987 from benpicco/drivers/mtd_spi_nor-fix
...
drivers/mtd_spi_nor: fix poll on init
2021-02-22 11:16:29 +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
benpicco
8348437713
Merge pull request #16039 from chudov/drivers/at86rf2xx_aes_spi/module_name_fix
...
drivers/at86rfr2xx: usage of module at86rf2xx_aes_spi fixed
2021-02-18 18:10:10 +01:00
benpicco
d6c5bf4295
Merge pull request #16038 from chudov/drivers/at86rf2xx_netdev.c/trx24_rx_start_isr_fix
...
drivers/at86rf2xx: add missing handler for TRX24_RX_START interrupt
2021-02-18 15:02:29 +01:00
Benjamin Valentin
177f73c789
drivers/mtd_flashpage: make use of uword_t
2021-02-18 14:22:11 +01:00
chudov
762716049d
drivers/at86rfr2xx: usage of module at86rf2xx_aes_spi fixed
2021-02-17 20:47:18 +01:00
benpicco
cdf8c1c759
Merge pull request #16029 from fabian18/bugfix_nrf24l01p_ng_ard_conversion
...
drivers/nrf24l01p_ng: auto retransmission delay conversion bugfix
2021-02-17 12:02:24 +01:00
Benjamin Valentin
1ca93e0171
drivers/mtd_flashpage: narrow down FLASHPAGE_WRITE_BLOCK_ALIGNMENT check
...
Only check the *write* block alignment, not the *read* or *source* alignment.
2021-02-17 11:18:14 +01:00
chudov
d5c8703c48
drivers/at86rf2xx: add missing handler for TRX24_RX_START interrupt for ATmegaRF MCUs
2021-02-17 01:03:01 +01:00
Fabian Hüßler
85a84aa957
drivers/nrf24l01p_ng: ARD conversion bugfix
2021-02-16 17:36:43 +01:00
Memiks
e6cb7392d7
drivers/bmx280: remove unused parameter spi3w_en #15954
2021-02-16 09:04:08 +09:00
Benjamin Valentin
c1348c80a0
drivers/mtd_spi_nor: fix poll on init
...
The while condition for polling the chip ID is broken, it will always
poll for the max ammount of retries.
Change the condition from `or` to `and` to fix the logic.
fixes #15894
2021-02-11 22:49:42 +01: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
iosabi
2aa7b92884
drivers/lis2dh12: Rename CS ad MODE to avoid conflicts
...
CS and MODE are a bit too generic macros and may conflict with headers
defined by the CPU, like in the QN908x case.
This patch renames them to BUS_CS and BUS_MODE to keep it consistent
with the other BUS names.
2021-01-31 16:27:23 +00:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
...
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
Benjamin Valentin
c569d9a1d9
drivers: add MTD_DRIVER_FLAG_DIRECT_WRITE to mtd drivers
...
- EEPROMs don't need read-modify-write cylce
- SD cards will handle read-modify-write internally
2021-01-28 11:51:28 +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
Akshai M
9600ebf536
net/lorawan : Expose to Kconfig
2021-01-26 16:56:02 +01:00
Akshai M
85c4b5eb3b
net/lorawan : Move 'LORAMAC_DEFAULT_JOIN_DELAY2' to 'CONFIG_'
2021-01-26 16:52:59 +01:00
Akshai M
b6e4e74a87
net/lorawan : Move 'LORAMAC_DEFAULT_JOIN_DELAY1' to 'CONFIG_'
2021-01-26 16:52:59 +01:00
Akshai M
81dac00d5c
net/lorawan : Move 'LORAMAC_DEFAULT_RX2_FREQ' to 'CONFIG_'
2021-01-26 16:52:59 +01:00
Akshai M
d5086ecf60
net/lorawan : Move 'LORAMAC_DEFAULT_RX2_DR' to 'CONFIG_'
...
Added symbols 'CONFIG_LORAMAC_DEFAULT_RX2_DR_XX' to define
choice in Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
d48cee7c2a
net/lorawan : Move 'LORAMAC_DEFAULT_RX1_DELAY' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
ca4acbff12
net/lorawan : Move 'LORAMAC_DEFAULT_LINKCHK' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
e93c362df2
net/lorawan : Move 'LORAMAC_DEFAULT_RETX' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
97d873a5bd
net/lorawan : Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_' namespace and model
'CONFIG_LORAMAC_DEFAULT_ADR' as BOOL for Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
d2d90fbce5
net/lorawan : Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_' and added symbols
for Kconfig exposure
2021-01-26 16:52:58 +01:00
Akshai M
aa3b1da0c4
net/lorawan : Move 'LORAMAC_DEFAULT_TX_PORT' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
3a6c4f2f71
net/lorawan : Move 'LORAMAC_DEFAULT_TX_POWER' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_TX_POWER' to 'CONFIG_' namespace and
assign choices for Kconfig exposure
2021-01-26 16:52:58 +01:00
Akshai M
55f196095d
net/lorawan : Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_' and enable options for
Kconfig
2021-01-26 16:52:58 +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
Francisco
1d9b898e9f
Merge pull request #15717 from leandrolanzieri/pr/kconfig/drivers_s
...
drivers/s*: add modules to Kconfig
2021-01-21 16:49:21 +01:00
Marian Buschsieweke
040aab470a
Merge pull request #15825 from maribu/fix-dfplayer-error-handling
...
drivers/dfplayer: fix error handling
2021-01-21 12:23:34 +01:00
Marian Buschsieweke
d28f74d301
Merge pull request #15824 from maribu/at86rf2xx-fix-null-ptr-check
...
drivers/at86rf2xx: fix null pointer check
2021-01-21 12:18:53 +01:00
Leandro Lanzieri
88f69e1f17
drivers/sx127x: add modules to Kconfig
2021-01-21 11:22:51 +01:00
Leandro Lanzieri
c8cbc2f20e
drivers/stmpe811: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
b8676e02fa
drivers/srf08: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
526a322842
drivers/srf04: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
8a2854ef93
drivers/srf02: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
c1ee0c437f
drivers/sps30: add module to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
d5ca9550e1
drivers/soft_uart: add modules to Kconfig
2021-01-21 11:22:32 +01:00
Leandro Lanzieri
858187dc25
drivers/soft_spi: add module to Kconfig
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
a492400cee
drivers/slipdev: add modules to Kconfig
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
3d480c1d33
drivers/si1133: add module to Kconfig
...
Also remove auto-dependency from Makefile.dep
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
60f60798d1
drivers/si114x: add modules to Kconfig
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
f1f58018ad
drivers/si70xx: add modules to Kconfig
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
1830533428
drivers/shtc1: add module to Kconfig
2021-01-21 11:22:31 +01:00