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
033c1d97f7
sx126x: move pa_cfg to ROM
2021-07-02 11:12:53 +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
Jose Alamos
951822c41b
drivers/sx126x: fix wrong return value in recv function
2021-06-22 16:14:21 +02:00
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
Akshai M
64ddd8384e
drivers/ili9341 : Expose to Kconfig
...
Group display drivers in menuconfig.
2020-12-03 14:20:34 +01:00
Akshai M
9f81956e41
drivers/ili9341 : Model 'CONFIG_ILI9341_LE_MODE' as BOOL
2020-12-03 14:20:34 +01:00
Akshai M
a322c6d4c0
drivers/ili9341 : Move 'ILI9341_VCOML' to 'CONFIG_'
2020-12-03 14:20:34 +01:00
Akshai M
d6935cd7bb
drivers/ili9341 : Move 'ILI9341_VCOMH' to 'CONFIG_'
2020-12-03 14:20:34 +01:00
Akshai M
7bb83f9e01
drivers/ili9341 : Move 'ILI9341_GVDD' to 'CONFIG_'
2020-12-03 14:20:34 +01:00
benpicco
a80631a297
Merge pull request #15074 from maribu/ptp-clock
...
drivers/periph/ptp_clock
2020-12-03 09:59:07 +01:00
Marian Buschsieweke
7d1edd51f4
drivers/periph: Added PTP clock API
2020-12-02 17:53:00 +01:00
benpicco
665c07eb53
Merge pull request #15120 from benpicco/driver/at86rf215-trim
...
driver/at86rf215: add functions to configure trim & clock output at run-time
2020-12-02 16:53:02 +01:00
Benjamin Valentin
95d082a2be
driver/at86rf215: add functions to set trim & clock output at run-time
...
To calibrate the at86rf215 radio, trim value has to be set at run-time
during board production.
Add two helper functions to control the trim value and clock output register.
2020-12-02 14:59:17 +01:00
Leandro Lanzieri
d91e8463bb
drivers/fxos8700: add module to Kconfig
2020-12-02 10:15:01 +01:00
Leandro Lanzieri
a2d31be65b
drivers/feetech: add module to Kconfig
2020-12-02 10:15:00 +01:00
Leandro Lanzieri
af672ca01a
drivers/dynamixel: add module to Kconfig
2020-12-02 10:14:41 +01:00
Leandro Lanzieri
03e94aab1e
drivers/uart_half_duplex: add module to Kconfig
2020-12-02 10:13:50 +01:00
Leandro Lanzieri
fe2c66fd89
drivers/dsp0401: add module to Kconfig
2020-12-02 10:13:11 +01:00
Leandro Lanzieri
2b70d7ab31
drivers/ds3234: add module to Kconfig
2020-12-02 10:13:11 +01:00
Leandro Lanzieri
480840e209
drivers/ds3231: add module to Kconfig
2020-12-02 10:13:11 +01:00
Leandro Lanzieri
53b5f6dac9
drivers/ds1307: add module to Kconfig
2020-12-02 10:13:11 +01:00
Leandro Lanzieri
05e79ed86d
drivers/ds75lx: add module to Kconfig
2020-12-02 10:13:11 +01:00
Leandro Lanzieri
0eb1f03c45
drivers/ds18: add module to Kconfig
2020-12-02 10:13:10 +01:00
Leandro Lanzieri
895be48336
drivers/disp_dev: add module to Kconfig
2020-12-02 10:13:10 +01:00
Leandro Lanzieri
789a197cee
drivers/dht: add module to Kconfig
2020-12-02 10:13:10 +01:00
Leandro Lanzieri
a0f8ad9e8c
drivers/dfplayer: add module to Kconfig
2020-12-02 10:13:08 +01:00
Leandro Lanzieri
d7e9b242e9
drivers/dcf77: add module to Kconfig
2020-12-02 10:12:16 +01:00
Leandro Lanzieri
92b54ecf94
drivers/edbg_eui: add module to Kconfig
2020-12-02 10:12:12 +01:00
Francisco
c9720d16ca
Merge pull request #15515 from leandrolanzieri/pr/kconfig/drivers_ghij
...
drivers/{g,h,i,j}*: add Kconfig modules
2020-12-02 10:03:02 +01:00
Marian Buschsieweke
5c70345aa6
Merge pull request #15537 from fabian18/sx127x_netdev_register
...
drivers/sx127x: use netdev_register()
2020-12-01 21:38:38 +01:00
benpicco
ef0eb9044b
Merge pull request #14954 from benpicco/drivers/at86rf215-netif_pktq
...
drivers/at86rf215: make use of packet queue if available
2020-12-01 17:59:06 +01:00
Fabian Hüßler
c526a34770
sx127x: make use of netdev_register()
...
Call netdev_register() in sx127x_setup()
and pass the index in auto_init_sx127x()
and semtech_loramac_init()
2020-12-01 16:34:11 +01:00
Fabian Hüßler
8ca2e09d95
drivers/include: add NETDEV_SX127X
2020-12-01 16:34:06 +01:00
Marian Buschsieweke
56cf30172f
Merge pull request #15532 from fabian18/cc110x_netdev_register
...
drivers/cc110x: use netdev_register
2020-12-01 16:17:37 +01:00
Benjamin Valentin
7fc042e2a9
drivers/at86rf215: use non-blocking send if gnrc_netif_pktq is active
2020-12-01 16:04:09 +01:00
Fabian Hüßler
39adf908ce
cc110x: make use of netdev_register()
...
Call netdev_register() in cc110x_setup()
and pass the index in auto_init_cc110x()
2020-12-01 12:11:20 +01:00
Fabian Hüßler
320b1c4206
drivers/include: add NETDEV_CC110X
2020-12-01 12:06:12 +01:00
Benjamin Valentin
eb199d4c78
netdev: move definition of NETDEV_INDEX_ANY to netdev
2020-12-01 11:55:06 +01:00
benpicco
333fce44b4
Merge pull request #14973 from benpicco/driver/at86rf215-batmon
...
drivers/at86rf215: implement battery monitor, add power bus
2020-12-01 11:52:46 +01:00
Benjamin Valentin
a28a60f16c
cpu/stm32: periph_eth: register with netdev
2020-11-29 23:10:37 +01:00
Leandro Lanzieri
c74b2ac242
drivers/jc42: add module Kconfig
2020-11-27 09:20:08 +01:00
Leandro Lanzieri
83e1d43009
drivers/itg320x: add modules to Kconfig
2020-11-27 09:20:08 +01:00
Leandro Lanzieri
db82f7a5e2
drivers/isl29125: add module to Kconfig
2020-11-27 09:20:08 +01:00
Leandro Lanzieri
4e99411f2b
drivers/isl29020: add module to Kconfig
2020-11-27 09:20:08 +01:00
Leandro Lanzieri
9c8212c14e
drivers/io1_xplained: add module to Kconfig
2020-11-27 09:20:08 +01:00
Leandro Lanzieri
64c2594dee
drivers/sdcard_spi: add module to Kconfig
2020-11-27 09:20:08 +01:00
Leandro Lanzieri
18c21fb22d
drivers/ina3221: add modules to Kconfig
2020-11-27 09:20:07 +01:00
Leandro Lanzieri
c5ce7e60b5
drivers/ina2xx: add modules to Kconfig
2020-11-27 09:20:07 +01:00
Leandro Lanzieri
c964891d20
drivers/ili9341: add module to Kconfig
2020-11-27 09:20:07 +01:00
Leandro Lanzieri
4fa930dbdd
drivers/hts221: add module to Kconfig
2020-11-27 09:20:07 +01:00
Leandro Lanzieri
4a65b13db2
drivers/hmc5883l: add module to Kconfig
2020-11-27 09:20:07 +01:00
Leandro Lanzieri
3744996a97
drivers/hih6130: add module to Kconfig
2020-11-27 09:20:06 +01:00
Leandro Lanzieri
1dbe39c8ba
drivers/hdc1000: add module to Kconfig
2020-11-27 09:20:06 +01:00
Leandro Lanzieri
3604ac3a69
drivers/hd44780: add module to Kconfig
2020-11-27 09:20:06 +01:00
Leandro Lanzieri
e8180566eb
drivers/my9221: add module to Kconfig
2020-11-27 09:20:06 +01:00
Leandro Lanzieri
39d9a592cb
drivers/gp2y10xx: add module to Kconfig
2020-11-27 09:20:05 +01:00
Leandro Lanzieri
bdd3d98477
drivers/grove_ledbar: add module to Kconfig
2020-11-27 09:20:05 +01:00
Francisco
14877443f7
Merge pull request #15494 from gdiribarne/bugfix/sfr04-avr-overflow
...
drivers/srf04: fix overflow on AVR
2020-11-26 11:14:15 +01:00
Francisco
47ed64fcfd
Merge pull request #15466 from leandrolanzieri/pr/kconfig_drivers_bc
...
drivers/{b,c}*: model modules in Kconfig
2020-11-26 10:44:28 +01:00
1d5e2e9cd9
all: remove traces of kernel_types.h
...
Automatically removed using:
$ git grep -l kernel_types | xargs sed -i '/^#include .kernel_types/d'
2020-11-25 17:52:34 +01:00
Leandro Lanzieri
bf2486a195
drivers/ccs811: add modules to Kconfig
2020-11-25 12:00:39 +01:00
Leandro Lanzieri
dd2e299ce5
drivers/can_trx: add module to Kconfig
2020-11-25 12:00:37 +01:00
Leandro Lanzieri
0494e18a58
drivers/bmx280: add modules to Kconfig
2020-11-25 12:00:14 +01:00
Leandro Lanzieri
008582aa6f
drivers/bmx055: add module to Kconfig
2020-11-25 12:00:14 +01:00
Leandro Lanzieri
2407c18890
drivers/saul: add modules to Kconfig
2020-11-25 12:00:13 +01:00
Leandro Lanzieri
283b1f015d
drivers/periph_common: add temperature peripheral to Kconfig
2020-11-25 12:00:13 +01:00
Leandro Lanzieri
2547880f3a
drivers/bmp180: add module to Kconfig
2020-11-25 12:00:13 +01:00
Leandro Lanzieri
18c937ab69
{drivers/pkg}: add bm680 to Kconfig
2020-11-25 12:00:13 +01:00
Leandro Lanzieri
b2aa5332bf
drivers/bh1900nux: add module to Kconfig
2020-11-25 12:00:12 +01:00
Leandro Lanzieri
e29657dfd2
drivers/bh1750fvi: add module to Kconfig
2020-11-25 12:00:03 +01:00
Jean Pierre Dudey
30134eaaab
drivers/itg320x: pass arg to gpio_init_int
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-24 17:22:47 +01:00
benpicco
b3b07e4e33
Merge pull request #15481 from kaspar030/refactor_thread_defines
...
core: move scheduler defines
2020-11-23 17:56:09 +01:00
0b801c4de0
all: adapt to moved sched defines
2020-11-23 16:56:34 +01:00
Gilles Diribarne
5a5c8507d4
drivers/sfr04: Use uncrustify
2020-11-22 23:12:40 +01:00
Gilles Diribarne
caa1ad822d
drivers/sfr04: Fixed int overflow for AVR (arduino board)
2020-11-22 23:03:21 +01:00
Leandro Lanzieri
93dad87fbf
drivers/ata8520e: add module to Kconfig
2020-11-18 18:38:50 +01:00
Leandro Lanzieri
e3eb807361
drivers/at30tse75x: add module to Kconfig
2020-11-18 18:38:50 +01:00
Leandro Lanzieri
c94216bb7b
drivers/at25xxx: add modules to Kconfig
2020-11-18 18:38:50 +01:00
Leandro Lanzieri
f1028dfe85
drivers/at24mac: add module to Kconfig
2020-11-18 18:38:49 +01:00
Leandro Lanzieri
4d35b803c4
drivers/at24cxx: add modules to Kconfig
2020-11-18 18:38:49 +01:00
Leandro Lanzieri
8abd8bc3d4
drivers/mtd: add module to Kconfig
2020-11-18 18:38:49 +01:00
Leandro Lanzieri
024b70cbe1
drivers/at: add modules to Kconfig
2020-11-18 18:38:48 +01:00
Leandro Lanzieri
bb5370592d
drivers/apds99xx: add module to Kconfig
2020-11-18 18:38:48 +01:00
Leandro Lanzieri
d1127bbb94
drivers/apa102: add module to Kconfig
2020-11-18 18:38:48 +01:00
Leandro Lanzieri
1dfb66dbe8
drivers/aip31068: add module to Kconfig
2020-11-18 18:38:47 +01:00
Leandro Lanzieri
a08fa462fa
drivers/adxl345: add module to Kconfig
2020-11-18 18:38:47 +01:00
Leandro Lanzieri
1ff7e6ffac
drivers/adt7310: add module to Kconfig
2020-11-18 18:38:47 +01:00
Leandro Lanzieri
0dda4863ed
drivers/ads101x: add module to Kconfig
2020-11-18 18:38:46 +01:00
Leandro Lanzieri
6eecaef9dc
drivers/adcxx1c: add module to Kconfig
2020-11-18 18:38:46 +01:00
Leandro Lanzieri
e192857ee8
drivers/ad7746: add module to Kconfig
2020-11-18 18:38:46 +01:00
Bas Stottelaar
34c252d0e6
Merge pull request #15461 from basilfx/feature/efm32_driver_coretemp
...
cpu/efm32: add coretemp driver
2020-11-18 15:08:29 +01:00
e322bfbd47
Merge pull request #15421 from leandrolanzieri/pr/kconfig/native/hello_world
...
Kconfig: add modules to test on native
2020-11-18 15:02:34 +01:00
Bas Stottelaar
e3b15a4cc4
drivers/saul: add auto init for efm32_coretemp
2020-11-18 12:28:45 +01:00
Leandro Lanzieri
2306516d0d
drivers/periph_common: add CPU specific RTC Kconfig
2020-11-18 10:08:00 +01:00
Leandro Lanzieri
1d1a96fb8a
drivers/periph_common/kconfig.gpio: include CPU configs
2020-11-18 10:07:59 +01:00
benpicco
6cf6b47c27
Merge pull request #15445 from btcven/2020_11_05-gp2y10xx
...
drivers: add gp2y10xx dust sensor
2020-11-18 09:56:03 +01:00
Jean Pierre Dudey
e920a2e645
drivers: add gp2y10xx dust sensor
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-18 09:13:56 +01:00
Francisco
fe510cd823
Merge pull request #15439 from leandrolanzieri/pr/drivers/network_devices_remove_netif_dep
...
drivers/network devices: remove unused netif dependency
2020-11-17 12:06:18 +01:00
dad5ca3276
Merge pull request #14953 from benpicco/drivers/mtd_mapper-pagewise
...
mtd_mapper: implement pagewise functions
2020-11-17 11:46:52 +01:00
5d99793bf8
Merge pull request #15431 from haukepetersen/fix_periphrtt_tickconversion
...
periph/rtt: fix overflow in tick conversion macros
2020-11-17 11:07:00 +01:00
Hauke Petersen
c4a8c45a3e
periph/rtt: fix tick conversion macros
2020-11-16 10:00:24 +01:00
Benjamin Valentin
72d0d4c6d7
drivers/at86rf215: fix dependency resolution for 2.4 GHz
...
With the last cleanup an error sneaked in:
Now the 2.4 GHz interface is disabled, when the `at86rf215m` module
(chip with sub-GHz radio only) is *not* used.
This is the reverse of what should happen.
2020-11-15 16:34:57 +01:00
Benjamin Valentin
f9650bdbc3
drivers/at86rf215: implement Battery Monitor
2020-11-13 22:59:09 +01:00
benpicco
be9eb22bb8
Merge pull request #15106 from chrysn-pull-requests/saul-rgbleds
...
saul_pwm: auto-init'able RGB LEDs and dimmers
2020-11-13 18:22:30 +01:00
Leandro Lanzieri
90d664e7fd
drivers/mrf24j40: remove unneeded GNRC header inclusion
2020-11-13 09:28:52 +01:00
Leandro Lanzieri
0e52e2747e
drivers: remove netif as dependency for network device drivers
2020-11-13 09:25:59 +01:00
benpicco
d9598a0f54
Merge pull request #15412 from bergzand/pr/flashpage/merge_raw
...
periph_flashpage: Make pagewise API optional
2020-11-12 22:32:21 +01:00
3aa5203bc5
mtd_flashpage: only depend on periph_flashpage
...
The features in flashpage_raw are now default in flashpage and do not
have to be included as a separate dependency
2020-11-11 23:16:43 +01:00
41bbaa7442
flashpage: Make pagewise API optional
...
flashpage currently requires pagewise implementation with an optional
extension for per block writes (flashpage_raw). Most implementations
with flashpage_raw implement the pagewise access via the flashpage_raw
functions. This commit makes the flashpage raw the main access method
and adds an extension feature for the pagewise access.
The functions and defines are renamed to reflect this. The API is also
extended with a dedicated function for erasing a sector.
2020-11-11 22:26:33 +01:00
Hauke Petersen
8a31519558
drivers: add support for ds3231 RTC
2020-11-09 15:18:54 +01:00
Leandro Lanzieri
8b74702c7e
drivers/periph_common: add gpio_fast_read module to Kconfig
2020-11-06 15:57:59 +01:00
Leandro Lanzieri
98cc3c317a
drivers/periph_common: add LPUART module to Kconfig
2020-11-06 15:57:57 +01:00
chrysn
1b7cd3d142
drivers/saul/auto_init: Err on out-of-range input
2020-11-05 19:01:17 +01:00
Benjamin Valentin
14da3717c1
drivers/stmpe811: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
b533e08fe7
drivers/si70xx: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
1954283b34
drivers/sht2x: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
9ad6b6b857
drivers/rn2xx3: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
56763a5cc4
drivers/ph_oem: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
daae2fb9bd
drivers/mhz19: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
30e7b6da74
drivers/itg320x: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
0b960ab2de
drivers/ili9341: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
044e0a22fb
drivers/dsp0401: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
9050fcb547
drivers/ds75lx: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
e2cf95b0a9
drivers/dht: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
04114c3d83
drivers/dfplayer: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
6dbc5fea3a
drivers/bme680: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
fd102efea8
drivers/atwinc15x0: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
5b3829845d
drivers/ata8520e: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
58d90e252d
drivers/aip31068: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Benjamin Valentin
908833a44e
drivers/ad7746: convert to xtimer_msleep()
2020-11-05 11:32:41 +01:00
Francisco
78bdf7d274
Merge pull request #15213 from HendrikVE/pr/driver/pca9633-bitarithm
...
drivers/pca9633: use bitarithm
2020-11-03 16:00:52 +01:00
Francisco
3e3da1217d
Merge pull request #15249 from aabadie/pr/tools/typo
...
tools/codespell: fix new typos and make it fail when typos are found
2020-11-03 15:01:20 +01:00
Juergen Fitschen
a15d50dffe
drivers/mtd_flashpage: fix erasure of multiple sectors
2020-11-03 12:35:43 +01:00
benpicco
9681c204d6
Merge pull request #14959 from benpicco/at86rf215-mr-fsk
...
drivers/at86rf215: implement MR-FSK
2020-11-03 11:26:24 +01:00
Bas Stottelaar
e8cadc02d8
Merge pull request #15285 from basilfx/feature/optimize_debug
...
treewide: more cleanups of ENABLE_DEBUG
2020-11-03 11:13:53 +01:00
Benjamin Valentin
a6db7d56ba
drivers/at86rf215: fix CCA duration
...
The standard CCA backoff period is 8 symbols and only differs for
MR-O-QPSK where it is dependent on the chip rate.
2020-11-03 10:51:21 +01:00
Benjamin Valentin
6f23263503
drivers/at86rf215: implement MR-FSK
2020-11-03 10:51:21 +01:00
Bas Stottelaar
62994dfb16
drivers/*: replace #if ENABLE_DEBUG with IS_ACTIVE
2020-11-02 21:34:12 +01:00
Bas Stottelaar
d2ce652dff
drivers/*: remove unneeded ENABLE_DEBUG
2020-11-02 21:34:12 +01:00
Benjamin Valentin
98f88e849c
drivers/mtd_spi_nor: check addr_width with assert()
2020-11-02 21:17:36 +01:00
Benjamin Valentin
53ca0dd1d0
drivers/mtd_spi_nor: define WP and HOLD pin
...
Hold and WP are not used by the driver, but if they are connected
to the flash they must be driven HIGH to enable writes and not stop
any flash operation.
2020-11-02 21:17:36 +01:00
Benjamin Valentin
dee3ae4ab7
drivers/mtd_spi_nor: enable 32 bit addressing
2020-11-02 17:03:34 +01:00
benpicco
e77d12da26
Merge pull request #15188 from benpicco/drivers/kw41zrf-register
...
drivers/kw41zrf: register with netdev
2020-10-31 14:30:00 +01:00
Marian Buschsieweke
125c892c03
drivers/periph/timer: Use uint32_t for frequency
...
For all currently supported platforms `unsigned long` is 32 bit in width. But
better use `uint32_t` to be safe.
2020-10-30 22:02:12 +01:00
nagrawal
f50da0a27d
drivers/sdp3x: Corrected improper comments for internal functions
2020-10-29 12:42:51 +01:00
cd3ee9e825
drivers/mii: fix typo 'auto-negotation' => 'auto-negotiation'
2020-10-27 10:33:48 +01:00
Benjamin Valentin
fde3026312
drivers/mtd_spi_nor: prevent data corruption on 'sector erase'
...
There is no difference between 4k erase and sector erase.
But sector erase would previously do `.block_erase` which would not
erase a sector (4k) but a whole block (64k).
Fortunately all boards declare `SPI_NOR_F_SECT_4K` and all file systems
don't try to erase anything smaller, so this was never triggered.
Add an `assert(0)` to crash instead of corrupting data.
2020-10-26 13:48:26 +01:00
Benjamin Valentin
783df5990b
drivers/mtd_spi_nor: do address conversion in SPI function
2020-10-26 13:02:09 +01:00
Benjamin Valentin
27cf34d836
drivers/mtd_spi_nor: introduce helper function to get SPI device
2020-10-26 13:02:09 +01:00
Benjamin Valentin
0425325260
drivers/mtd_spi_nor: use single transfer to read JEDEC ID
...
Just read the JEDEC ID with a single SPI transfer, there can only
be 10 banks.
This makes adaption to QSPI much simpler because now flash functions
don't call the SPI API directly anymore.
2020-10-26 13:02:09 +01:00
Benjamin Valentin
2fa208e5ed
drivers/mtd_spi_nor: cleanup
...
- remove forward declarations
- remove useless do { … } while (0); loops
- insert whitespace
2020-10-26 13:02:09 +01:00
Bas Stottelaar
6fc3ac8371
drivers/*: remove unneeded ENABLE_DEBUG
2020-10-23 11:29:57 +02:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Bas Stottelaar
8d602435a5
drivers/*: reorder ENABLE_DEBUG after last include
2020-10-23 00:45:56 +02:00
Bas Stottelaar
26835a949f
drivers/*: remove unused assert.h include
2020-10-22 11:29:27 +02:00
Bas Stottelaar
4bdfe9a254
drivers/*: add missing include of assert.h
2020-10-22 11:13:08 +02:00
Benjamin Valentin
9fb90b11f5
drivers/at86rf215: fix dependency resolution for single radio
...
Let the user chose `at86rf215_subghz`/`at86rf215_24ghz` if they
only want a single radio.
2020-10-21 19:38:24 +02:00
Jose Alamos
fa0dd8b5e2
netdev_ieee802154_submac: set addresses using netdev_register
2020-10-19 15:18:35 +02:00
chrysn
4687504936
drivers/saul/auto_init: Support bool and percent for dimmers
...
Booleans make sense for dimmers when accessed from a Sith application
that deals in absolutes.
Percent values are also a widespread interpretation of brightness
levels, and are thus supported as well.
The bit arithmetic makes sure that the arithmetic operation value / 100
* saul_pwm_resolution is done efficiently (by expression as a
multiplication followed by shifting) and accurately (by maximizing the
number of usable bits) while still being flexible both with respect to
integer sizes and to changes of saul_pwm_resolution.
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2020-10-17 11:20:30 +02:00
chrysn
d196c7c4a6
drivers/saul/auto_init: Add PWM for LEDs
...
In analogy to the existing GPIO mappings, this provides (write-only)
SAUL entries for PWM'd LEDs in a single-LED (as SAUL_ACT_DIMMER) and an
RGB (as SAUL_ACT_RGB_LED) mode.
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2020-10-17 11:20:17 +02:00
fd1057ee9f
drivers/saul: fix typo in auto_init adc function name
2020-10-16 12:33:37 +02:00
José Alamos
fc8961ec27
Merge pull request #15081 from akshaim/PR_LoRaWAN_IN_865
...
net/lorawan : Support for IN865 region, Improve debugging
2020-10-16 12:22:18 +02:00
Marian Buschsieweke
b145f4b0b6
sys/auto_init: auto_init_adc -> auto_init_saul_adc
...
Avoid confusion between peripheral device initialization and SAUL registration
by renaming `auto_init_adc()` to `auto_init_saul_adc()`.
2020-10-16 09:48:05 +02:00
benpicco
4edf5c7cbd
Merge pull request #15208 from benpicco/ieee802154_submac-etx
...
netdev/ieee802154_submac: add retransmission reporting
2020-10-15 14:31:54 +02:00
Benjamin Valentin
37aad4ef38
netdev/ieee802154_submac: add retransmission reporting
...
If we do software retransmissions, we already keep a count.
Allow to query it with `NETOPT_TX_RETRIES_NEEDED`.
2020-10-15 13:26:42 +02:00
Marian Buschsieweke
c38ca6d718
Merge pull request #15212 from miri64/gnrc_pkt/enh/pkt-list-ops
...
gnrc_pkt: introduce packet list operations
2020-10-15 12:13:03 +02:00
Nishchay-sopho
eb1064eef4
drivers/scd30: Add reset function to Sensirion scd30 sensor
2020-10-14 15:07:01 +02:00
Akshai M
1ef362edea
drivers/sx127x : Improve debugging
2020-10-14 00:16:47 +05:30
Martine Lenders
45144fb4a4
treewide: use new gnrc_pkt API functions instead of utlist.h macros
2020-10-13 13:32:53 +02:00
Hendrik van Essen
f5c9be1e37
drivers/pca9633: make use of bitarithm.h
2020-10-12 19:02:58 +02:00
José Alamos
2de78a9862
Merge pull request #15210 from benpicco/ieee802154_submac-ack_req
...
netdev/ieee802154_submac: enable ACK_REQ by default
2020-10-12 16:46:48 +02:00
Benjamin Valentin
bb546835a1
netdev/ieee802154_submac: enable ACK_REQ
...
One of the features of the sub-MAC is to allow for ACK-handling in
software.
So enable the use of ACKs by default, just like the netdev drivers do
that support this feature in hardware.
2020-10-12 15:49:34 +02:00
Marian Buschsieweke
6294382627
cpu/stm32: Use mii.h for periph_eth
...
Use shared MII definitions and utilities instead own definitions.
2020-10-12 08:46:20 +02:00
Marian Buschsieweke
33d916b237
drivers/mii: Media-Independent Interface utils
...
Add utilities for working with Ethernet Media-Independent Interface for use by
Ethernet drivers.
2020-10-12 08:46:20 +02:00
Benjamin Valentin
b32bc3dbd1
drivers/kw41zrf: register with netdev
2020-10-08 16:19:23 +02:00
Benjamin Valentin
1afe72a5e5
drivers/enc28j60: register with netdev
2020-10-08 10:36:56 +02:00
benpicco
ab37c9fba1
Merge pull request #14949 from benpicco/drivers/mrf24j40-register
...
drivers/mrf24j40: register with netdev
2020-10-08 10:33:37 +02:00
Francisco
3918d714ce
Merge pull request #13624 from wosym/pr/candev_mcp2515
...
tests/candev: add mcp2515 + driver/mcp2515: add driver
2020-10-08 09:45:40 +02:00
Benjamin Valentin
a1d8c79a98
drivers/mrf24j40: pass long address via pointer
2020-10-07 16:39:39 +02:00
Benjamin Valentin
988ee1648f
drivers/mrf24j40: register with netdev
2020-10-07 16:39:39 +02:00
Marian Buschsieweke
5b9463aca1
drivers/netdev: Clarify documentation
2020-10-06 10:48:06 +02:00
Karl Fessel
9a89b84c2c
Makefile.dep: sort dependencies
...
move most dependencies from <RIOTBASE>/Makefile.dep to the Makefile.dep where
dependant module resides
2020-10-05 18:27:58 +02:00
Wouter Symons
757f810118
drivers/mcp2515: complete driver + adapt to 2020 RIOT API
2020-10-03 15:20:42 +02:00
Vincent Dupont
62a9929f9b
mcp2515: add a driver for the mcp2515 SPI CAN controller
...
This driver implements the candev interface
2020-10-03 15:20:42 +02:00
Francisco
df3ab9f161
Merge pull request #15138 from aabadie/pr/dist/codespell_fixes
...
dist/codespell: update the list of ignored words and fix all typos
2020-10-02 12:27:12 +02:00
José Alamos
f30da14341
Merge pull request #15007 from akshaim/Kconfig_lora
...
net/lora : Expose configurations to Kconfig
2020-10-02 11:01:52 +02:00
03c527e24d
drivers/mtd_mci: fix typo 'suports' -> 'supports'
2020-10-02 08:06:48 +02:00
feac7dc978
drivers/pir: fix typo 'whan' -> 'when'
2020-10-02 08:06:16 +02:00
dc8d32d30e
drivers/periph/gpio: fix typo 'occured' -> 'occurred'
2020-10-02 08:05:55 +02:00
9236b6ca5c
drivers/ltc4150: fix typo 'tread' -> 'treat'
2020-10-02 08:05:31 +02:00
59297c3779
drivers/lc709203f: fix typo 'Invlid' -> 'Invalid'
2020-10-02 08:05:00 +02:00
5ef55e37d7
drivers/ina3221: fix typos
...
- 'measurment' -> 'measurement'
- 'enble' -> 'enable'
2020-10-02 08:04:23 +02:00
2f2eeb7a7b
drivers/at: fix typo 'correspondant' -> 'correspondent'
2020-10-02 08:03:10 +02:00
d0dadb49c0
drivers/enc28j60: fix typo 'Preamle' -> 'Preamble'
2020-10-02 08:02:45 +02:00
cb5e69c478
drivers/at86rf2xx: fix typo 'neccessary' -> 'necessary'
2020-10-02 08:01:49 +02:00
benpicco
6cb8da7813
Merge pull request #14950 from jia200x/pr/ieee802154/submac
...
ieee802154_submac: add initial support for common MAC sub layer
2020-10-01 11:31:52 +02:00
benpicco
f2a1043654
Merge pull request #13565 from jia200x/pr/netdev_submodule
...
netdev: make netdev_% variants a submodule
2020-09-30 22:55:45 +02:00
Jose Alamos
4bb77b0b2f
netdev/ieee802154_submac: add compatibility layer
2020-09-30 17:25:31 +02:00
Jose Alamos
8289612529
Makefile.dep: fix netdev_register resolution
2020-09-30 16:33:39 +02:00
Akshai M
399273dba5
net/lora : Move 'LORA_PAYLOAD_LENGTH_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
889828ae87
net/lora : Model as bool 'LORA_FIXED_HEADER_LEN_MODE_DEFAULT'
...
Move 'LORA_FIXED_HEADER_LEN_MODE_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
e329588be4
net/lora : Move 'LORA_FREQUENCY_HOPPING_PERIOD_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
acd601ebb9
net/lora : Model as bool 'LORA_FREQUENCY_HOPPING_DEFAULT'
...
Move 'LORA_FREQUENCY_HOPPING_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
00cc04f596
net/lora : Model as bool 'LORA_IQ_INVERTED_DEFAULT'
...
Move 'LORA_IQ_INVERTED_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
a161476041
net/lora : Move 'LORA_CR_DEFAULT' to 'CONFIG_'
...
Added choices and moved 'LORA_CR_DEFAULT' to 'CONFIG_' namespace
2020-09-30 20:00:03 +05:30
Akshai M
aaeed98277
net/lora : Move 'LORA_SF_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
349d20349d
net/lora : Move 'LORA_BW_DEFAULT' to 'CONFIG_'
...
Added choices and moved 'LORA_BW_DEFAULT" to 'CONFIG_' namespace
2020-09-30 20:00:03 +05:30
Akshai M
979700cd45
net/lora : Move 'LORA_SYMBOL_TIMEOUT_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
de1ad1e8cf
net/lora : Move 'LORA_PREAMBLE_LENGTH_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
benpicco
b2401eb73b
Merge pull request #14966 from HendrikVE/pr/driver/aip31068
...
driver/aip31068: add new driver
2020-09-30 15:52:52 +02:00
Hendrik van Essen
6778bf4b98
driver/aip31068: add new driver
2020-09-29 14:42:15 +02:00
Jose Alamos
413ffbb035
netdev: make netdev_% variants a submodule
2020-09-29 12:16:34 +02:00
Martine Lenders
cd8666735e
Merge pull request #15107 from benpicco/boards/samr21-xpro_edbg_eui
...
boards/samr21-xpro: fix reading EUI-64 from EDBG on cold boot
2020-09-29 11:04:04 +02:00
Benjamin Valentin
971c03eeb9
drivers/edbg_eui: add note on edbg startup time
2020-09-28 20:18:43 +02:00
7c029c7f43
Merge pull request #14907 from OTAkeys/pr/adcxx1c_get_alert
...
drivers/adcxx1c: add clear alert function
2020-09-28 13:28:15 +02:00
benpicco
a923cda323
Merge pull request #14944 from benpicco/drivers/mtd_mci
...
cpu/lpc23xx: add MTD wrapper for MCI driver
2020-09-25 18:22:48 +02:00
316871a4fa
Merge pull request #15068 from MrKevinWeiss/pr/dev_enum
...
drivers/dev_enums: Remove unused dev_enums.h
2020-09-25 17:35:21 +02:00
Benjamin Valentin
f738ac66d3
drivers/mtd_mci: add MTD wrapper for MCI driver
2020-09-25 15:26:02 +02:00
MrKevinWeiss
7893158b5a
drivers/dev_enums: Remove unused dev_enums.h
2020-09-24 09:27:39 +02:00
Viktor Gal
7ea8f738fd
Add support for Adafruit Seesaw Soil moisture sensor ( #14835 )
...
drivers/seesaw_soil: Add support for Adafruit Seesaw Soil moisture sensor
2020-09-23 17:35:33 +02:00
chrysn
9295f69da4
Merge pull request #15062 from kaspar030/fix_efm32_16b_timer_set_absolute
...
cpu/efm32/periph/timer: fix timer_set_absolute() in 16bit case
2020-09-23 11:28:00 +02:00
chrysn
d8d56e5e3a
periph/timer: Document that set_absolute is expected to wrap
...
Most timers are implemented this way already, and keeping (documenting)
it that way allows the generic timer_set implementation to stay as
simple as it is.
2020-09-23 10:59:18 +02:00
MrKevinWeiss
cc1c2ab811
drivers/periph: Remove unused timer enum from dev_enums
2020-09-22 16:26:01 +02:00
Francisco
bcd2b3e369
Merge pull request #14030 from benpicco/cpu/sam0_common-rtc_tamper
...
cpu/sam0_common: GPIO: use tamper detection to wake from Deep Sleep
2020-09-22 11:41:48 +02:00
99238370a2
drivers/lsm303dlhc: remove useless release/acquire sequence
2020-09-21 11:16:14 +02:00
55ef882860
drivers/lsm303dlhc: improve debug message during init
2020-09-21 11:16:13 +02:00
Francisco
64f6b7ffa4
Merge pull request #14702 from maribu/sched_active_thread
...
treewide: Fix direct access to scheduler internals
2020-09-21 09:09:59 +02:00
Benjamin Valentin
310eb4970c
cpu/sam0_common: GPIO: use tamper detection to wake from Deep Sleep
...
On samd5x only the RTC can wake the CPU from Deep Sleep (pm modes 0 & 1).
The external interrupt controller is disabled, but we can use the tamper
detection of the RTC.
If an gpio interrupt is configured on one of the five tamper detect pins,
those can be used to wake the CPU from Deep Sleep / Hibernate.
2020-09-17 18:46:25 +02:00
benpicco
0916d34365
Merge pull request #15033 from maribu/xtimer_includes
...
{drivers/apds99xx, sys/net/gnrc/netreg}: Drop xtimer includes
2020-09-17 10:37:09 +02:00
José Alamos
9c130cd2fd
Merge pull request #15032 from jia200x/pr/at86rf2xx/fix_overflow
...
drivers/at86rf2xx: fix at86rf2xx_set_rxsensitivity
2020-09-17 10:32:06 +02:00
Marian Buschsieweke
2690b272d9
drivers/apds99xx: Fix includes
...
The driver does not depend on or use the xtimer module, it should therefore
not include `xtimer.h`. Same for the test, which additionally missed an
include of `mutex.h` (previously implicitly included through `xtimer.h`).
2020-09-16 19:55:22 +02:00
Jose Alamos
074dc8d328
drivers/at86rf2xx: fix at86rf2xx_set_rxsensitivity
2020-09-16 14:47:51 +02:00
Hauke Petersen
020642476e
driver/at86rf2xx: fix asserts in _set func
2020-09-15 13:57:15 +02:00
Benjamin Valentin
696ddf3dbb
drivers/periph/timer: amend documentation for timer_set_periodic()
...
The function needs the `periph_timer_periodic` feature.
Add a `@note` about that to the documentation.
2020-09-13 19:06:28 +02:00
benpicco
842933855f
Merge pull request #14995 from benpicco/cpu/cc2538-register
...
cc2538_rf: register with netdev
2020-09-11 16:03:08 +02:00
Benjamin Valentin
1811686540
cc2538_rf: register with netdev
2020-09-11 13:33:37 +02:00
Francisco
858533e68e
Merge pull request #14994 from benpicco/nrf802154-register
...
nrf802154: register with netdev
2020-09-11 12:48:40 +02:00
3e9081ed01
usbdev_mock: fix possible null pointer dereference
2020-09-11 11:07:15 +02:00
Cenk Gündoğan
0d0bc91553
Merge pull request #14754 from leandrolanzieri/pr/no_archives
...
build system: link object files
2020-09-10 09:36:29 +02:00
Benjamin Valentin
58dc106309
nrf802154: register with netdev
2020-09-10 00:05:25 +02:00
Benjamin Valentin
90751bcec1
mtd: fix return in mtd_erase()
...
If `.erase` is implemented we must return, not execute the
fallback code path
fixes #14988
2020-09-09 19:38:40 +02:00
9b9ed236ba
Merge pull request #14916 from MrKevinWeiss/pr/slwstk6220a
...
drivers/periph: Remove UART from device_enums.h
2020-09-09 10:53:27 +02:00
fdaf7fd822
Merge pull request #14596 from benpicco/drivers/at86rf2xx-retries
...
drivers/at86rf2xx: support frame retry reporting on AT86RFR2
2020-09-09 10:27:05 +02:00
MrKevinWeiss
bdeb39576e
drivers/periph: Remove UART from dev_enums.h
2020-09-09 10:25:38 +02:00
Benjamin Valentin
0871b69c84
drivers/at86rf2xx: support frame retry reporting on at86rfr2
...
At86rfr2 doesn't report retries directly, but it can generate a TX start
interrupt for each (re)try, so we can count manually.
2020-09-08 14:48:57 +02:00
Benjamin Valentin
634714ff78
drivers/at86rf215: implement Reduced Power Consumption
...
Reduced Power Consumption is available for MR-O-QPSK and
MR-FSK.
In this mode the receiver will be turned off periodically,
defaulting to a 50% duty cycle.
This reduces power consumption when in IDLE RX by almost 50%
and is therefore enabled by default.
2020-09-07 13:48:47 +02:00
Marian Buschsieweke
90177889b7
treewide: Cleanup access to internal variables
...
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:
1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
functions
2020-09-07 12:59:55 +02:00
Benjamin Valentin
43ee53a059
mtd_mapper: implement pagewise functions
...
Implement functions to use the pagewise MTD API.
2020-09-04 18:00:44 +02:00
benpicco
c6c0f6a180
Merge pull request #14933 from benpicco/drivers/mtd_shortcut
...
mtd: allow to use non-pagewise functions
2020-09-04 16:25:55 +02:00
Leandro Lanzieri
16b5fd303b
drivers: add usbdev_mock
2020-09-04 15:01:16 +02:00
Benjamin Valentin
08db12be3b
drivers/dose: don't default to UART0
...
The first UART is usually used for the shell, so don't default
DOSE on it.
2020-09-03 20:20:16 +02:00
Benjamin Valentin
f4f1114ead
drivers/dose: use EUI provider
2020-09-03 20:16:32 +02:00
Benjamin Valentin
9a4141880c
mtd: allow to use non-pagewise functions
...
If the underlying driver implements 'plain' read/write/erase
fucntions, don't convert them to pagewise functions and back.
Just use the old direct functions.
2020-09-02 22:50:24 +02:00
Francisco Molina
4648329c66
drivers/periph_common: remove redundant entry
...
- Use same file for MODULE inclusion and configuration
- Fix guard
- Add Kconfig.wdt
2020-09-02 15:31:28 +02:00
Francisco Molina
86ea4b42e4
drivers/Kconfig: add peripheral drivers config menu
2020-09-01 19:04:53 +02:00
Francisco
6f84870c26
Merge pull request #14634 from benpicco/eui_provider
...
net/link_layer: implement EUI provider
2020-09-01 16:26:08 +02:00
Cenk Gündoğan
538155c344
Merge pull request #14904 from leandrolanzieri/pr/kconfig/change_prefix_convention
...
treewide: modify Kconfig symbol prefixes
2020-09-01 15:57:06 +02:00
benpicco
6f271b7d3e
Merge pull request #14903 from benpicco/drivers/include/periph/rtc-fix
...
drivers/periph_common: RTC: fix doxygen
2020-09-01 15:15:55 +02:00
Vincent Dupont
8526e68b70
drivers/adcxx1c: add clear alert function
2020-08-31 15:53:53 +02:00
Benjamin Valentin
bd57640d5b
drivers/periph_common: RTC: fix doxygen
2020-08-31 14:16:42 +02:00
Gunar Schorcht
6d61381d2a
drivers: use inline functions for GPIO comparisons
...
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, drivers must first be changed so that they use the inline comparison functions.
2020-08-31 13:10:28 +02:00
Gunar Schorcht
147b79169c
drivers/periph/gpio: add comparison functions
...
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, drivers and other modules must first be changed so that they use the inline comparison functions.
2020-08-31 13:10:28 +02:00
Leandro Lanzieri
2e79e00ca7
treewide: change Kconfig prefix for module symbols
...
This changes the prefix used for the symbols that reprensent modules
(not the ones generated from USEMODULE).
MOD_ => MODULE_
2020-08-31 09:57:28 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
...
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:
KCONFIG_MODULE_ => KCONFIG_USEMODULE_
KCONFIG_PKG_ => KCONFIG_USEPKG_
MODULE_ => USEMODULE_
PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00
Benjamin Valentin
f714fac3f4
drivers/at86rf2xx: make use of EUI provider
2020-08-30 23:43:57 +02:00
Benjamin Valentin
0b523835b5
drivers/at86rf215: use eui_provider
2020-08-30 23:43:57 +02:00
Benjamin Valentin
3e8d6388f8
netdev_ieee802154: use eui_provider in netdev_ieee802154_setup()
2020-08-30 23:43:57 +02:00
benpicco
a0bae383d7
Merge pull request #14818 from Nishchay-sopho/drivers/sps30/add_sleep_mode
...
drivers/sps30: Add sleep mode
2020-08-25 23:49:32 +02:00
Nishchay-sopho
a368b0bc36
drivers/sps30: Add sleep mode
2020-08-25 16:20:18 +02:00
Benjamin Valentin
2aa2bf86a3
drivers/at86rf2xx: AES: don't use binary constant
...
This is a GCC extension. Use hex constant instead.
2020-08-25 14:06:40 +02:00
9b2aa40e03
Merge pull request #14038 from benpicco/mtd_pagewise
...
mtd: add page addressed operations to allow access > 4GiB on SD cards
2020-08-25 13:10:20 +02:00
Marian Buschsieweke
7b743cda13
drivers/at86rf2xx: Fix address generation
...
Do not generate address during reset, but during setup. Otherwise the device
will get a new address after every reset. Also: Use common IEEE 802.15.4
setup function for this.
2020-08-23 21:09:21 +02:00
Benjamin Valentin
0f4c5f5b10
drivers/at86rf2xx: fix assert
...
The assert is reversed. It must check if the config value does not
exceed the maximum address length, not the other way round.
previously this would lead to a crash when setting a short address:
2020-08-23 13:59:56,080 # ifconfig 7 set addr_short 2
2020-08-23 13:59:56,081 # 0xdcad
2020-08-23 13:59:56,083 # *** RIOT kernel panic:
2020-08-23 13:59:56,085 # FAILED ASSERTION.
With this it works as expected
2020-08-23 14:05:07,988 # ifconfig 7 set addr_short 2
2020-08-23 14:05:07,992 # success: set (short) address on interface 7 to 2
2020-08-23 14:05:52 +02:00
Marian Buschsieweke
92ae260617
Merge pull request #14778 from benpicco/sys/luid_netdev
...
sys/luid: add luid_netdev_get_eui48() & luid_netdev_get_eui64()
2020-08-21 21:30:14 +02:00
Benjamin Valentin
9823801cf6
drivers/at86rf215: use netdev_ieee802154_setup()
2020-08-21 15:33:19 +02:00
Benjamin Valentin
d29397cfd8
netdev_ieee802154: add netdev_ieee802154_setup()
2020-08-21 15:33:19 +02:00
6199ada6b5
drivers/sx127x: migrate to ztimer
2020-08-20 13:41:32 +02:00
Benjamin Valentin
02f37b998a
drivers/at24cxxx: export page-wise write function
...
Export the _write_page() function so it can be used by the MTD subsystem.
2020-08-18 17:25:40 +02:00
Benjamin Valentin
7c8fe862ce
drivers/at25xxx: export page-wise write function
...
Export the _write_page() function so it can be used by the MTD subsystem.
2020-08-18 17:25:40 +02:00
Benjamin Valentin
68a47b63e3
drivers/mtd_spi_nor: implement mtd_spi_nor_write_page()
2020-08-18 17:25:39 +02:00
Benjamin Valentin
7d291b5707
drivers/mtd_sdard: implement page-wise read() and write()
...
SD cards are usually larger than 4 GiB, so using 32 bit addressing will
break once they are filled to a certain extend.
Implement read_page() and write_page() which at a page size of 512
should work for SD cards of up to 2 TiB.
The read() and write() functions will ignore any offset that is not aligned
with the page boundary, so do the same for the new functions, but at least
report an error.
2020-08-18 17:25:39 +02:00
Benjamin Valentin
4034f96169
mtd: add page addressed operations
...
Currently read(), write() and erase() all use 32 bit addressing.
This is a problem when writing to media > 4 GiB, e.g. SD cards.
The current implementation would wrap around after 4 GiB and corrupt data.
To avoid this, add functions to the MTD subsystem that allow for page-wise
addressing. This is how most of the underling storage drivers and the
file-systems above work anyway.
In the future we should then deprecate the 32-bit functions if all drivers
are converted.
2020-08-18 17:25:39 +02:00
Benjamin Valentin
1582b105d3
drivers/at86rf2xx: fix typo
2020-08-17 22:53:51 +02:00
Benjamin Valentin
decadc41a0
drivers/dose: register driver with netdev
2020-08-17 22:53:51 +02:00
Benjamin Valentin
4f19b54b7b
drivers/at86rf215: register driver with netdev
2020-08-17 22:53:51 +02:00
Benjamin Valentin
53eedc283b
drivers/at86rf2xx: register driver with netdev
2020-08-17 22:53:51 +02:00
Benjamin Valentin
7ceb3f0a68
netdev: add netdev_register() to keep track if netdev IDs
...
It is desireable to have a way to identify network devices.
This should be independent from the type of netdev, so a common identifier is needed.
Base this on the driver ID and the index in the configuration struct.
This way we achive unique IDs that stay consistent for any firmware flashed on a board.
2020-08-17 22:50:18 +02:00
benpicco
22d3bf7c51
Merge pull request #14594 from maribu/stm32-eth-cleanup
...
cpu/stm32: Clean up / fix periph_eth
2020-08-17 21:16:27 +02:00
Marian Buschsieweke
8d8af31e39
driver/stm32_eth: Integrate into periph_eth
...
The stm32_eth driver was build on top of the internal API periph_eth, which
was unused anywhere. (Additionally, with two obscure exceptions, no functions
where declared in headers, making them pretty hard to use anyway.)
The separation of the driver into two layers incurs overhead, but does not
result in cleaner structure or reuse of code. Thus, this artificial separation
was dropped.
2020-08-17 20:29:33 +02:00
Marian Buschsieweke
28ed07d6e3
cpu/stm32/periph_eth: zero-copy TX (-6 KiB RAM)
...
The Ethernet DMA is capable of collecting a frame from multiple chunks, just
like the send function of the netdev interface passes. The send function was
rewritten to just set up the Ethernet DMA up to collect the outgoing frame
while sending. As a result, the send function blocks until the frame is
sent to keep control over the buffers.
This frees 6 KiB of RAM previously used for TX buffers.
2020-08-17 20:29:33 +02:00
Marian Buschsieweke
932c311ee2
cpu/stm32/periph_eth: Fix RX logic
...
If any incoming frame is bigger than a single DMA buffer, the Ethernet DMA will
split the content and use multiple DMA buffers instead. But only the DMA
descriptor of the last Ethernet frame segment will contain the frame length.
Previously, the frame length calculation, reassembly of the frame, and the
freeing of DMA descriptors was completely broken and only worked in case the
received frame was small enough to fit into one DMA buffer. This is now fixed,
so that smaller DMA buffers can safely be used now.
Additionally the interface was simplified: Previously two receive flavors were
implemented, with only one ever being used. None of those function was
public due to missing declarations in headers. The unused interface was
dropped and the remaining was streamlined to better fit the use case.
2020-08-17 20:28:49 +02:00
Cenk Gündoğan
f64511ddb5
Merge pull request #14626 from leandrolanzieri/pr/kconfig/test_modules_kconfig
...
kconfig: introduce migration test in CI
2020-08-13 14:11:00 +02:00
fabian18
1fca10c486
drivers/at86rf2xx: SPI AES security module
2020-08-12 17:18:00 +02:00
Nishchay-sopho
3245dee8d8
drivers/sps30: Update units of measurement
2020-08-12 12:50:35 +02:00
Leandro Lanzieri
14499e3b7e
drivers/periph_common: Add modules to Kconfig
2020-08-12 12:22:40 +02:00
Leandro Lanzieri
4ad2180f81
kconfig: Add default modules' symbols
2020-08-12 12:22:38 +02:00
Francisco
ad3568be87
Merge pull request #14712 from benpicco/gpio_init_int-clarify
...
periph/gpio: clarify behavior of gpio_irq_enable()
2020-08-11 11:30:05 +02:00
Benjamin Valentin
7543e714c1
drivers/periph_common: RTC: move RIOT_EPOCH to header, document it.
2020-08-07 13:22:19 +02:00
Benjamin Valentin
8c95198cbb
periph/gpio: clarify behavior of gpio_irq_enable()
...
What happens with events that occured after `gpio_irq_disable()` is
currently not defined.
If they are not cleared, they will generate an interrupt on `gpio_irq_enable()`.
This does not seem like the intended behavior, so make the documentation more
explicit.
2020-08-05 17:41:27 +02:00
d8794d7c5a
drivers/cc2420: fix bogus cc2420_set_state(dev, CC2420_GOTO_RX)
...
It doesn't compile, compiler complains that the enum type of
CC2420_GOTO_RX cannot be converted to netopt_state_t as required by the
function.
The numerical value of CC2420_GOTO_RX would be NETOPT_STATE_IDLE (2), which
makes sense as it puts the device into RX mode.
2020-08-04 13:56:49 +02:00
José Alamos
7967066f51
Merge pull request #14657 from maribu/netdev_doc
...
drivers/net: Fix netdev_driver_t doc
2020-08-04 10:49:24 +02:00
Marian Buschsieweke
f48147b585
Merge pull request #14663 from benpicco/native-fixes
...
treewide: compile fixes for native
2020-07-31 14:57:41 +02:00
Benjamin Valentin
492283898e
pkg/driver_atwinc15x0: don't be pedantic
2020-07-31 13:38:03 +02:00
Benjamin Valentin
aa0e5e7afa
drivers/cc110x: replace binary constants and use unsigned char
...
binary constants are a GCC extension
2020-07-31 13:38:03 +02:00
Benjamin Valentin
110609195f
drivers/encx24j600: use unsigned char
2020-07-31 13:38:03 +02:00
Benjamin Valentin
2e34298265
drivers/nrf24l01p: use unsigned char
2020-07-31 13:38:03 +02:00
Benjamin Valentin
a81c0a544c
drivers/kw2xrf: use unsigned char
2020-07-31 13:38:03 +02:00
benpicco
7e4b3d0f40
Merge pull request #14653 from Nishchay-sopho/drivers/sdp3x_#14603
...
driver/sdp3x: Resolved irq pin code used even if irq pin not connected
2020-07-31 01:22:02 +02:00
Marian Buschsieweke
86513dc97a
drivers/net: Fix netdev_driver_t doc
...
- Fix indent
- Use @reval instead of @return when referring to a single return value
- Use term "frame" instead of "packet"
2020-07-30 20:22:17 +02:00
nagrawal
7cc4f2b79b
driver/sdp3x: Resolved irq pin code used even if irq pin not connected
...
irq_pin check when multiple sensors connected with or without irq pin
2020-07-30 16:35:35 +02:00
f7882f4f2a
drivers/stmpe811: return touch_dev position relative to top left corner
2020-07-29 14:49:17 +02:00
4b4e9830b0
drivers/touch_dev: clarify touch position coordinates origin
2020-07-29 14:49:17 +02:00
388bbfa008
drivers: add generic screen wrapper around display and touch devices
2020-07-29 14:30:03 +02:00
benpicco
38f62f9678
Merge pull request #14643 from Nishchay-sopho/drivers/sdp3x_#14601
...
driver/sdp3x: Resolved init condition fail
2020-07-29 13:08:57 +02:00
Leandro Lanzieri
224e2c977d
Merge pull request #14509 from jia200x/pr/lora_implicit_mode
...
sx127x: add support for implicit header mode
2020-07-29 12:52:00 +02:00
Jose Alamos
84eb2dc30c
sx127x: implement NETOPT_PDU_SIZE
2020-07-29 11:57:52 +02:00
nagrawal
cd46360eab
driver/sdp3x: Resolved init fail error
2020-07-28 19:35:35 +02:00
benpicco
7acdecb1df
Merge pull request #14447 from Nishchay-sopho/drivers/scd30
...
driver/scd30 : Add driver for scd30 sensor
2020-07-28 12:41:58 +02:00
benpicco
ecab75b529
Merge pull request #13632 from benpicco/cpu/sam0_common/uart-deinit
...
drivers/periph/uart: add periph_uart_reconfigure feature & implementation for sam0
2020-07-28 11:12:19 +02:00
nagrawal
900e4b61dc
driver/scd30: Add driver for Sensirion SCD30
...
Created tests for Sensirion scd30 driver
Moved Makefile.dep and Makefile.include as per new spec
2020-07-28 10:38:01 +02:00
Benjamin Valentin
3eb54179ae
drivers/periph/uart: add periph_uart_reconfigure feature
2020-07-28 10:10:15 +02:00
Benjamin Valentin
7af8a3e2d3
drivers/periph/timer: add note about TIM_FLAG_RESET_ON_MATCH
2020-07-27 17:17:08 +02:00
Marian Buschsieweke
a7cf50eb03
drivers/stm32_eth: Code style fixes
...
- Drop incorrect use of `volatile`
- Fix missing spaces and indention
2020-07-24 11:32:20 +02:00
Francisco
d187e83221
Merge pull request #14570 from fjmolinas/pr_fix_mock_rtt_defs
...
drivers/rtt: override RTT_MAX_VALUE and RTT_FREQUENCY for mock
2020-07-22 16:33:29 +02:00
Leandro Lanzieri
25723267f7
Merge pull request #14567 from akshaim/Kconfig_l2filter
...
net/l2filter : Expose configurations to Kconfig
2020-07-22 15:11:24 +02:00
37b096562a
drivers/stmpe811: ensure fifo is not empty before reading touch position
2020-07-22 09:59:18 +02:00
Benjamin Valentin
caead7bb75
drivers/stmpe811: always clear interrupt state
2020-07-22 09:59:11 +02:00
Francisco Molina
9dde6ec53d
drivers/rtt: overrite RTT_MAX_VALUE and RTT_FREQUENCY for mock
...
mock_rtt relies on setting mock values for RTT_MAX_VALUE and
RTT_FREQUENCY. Platforms with a rtt will already define these
values which leads to mock_rtt working with different values than
rtt_rtc.
This commit changes the ifdef logic so that when using mock_rtt
RTT_MAX_VALUE and RTT_FREQUENCY are redefined.
2020-07-22 08:52:54 +02:00
Benjamin Valentin
cbae0186ca
drivers/stmpe811: fix interrupt polarity & type
...
The Interrupt on the stmpe811 is generated on the falling edge.
By observing the rising edge, we will only get an event if the
interrupt gets cleared.
Also configure the interrupt to be edge triggered instead of
level triggered.
2020-07-21 21:22:42 +02:00
Akshai M
60170971bd
net/l2filter : Update documentation
2020-07-22 00:26:09 +05:30
Akshai M
caab4cd8c5
net/l2filter : Move 'L2FILTER_LISTSIZE' to 'CONFIG_'
2020-07-22 00:26:09 +05:30
0c86b72ed6
drivers/Makefile.dep: remove global dependency resolution
...
Only keep the dependency resolution for drivers declared as pseudo-modules
2020-07-20 14:32:16 +02:00
304bce3724
drivers: configure per driver dependency resolution
2020-07-20 14:32:16 +02:00
f013be5507
Merge pull request #14497 from aabadie/pr/drivers/makefile_dep_cleanup
...
drivers/Makefile.dep: remove inappropriate use of FEATURES_PROVIDED for rtt_rtc
2020-07-20 13:04:59 +02:00
Martine Lenders
e5d692babe
Merge pull request #14493 from miri64/netopt/cleanup/rm-LINK_CONNECTED
...
netopt: remove deprecated alias NETOPT_LINK_CONNECTED
2020-07-17 22:35:46 +02:00
87d8124d88
Merge pull request #14536 from HendrikVE/pca9633_fix_copy_pasta
...
drivers/pca9633: fix wrong enum name
2020-07-17 21:03:25 +02:00
5c3c22f31c
Merge pull request #14489 from benpicco/libc_conflict
...
drivers/tests: rename private read() and sleep() functions to avoid conflicts with libc
2020-07-17 20:44:02 +02:00
Hendrik van Essen
9d068d582a
drivers/pca9633: make enum anonymous
2020-07-17 15:05:32 +02:00
0d9aeba804
Makefile.include: don't include drivers/Makefile.include anymore
2020-07-15 20:36:27 +02:00
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories
2020-07-15 20:36:27 +02:00
Benjamin Valentin
b080d3da7a
drivers/soft_uart: implement inverted TX & RX
...
In the current implementation, RX is flank based, so it's entirely level
agnostic.
I still chose to include a SOFT_UART_FLAG_INVERT_RX flag for symmetry and
to allow for a possible future, sampling based implementation.
2020-07-14 23:04:36 +02:00
Benjamin Valentin
96c67b0fa5
drivers/soft_uart: add software based UART implementation
2020-07-14 22:51:59 +02:00
1cf8f0dc45
drivers/Makefile.dep: remove useless FEATURES_PROVIDED for rtc_rtt
2020-07-10 18:12:31 +02:00
Benjamin Valentin
f4e9ede7bc
drivers/sps30: fix conflict with libc function name
2020-07-10 17:31:29 +02:00
Benjamin Valentin
5f4838e716
drivers/sht3x: fix conflict with libc function name
2020-07-10 17:31:29 +02:00
Benjamin Valentin
b9ed7e9ffd
drivers/bme680: fix conflict with libc function name
2020-07-10 17:31:29 +02:00
Martine S. Lenders
8dba9a9188
netopt: remove deprecated alias NETOPT_LINK_CONNECTED
2020-07-10 16:18:13 +02:00
Daniel Lockau
0d3dc120ef
drivers/sdcard_spi: remove auto-init
2020-07-09 08:50:53 +02:00
Leandro Lanzieri
a320181f55
drivers/kw2xrf: Enable TX End IRQ in netdev init
...
The driver needs this event but gnrc_netif_ieee802154 only enables the
interrupt when MODULE_NETSTATS_L2 is active.
2020-07-06 14:21:58 +02:00
Benjamin Valentin
b5d711da25
drivers/sdcard_spi: document undocumented defines
...
Murdock enforces these now, so add documentation to make it happy.
2020-07-02 16:33:09 +02:00
Daniel Lockau
e7fbc174bc
drivers/sdcard_spi: make retries configurable
...
- convert count based retry implementation to timeout based
implementation
- allow user definition of retry parameters
2020-07-02 16:33:09 +02:00
Francisco
325b7a8d8e
Merge pull request #13631 from benpicco/cpu/sam0_common/spi-deinit
...
drivers/periph/spi: add periph_spi_reconfigure feature & implementation for sam0
2020-06-30 15:34:53 +02:00
Leandro Lanzieri
955efd85ff
drivers/at: Add at_urc_isr module to process URCs upon arrival
2020-06-30 11:41:13 +02:00
benpicco
a92dac5701
Merge pull request #14329 from Nishchay-sopho/drivers/sdp3x
...
driver/sdp3x : Add driver for sdp3x sensor
2020-06-29 21:16:39 +02:00
Dirk Ehmen
05980765f2
drivers/sdp3x: Driver for sensirion sdp3x sensor
2020-06-29 20:50:41 +02:00
benpicco
f372beb405
Merge pull request #12363 from maribu/dfplayer
...
drivers/dfplayer: New driver for the DFPlayer Mini MP3 player
2020-06-28 23:24:36 +02:00
Marian Buschsieweke
2f858a2c0a
sys/shell: Added shell command "dfplayer"
...
Added a shell command that is added if the modules shell_commands and dfplayer
are both used. It allows to control the DFPlayer Mini MP3 player.
2020-06-28 21:06:49 +02:00
Marian Buschsieweke
82bfb66cb8
drivers: Added driver for the DFPlayer MP3 player
2020-06-28 21:06:43 +02:00
Marian Buschsieweke
fa5fa425a1
drivers: Added doc group drivers_multimedia
2020-06-26 13:09:33 +02:00
Gunar Schorcht
660a852935
drivers: add netdev driver for ATWINC15x0 WiFi module
2020-06-26 12:33:38 +02:00
Francisco
a46adc3d44
Merge pull request #13742 from benemorius/pr/kinetis-pm_layered
...
cpu/kinetis: implement power modes for pm_layered
2020-06-26 10:51:12 +02:00
benpicco
3665e40726
Merge pull request #14242 from HendrikVE/pr/driver/pca9633
...
driver/pca9633: add new driver
2020-06-26 00:44:24 +02:00
Thomas Stilwell
b8ce88e9a7
drivers/kw41zrf: remove duplicate PM_UN/BLOCK defines
2020-06-25 17:34:39 -05:00
Hendrik van Essen
1430ddca55
driver/pca9633: add new driver
2020-06-25 22:31:15 +02:00
Martine S. Lenders
14afbe1030
xbee: remove NETOPT_IPV6_IID support
...
This option is handled in the `gnrc_netif`-layer without any access to
the driver's option since 7ae90564d9
.
2020-06-25 13:41:20 +02:00
Martine S. Lenders
7777c172dd
netdev_ieee802154: remove NETOPT_IPV6_IID support
...
This option is handled in the `gnrc_netif`-layer without any access to
the driver's option since 7ae90564d9
.
2020-06-25 13:40:48 +02:00
Martine S. Lenders
3a60a78606
netdev_eth: remove NETOPT_IPV6_IID support
...
This option is handled in the `gnrc_netif`-layer without any access to
the driver's option since 7ae90564d9
.
2020-06-25 13:40:30 +02:00
Martine S. Lenders
4c01c716fc
cc110x: remove NETOPT_IPV6_IID support
...
This option is handled in the `gnrc_netif`-layer without any access to
the driver's option since 7ae90564d9
.
2020-06-25 13:40:30 +02:00
benpicco
b13085defb
Merge pull request #14110 from fabian18/mtd_at24cxxx
...
drivers/at24cxxx: MTD wrapper for at24cxxx
2020-06-24 18:46:36 +02:00
Benjamin Valentin
f3e28c0350
drivers/sdcard_spi: make use of spi_deinit_pins()
...
Make sure to de-init the SPI bus before using the pins as GPIO.
Once all archs implement periph_spi_reconfigure, we can drop mosi,
miso and clk pins from the `card->params` and just use the bus
getter functions.
2020-06-21 21:21:39 +02:00
Benjamin Valentin
896fcd43b0
drivers/periph/spi: add periph_spi_reconfigure feature
2020-06-21 21:19:17 +02:00
Marian Buschsieweke
f3af071b19
Merge pull request #11432 from maribu/pulse_counter_c11_atomics
...
drivers/pulse_counter: Use C11 atomics & bugfix
2020-06-17 17:03:48 +02:00
Akshai M
e672ca2010
drivers/at : Expose to Kconfig
...
Expose configurations to Kconfig:
Model choice for CONFIG_AT_SEND_EOL
Allow value to be configured as exponent for AT_BUF_SIZE
2020-06-17 14:52:21 +05:30
Akshai M
f9741b3ed5
drivers/at : Add CONFIG_
...
Add CONFIG_ prefix to AT_SEND_EOL, AT_SEND_SKIP_ECHO,
CONFIG_AT_RECV_OK, CONFIG_AT_RECV_ERROR
2020-06-17 14:52:21 +05:30
Akshai M
921badbf38
drivers/at : Inverse Logic
...
Inverse logic for AT_SEND_ECHO
2020-06-17 14:52:21 +05:30
ebc147d058
drivers/mhz19: initial support
2020-06-17 08:41:41 +02:00
80023c408a
Merge pull request #14259 from fjmolinas/pr_rtt_min_offset
...
drivers/periph/rtt: introduce RTT_MIN_OFFSET
2020-06-16 16:22:04 +02:00
Benjamin Valentin
14bb15d91f
drivers/at86rf215: make reset pulse width configurable
...
Some hardware designers like to include filtering capacitors into reset
lines in order to protect against ESD or other pulses.
This increases the raise time of the reset signal. To still reach the
required 16 µs reset pulse width, we thus have to increase the reset pulse
width via board config.
2020-06-11 15:05:21 +02:00
Francisco Molina
8d329942df
drivers/periph/rtt: introduce RTT_MIN_OFFSET
2020-06-11 09:30:25 +02:00
93fbecf965
Merge pull request #14084 from benpicco/driver/mtd_spi_nor-jedec_size
...
drivers/mtd_spi_nor: derive capacity from JEDEC ID
2020-06-10 11:17:43 +02:00
Leandro Lanzieri
ab996823ee
Merge pull request #14197 from benpicco/driver/at86rf215_cleanup
...
driver/at86rf215: cleanup
2020-06-09 18:38:57 +02:00
Benjamin Valentin
50914cbf96
drivers/mtd_spi_nor: move printing of flash debug info
...
Move printing the flash information after deriving the capacity.
2020-06-09 16:09:40 +02:00
Benjamin Valentin
585928f23d
drivers/mtd_spi_nor: derive capacity from JEDEC ID
...
Most manufacturers (Spansion, Micron & ISSI) just encode the capacity
in the second ID byte.
Old Adesto (Atmel) chips use a different scheme here.
2020-06-09 16:09:40 +02:00
Benjamin Valentin
93236e0f2c
drivers/at86rf215: add modulation config to KConfig
2020-06-09 11:48:59 +02:00
Benjamin Valentin
6a2d9f9762
drivers/at86rf215: make default O-QPSK rate configutable
2020-06-09 11:48:59 +02:00
Benjamin Valentin
1ab35b16ae
drivers/at86rf215: include board.h
...
Board-specific configuration is typically defined in board.h, so
include it here so it gets applied.
2020-06-09 11:48:59 +02:00
Benjamin Valentin
feba1d1bcb
drivers/at86rf215: don't compile modulations that are not selected
...
Don't compile in code for MR-OFDM, etc if `netdev_ieee802154_mr_oqpsk` is
disabled.
2020-06-09 11:48:59 +02:00
Benjamin Valentin
4e9420bffc
drivers/at86rf215: prefix configuration defines with CONFIG_
2020-06-09 11:48:59 +02:00
f585b53d03
drivers/saul/auto_init: remove useless preprocessor directives
...
The files are now built only when the corresponding module is used
2020-06-08 11:10:48 +02:00
e9a23325e1
drivers/saul/init_devs: only build files when related module is used
2020-06-08 11:10:39 +02:00
984c8eed49
drivers/saul: rename some auto_init files
...
In order to name them the same as the module they are related to
2020-06-08 11:10:39 +02:00
benpicco
f08a00312b
Merge pull request #14194 from ThxAndBye/master
...
drivers/lis3dh: fix mask in lis3dh_set_aux_adc()
2020-06-04 13:12:22 +02:00
Marian Buschsieweke
7862baf348
drivers/at86rf215: Fix documentation
...
- Balance Doxygen groups
- Move drivers_at86rf215_oqpsk into drivers_at86rf215
2020-06-03 21:09:50 +02:00
benpicco
3a1ee4983c
Merge pull request #14010 from benpicco/at86rf215-mr-ofdm
...
drivers/at86rf215: implement MR-OFDM
2020-06-03 16:39:04 +02:00
Benjamin Valentin
164e239160
at86rf215: remove obsolete at86rf215_switch_mode()
2020-06-03 15:58:50 +02:00
Benjamin Valentin
cc5fbdf9f8
drivers/at86rf215: implement MR-OFDM
2020-06-03 15:58:50 +02:00