Benjamin Valentin
c1eead925d
drivers/slipdev: register with netdev
2021-06-21 12:42:03 +02:00
Benjamin Valentin
9fbab8f0f8
drivers/slipdev: report NETOPT_ADDRESS to simulate l2 address
...
A lot of things break if `GNRC_NETIF_FLAGS_HAS_L2ADDR` is not set.
In order to handle router advertisements and auto-configureation,
generate a faux l2 address based on the netdev ID.
2021-06-21 12:42:03 +02:00
Jose Alamos
d4941604d9
drivers/sx126x: fix netdev send function
...
This commit fixes the send function of sx126x. The loop that reads the
iolist was not considering the offset. Therefore each iolist snippet was
being written into the first position.
The loop was also setting the payload length to the size of the iolist
snippet. Then the payload was also wrong.
With this commit an iolist is copied sequentially into the framebuffer
and the payload length is set to `iolist_size`
2021-06-18 12:19:16 +02:00
José Alamos
9954ac8166
Merge pull request #16553 from fjmolinas/pr_ztimer_enable_rtt
...
ztimer: pull ztimer_periph_rtt for ZTIMER_MSEC if available
2021-06-16 13:01:39 +02:00
Francisco Molina
3e4e664071
ztimer: remove duplicate dependencies
2021-06-16 11:18:25 +02:00
Kevin "Tristate Tom" Weiss
a397bbb713
Merge pull request #16550 from MrKevinWeiss/pr/fix/kconfigtests
...
drivers/sm_pwm_01c: remove checksum in Kconfig
2021-06-15 15:30:01 +02:00
MrKevinWeiss
c30a191d46
drivers/sm_pwm_01c: remove checksum in Kconfig
2021-06-15 11:17:41 +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
aec6445798
drivers/{disp,touch}_dev: pull auto_init_screen by default
2021-05-25 14:21:58 +02:00
39094d0833
drivers/sx127x: uncrustify code
2021-05-18 11:00:44 +02:00
=
6d51ac8622
drivers/w5100/w5100.c: fix TX_WR register's value
2021-05-15 14:34:55 +08:00
Jnae
b287d120ff
at86rf215: timestamp counter for rx frames
2021-05-12 15:27:36 +02:00
Gunar Schorcht
4cd8ff58c3
Merge pull request #16454 from IchiroKuroki/ccs811_full_default_config
...
drivers/ccs811: fix default config for ccs811_full
2021-05-06 12:06:16 +02:00
Ichiro Kuroki
216943588e
drivers/ccs811: fix default config for ccs811_full
2021-05-06 06:47:17 +03: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
Benjamin Valentin
eb7dfdb6ad
drivers/periph: flashpage: fix type error
2021-04-28 14:17:42 +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
Hauke Petersen
9aa2154d3a
driver/bmx280: remove unused xtimer dependency
2021-04-27 14:24:28 +02:00
Fabian Hüßler
346f92f663
sys/net/link_layer/ieee802154: stricter names for security types
...
stricter prefixing of security related types and constants with
"ieee802154_sec_"
2021-04-27 08:54:19 +02:00
Fabian Hüßler
7036c2b9ee
sys/net/link_layer/ieee802154: fix small typos
2021-04-27 08:54:19 +02:00
Fabian Hüßler
750435509e
drivers/at86rf2xx: remove get NETOPT_ENCRYPTION_KEY
...
setting NETOPT_ENCRYPTION_KEY in device driver was redundant
because it is also done in the ieee802154 netdev driver
and the key is transfered to the hardware in the ieee802154
security implementation
2021-04-27 08:54:19 +02:00
Marian Buschsieweke
8a7f3ab6fa
Merge pull request #16393 from fabian18/bug_nrf24l01p_ng_set_address_on_p1
...
drivers/nrf24l01p_ng: bugfix netdev::set NETOPT_ADDRESS
2021-04-26 20:11:38 +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
Fabian Hüßler
0eed306d94
drivers/nrf24l01p_ng: bugfix netdev set address
...
The NETOPT_ADDRESS option of the nrf24l01p_ng driver modified the address of pipe 0 but the main listening
address was designed to be the address of pipe 1.
2021-04-26 11:56:33 +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
Akshai M
2cf081b509
cpu/stm32wl: Flashpage configuration
2021-04-20 21:04:36 +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
Antonio Galea
afb39700ae
drivers/ds18: missing "board.h" include
2021-04-14 17:52:08 +02:00
benpicco
fa8057ffbf
Merge pull request #16180 from nicoHarel/drivers/ds3231
...
drivers/ds3231: add alarm support
2021-04-13 13:57:16 +02:00
Francisco Molina
7079525b35
drivers/sgp30: unused variable when DEVELHELP=0
2021-04-09 18:19:33 +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
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
Benjamin Valentin
f3c1106c9e
cpu/nrf52: add SAUL driver for VDDH sensor
2021-03-17 15:35:23 +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
Leandro Lanzieri
8d345260d9
drivers/sht3x: add module to Kconfig
2021-01-21 11:22:30 +01:00
Leandro Lanzieri
e6dead79d9
drivers/sht2x: add module to Kconfig
2021-01-21 11:22:30 +01:00
Leandro Lanzieri
6ecac5548a
drivers/sht1x: add modules to Kconfig
2021-01-21 11:22:30 +01:00
Leandro Lanzieri
95206d0346
kconfig/saul: select phydat and enable saul_registry by default
2021-01-21 11:22:30 +01:00
Leandro Lanzieri
a97e786e81
drivers/servo: add module to Kconfig
2021-01-21 11:22:29 +01:00
Leandro Lanzieri
c212fe3512
drivers/seesaw_soil: add module to Kconfig
2021-01-21 11:22:06 +01:00
Leandro Lanzieri
3b46124954
drivers/sds011: add module to Kconfig
2021-01-21 11:22:06 +01:00
Leandro Lanzieri
7d489936cf
drivers/sdp3x: add modules to Kconfig
2021-01-21 11:22:06 +01:00
Leandro Lanzieri
50946f8b0d
drivers/scd30: add module to Kconfig
2021-01-21 11:22:03 +01:00
Marian Buschsieweke
0bc08dfbbc
drivers/dfplayer: fix error handling
...
The error code was previously overwritten :-/ this clearly is not how it is
intended to work.
2021-01-21 10:36:24 +01:00
Marian Buschsieweke
bc2a225e53
drivers/at86rf2xx: fix null pointer check
...
check if argument is NULL *before* using it :-)
2021-01-21 10:23:40 +01:00
Leandro Lanzieri
c0ff2e04d6
drivers/ws281x: add modules to Kconfig
2021-01-21 10:02:34 +01:00
Leandro Lanzieri
2c7616d7d5
drivers/veml6070: add module to Kconfig
2021-01-21 10:02:34 +01:00
Leandro Lanzieri
80cc89510b
drivers/vcnl40x0: add modules to Kconfig
2021-01-21 10:02:34 +01:00
Leandro Lanzieri
977b517229
drivers/usbdev_mock: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
b4696a6d08
drivers/tsl4531x: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
13f1b70d25
drivers/tsl2561: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
cce98d2288
drivers/tps6274x: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
ddbf155cdb
drivers/touch_dev: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
c8e0e49943
drivers/tmp00x: add modules to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
c3c7040d6c
drivers/tja1042: add module to Kconfig
2021-01-21 10:02:27 +01:00
Leandro Lanzieri
785148dd6c
drivers/tcs37727: add module to Kconfig
2021-01-21 10:02:27 +01:00
Francisco
b46116d77e
Merge pull request #15607 from leandrolanzieri/pr/kconfig/drivers_lmn
...
drivers/{l, m, n}*: add modules to Kconfig
2021-01-18 11:45:46 +01:00
Leandro Lanzieri
d8cf1c9440
drivers/nvram_spi: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
bfacb78f31
drivers/nvram: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
52b838b877
drivers/ncv7356: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
4ada286f89
drivers/mtd_spi_nor: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
b3df3cf931
drivers/mtd_sdcard: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
db3349d052
drivers/mtd_mci: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
1950f5a532
drivers/mtd_mapper: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
105001a977
drivers/mtd_flashpage: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
c574ac999e
drivers/mq3: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
91e88522af
drivers/mpu9x50: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
b959e3a11e
drivers/mpl3115a2: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
a69b854b17
drivers/motor_driver: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
245a04b612
drivers/mma7660: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
d22ef9087d
drivers/mma8x5x: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
e977dec8fb
drivers/mhz19: add modules to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
a155b3f28e
drivers/mcp2515: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
22bc6a7935
drivers/mag3110: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
ab150978ae
drivers/ltc4150: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
a8d6e2757e
drivers/lsm303dlhc: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
deaf974650
drivers/lsm6dsl: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
d037a5a949
drivers/lpsxxx: add modules to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
51cf04da09
drivers/lpd8808: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
c58f64a23b
drivers/lis3mdl: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
29f4c7b678
drivers/lis3dh: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
ffc7764ef9
drivers/lis2dh12: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
5d487d60b7
drivers/lc709203f: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
24968e71eb
drivers/l3g4200d: add module to Kconfig
2021-01-18 10:42:31 +01:00
Francisco Molina
8ba1a37b2a
drivers/mcp2515: move dependencies to own Makefile.dep
2021-01-18 10:28:51 +01:00
Francisco
8e40f6a653
Merge pull request #15708 from leandrolanzieri/pr/kconfig/drivers_opqr
...
drivers/{o, p, q, r}*: add modules to Kconfig
2021-01-18 10:06:09 +01:00
0eba27161e
cst816s: Initial include of cst816s touch screen driver
2021-01-14 18:17:51 +01:00
Leandro Lanzieri
4ccf5df6d3
drivers/rtt_rtc: add module to Kconfig
2021-01-14 10:00:44 +01:00
Leandro Lanzieri
7f8ae85d36
drivers/rn2xx3: add modules to Kconfig
2021-01-14 10:00:43 +01:00
Leandro Lanzieri
073672815a
drivers/rgbled: add module to Kconfig
2021-01-14 10:00:43 +01:00
Leandro Lanzieri
bc1593d726
drivers/pn532: add modules to Kconfig
2021-01-14 10:00:43 +01:00
Leandro Lanzieri
26e2e7548f
drivers/qmc5883l: add module to Kconfig
2021-01-14 10:00:43 +01:00
Leandro Lanzieri
ded45e8d5f
drivers/pulse_counter: add module to Kconfig
2021-01-14 10:00:43 +01:00
Leandro Lanzieri
697f61f41a
drivers/pir: add module to Kconfig
2021-01-14 10:00:43 +01:00
Leandro Lanzieri
7322a9d8c9
drivers/ph_oem: add module to Kconfig
2021-01-14 10:00:42 +01:00
Leandro Lanzieri
0011632ca7
drivers/pcd8544: add module to Kconfig
2021-01-14 10:00:42 +01:00
Leandro Lanzieri
20f76a368d
drivers/pca9685: add module to Kconfig
2021-01-14 10:00:42 +01:00
Leandro Lanzieri
354a37b9ae
drivers/pca9633: add module to Kconfig
2021-01-14 10:00:42 +01:00
Leandro Lanzieri
8778e6c538
drivers/opt3001: add module to Kconfig
2021-01-14 10:00:40 +01:00
Francisco Molina
960e0c5f43
sys/ieee802154/submac: add handling of invalid CRC frames
2021-01-13 23:42:45 +01:00
Jose Alamos
728b84dc69
netdev_ieee802154_submac: use RSSI in dBm
2021-01-13 14:14:45 +01:00
Bas Stottelaar
c42c3475bf
drivers/bmx280: add missing _release
2021-01-12 23:47:08 +01:00
=
b0af54f93b
drivers/w5100/w5100.c: correct pointer position
2021-01-09 09:42:42 +08:00
e89ba86244
drivers/at86rf215: fix ENABLE_DEBUG definition
2021-01-08 14:37:33 +01:00
8acf9398e8
Merge pull request #15723 from aabadie/pr/tools/codespell_fixes
...
tools/codespell: fix new typos found by recent version + add new ignored words
2021-01-08 11:01:49 +01:00
ac9d8e603e
drivers/pca9685: fix typo (oscilator => oscillator)
2021-01-08 10:15:33 +01:00
Gerson Fernando Budke
1426e15679
cpu/avr8_common: Normalize method prefix name
...
Refactor atmega_ prefix to avr8_ prefix and update copyrights.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-01-07 16:29:42 -03: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
Marian Buschsieweke
e5a0154255
Merge pull request #14660 from maribu/netdev_confirm_send
...
drivers/net: Add netdev_driver_t::confirm_send
2021-01-05 16:11:20 +01:00
Marian Buschsieweke
53fcb97b2f
drivers/net: Add netdev_driver_t::confirm_send
...
Changed the API of `netdev_driver_t`:
- The `send()` function should no longer return the number of bytes and should
not block
- The upper layer now must call the new `confirm_send()` function after
calling `send()`; either busy waiting until something different to `-EBUSY`
is returned, or after `NETDEV_EVENT_TX_COMPLETE` was signaled
During transition to the new API, the upper layer must remain backward
compatible and must assume the legacy API if `netdev_driver_t::confirm_send()`
is `NULL`.
2021-01-05 15:34:11 +01:00
Leandro Lanzieri
675ddb6ccc
drivers/pn532: use pseudomodules to select i2c or spi
2021-01-04 16:55:16 +01:00
Jens Wetterich
e36a0d883a
esp_common/esp_now: use netdev_register()
2020-12-23 19:44:57 +01:00
benpicco
770bda165a
Merge pull request #15571 from iosabi/drv_si1133
...
drivers/si1133: New SI1133 UV/IR/Ambient light driver
2020-12-14 08:41:00 +01:00
iosabi
ce76125a22
drivers/si1133: New SI1133 UV/IR/Ambient light driver
...
The SI1133 from Silicon Labs is a UV Index Sensor and Ambient Light
Sensor in a small 2x2 mm DFN package. The sensor can measure
independently ultra violet (UV) light, infra red (IR) light and
ambient light, however the ambient light is also influenced by the
IR light requiring compensation from the IR readings.
The SI1133 is quite different from other Silicon Labs chips in RIOT OS
and therefore needs its own driver. In particular, the SI1133 has 7
different photodiode configurations to read but only 6 channels to
read them in parallel so only some channels can be read each time.
This patch implements a new driver allowing to read the data directly
and a saul interface for the three kinds of light source. There are
many configuration options including interrupts and continous modes
that are left out of this initial driver.
2020-12-14 03:13:23 +00:00
dylad
7cbaa3f890
net/netdev: create SAM0 Ethernet entry in netdev_type_t
2020-12-13 21:41:20 +01:00
Benjamin Valentin
79c75300b1
drivers/mtd_spi_nor: enter 4-byte address mode needs write enable
2020-12-12 18:36:16 +01:00
chrysn
272c8d29cc
Merge pull request #13908 from benpicco/periph/dac_play
...
drivers/periph_common: dac: add dac_play()
2020-12-11 07:31:44 +01:00
benpicco
1477a340fe
Merge pull request #15150 from fabian18/ieee802154_security
...
Initial implementation of IEEE 802.15.4 security
2020-12-09 14:14:27 +01:00
Martine Lenders
1feacd1b88
Merge pull request #15583 from benpicco/byteorder_htols
...
drivers, sys: use byteorder_htols()
2020-12-08 20:15:19 +01:00
Leandro Lanzieri
06a06c32e3
Merge pull request #15573 from akshaim/Kconfig_rn2xx3_update
...
drivers/rn2xx3 : Kconfig updates.
2020-12-08 15:20:25 +01:00
Benjamin Valentin
7a7ebb1d5b
drivers/mrf24j40: use byteorder_htols()
...
same as 374d032b82
2020-12-08 13:40:57 +01:00
Benjamin Valentin
26bcaf94b5
drivers/at86rf2xx: use byteorder_htols()
...
same as 374d032b82
2020-12-08 13:40:24 +01:00
Akshai M
95394c4ba7
drivers/rn2xx3 : Update Kconfig
...
Expose CONFIG_RN2XX3_DEFAULT_AR to Kconfig
2020-12-08 11:34:03 +01:00
Akshai M
bfd3a903fb
drivers/rn2xx3 : r/LORAMAC_DEFAULT_AR/CONFIG_RN2XX3_DEFAULT_AR
...
Move 'LORAMAC_DEFAULT_AR' to drivers/rn2xx3 i.e
'RN2XX3_DEFAULT_AR'
Move 'RN2XX3_DEFAULT_AR' to 'CONFIG_' namespace
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-12-08 11:33:44 +01:00
Francisco
d0082c6e48
Merge pull request #15561 from leandrolanzieri/pr/kconfig/drivers_bmx280_itg320x/fix_deps
...
drivers/{bmx280, itg320x}: fix Kconfig deps
2020-12-08 10:12:57 +01:00
Benjamin Valentin
ceb3f8443a
drivers/dac_dds: add module to play sample buffer over a DAC
...
This adds an API function to play a buffer of Audio samples using a DAC.
Double buffered operation is supported by specifying a callback that will
be called when the next buffer can be queued with dac_dds_play().
2020-12-04 23:12:32 +01:00
Leandro Lanzieri
792ea6efce
drivers/itg320x/kconfig: fix interrupt submodule dependency
2020-12-04 11:36:15 +01:00
Leandro Lanzieri
7d02037f87
drivers/bmx280/kconfig: show module only while testing Kconfig deps
2020-12-04 11:36:15 +01:00
Fabian Hüßler
f074e8a635
drivers/at86rf2xx: Use hardware security for IEEE 802.15.4 security
2020-12-04 09:40:55 +01:00
Fabian Hüßler
1b5bcec554
drivers/netdev: Add IEEE 802.15.4 security
2020-12-04 09:40:55 +01:00
Akshai M
d65a4b3f97
drivers/ili9341 : Update documentation
2020-12-03 14:20:34 +01:00