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
Thx And Bye
9cd31ce17d
drivers/lis3dh: fix mask in lis3dh_set_aux_adc()
2020-06-03 12:09:40 +02:00
Kevin "Tristate Tom" Weiss
972d9441ce
Merge pull request #13404 from leandrolanzieri/pr/boards/samr21-xpro/features_kconfig
...
boards/samr21-xpro: Model features in Kconfig
2020-06-03 09:39:41 +02:00
Leandro Lanzieri
16c6ecf28d
Merge pull request #14046 from benpicco/at86rf2xx-phy_modes
...
drivers/at86rf2xx: add support for high data rates
2020-06-03 08:35:30 +02:00
Leandro Lanzieri
67a43e0ada
drivers/wdt/kconfig: Rename HAS_WDT_WARNING_PERIOD
...
The symbol now is HAS_PERIPH_WDT_WARNING_PERIOD.
2020-06-02 17:43:19 +02:00
José Alamos
892032907f
Merge pull request #14187 from leandrolanzieri/pr/periph/wdt_add_warning_period_feature
...
drivers/wdt: Add feature to indicate a configurable warning period
2020-06-02 17:18:40 +02:00
Leandro Lanzieri
48759eccdc
drivers/wdt: Add feature to indicate a configurable warning period
...
This adds the feature `periph_wdt_warning_period` that indicates that a
platform WDT driver implementation supports a configurable
CONFIG_WDT_WARNING_PERIOD.
2020-06-02 12:54:25 +02:00
Thomas Stilwell
f23275af29
drivers/kw41zrf: fix wrong endianness in short_addr get/set
2020-06-01 22:22:07 -05:00
Benjamin Valentin
cd107be976
drivers/periph/timer: add timer_set_periodic()
2020-05-28 17:37:41 +02:00
eee5bf178d
Merge pull request #13993 from benpicco/examples/filesystem-fatfs
...
examples/filesystem: add support for fatfs on SD card
2020-05-26 19:20:47 +02:00
Benjamin Valentin
616ebf9cfb
drivers/edbg_eui: add driver to get MAC address from Atmel EDBG
...
The EDBG debugger on the `samr21-xpro` contains a unique 64 bit address
intended to be used as a MAC address for the internal radio.
This adds a driver to read that EUI-64 from the debugger, it should match
with the MAC address printed on the label on the board.
2020-05-26 10:44:11 +02:00
Akshai M
5699b2469b
drivers/rn2xx3 : Expose to Kconfig
...
Expose configurations to Kconfig
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-05-22 15:52:03 +05:30
Akshai M
7d679c7f0f
drivers/rn2xx3.h : Add CONFIG_
...
Add CONFIG_ prefix to RN2XX3_DEFAULT_SLEEP
2020-05-22 15:52:03 +05:30
fabian18
9ecd836443
drivers/at24cxxx: add MTD wrapper for at24cxxx EEPROMs
2020-05-20 19:20:05 +02:00
Akshai M
74a7bb230b
drivers/tmp00x : Expose to Kconfig
...
Expose configurations to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-05-20 19:09:48 +05:30
Akshai M
414fae5b0c
drivers/tmp00x : Model as bool
...
Model CONFIG_TMP00X_USE_LOW_POWER and CONFIG_TMP00X_USE_RAW_VALUES
as bool
2020-05-20 19:09:48 +05:30
Akshai M
94d6b898fc
drivers/tmp00x : Add CONFIG_
...
Add CONFIG_ prefix to compile configurations
2020-05-20 19:09:48 +05:30
Benjamin Valentin
3b2cfa6478
drivers/sdcard_spi: add auto_init_storage to DEFAULT_MODULE
...
sdcard_spi is the only driver in auto_init_storage and was previously
pulled in by fatsfs (because it's used on SD cards)
It does however make much more sense if the SD card driver pulls that in
so other file systems can be used on SD card too.
2020-05-20 11:57:05 +02:00
Leandro Lanzieri
391f49fade
Merge pull request #14047 from benpicco/drivers/mrf24j40-turbo
...
drivers/mrf24j40: add Turbo Mode
2020-05-19 18:00:05 +02:00
benpicco
1776e54d80
Merge pull request #13604 from gschorcht/drivers/sx127x/dio_handling
...
drivers/sx127x: changes in DIO handling
2020-05-16 19:12:26 +02:00
Marian Buschsieweke
568404134a
drivers/periph/cpuid: Fix typo in doc
2020-05-14 16:53:05 +02:00
673ba21b9e
Merge pull request #14045 from benpicco/mtd_mapper_sectors
...
mtd_mapper: count offset in sectors
2020-05-12 13:47:12 +02:00
Benjamin Valentin
81b07895af
mtd_mapper: count offset in sectors
...
The offset of MTD regions must be aligned with erase sectors.
So in order not to waste address space, avoid misconfiguration and
eventually support storage media > 4 GiB, give the offset in sectors
instead of bytes.
2020-05-12 12:02:05 +02:00
4042fa2ddf
Merge pull request #13944 from benpicco/drivers/ethos-luid
...
drivers/ethos: use luid_get_eui48()
2020-05-12 10:47:06 +02:00
Benjamin Valentin
baeb5134b7
drivers/mrf24j40: add Turbo Mode
...
MRF24J40 supports a proprietary turbo mode with a data rate of 625 kbit/s
instead of the standard 250 kbit/s.
It can be enabled through
ifconfig 7 set high_rate 1
2020-05-09 16:10:46 +02:00
Benjamin Valentin
ac040c6baf
drivers/at86rf2xx: add support for high data rates
...
AT86RF2xx supports high data rates in O-QPSK mode.
This is a proprietary feature, so data rates > 0 are only supported by
other AT86RF2xx devices.
high_rate 0: 250 kbit/s (IEEE mode)
high_rate 1: 500 kbit/s
high_rate 2: 1000 kbit/s (compatible with at86rf215)
high_rate 3: 2000 kbit/s
2020-05-09 01:24:08 +02:00
Akshai M
db96ebcbe1
drivers/isl29020 : Expose to Kconfig
...
Expose configurations to Kconfig.
2020-05-08 18:07:27 +05:30
Akshai M
f01bbd3c58
drivers/isl29020 : Make ADDR configurable
...
Make ISL29020_PARAM_ADDR configurable
2020-05-08 18:07:27 +05:30
Akshai M
38687e63bb
drivers/isl29020 : Add CONFIG_
...
Add CONFIG_ prefix to ISL29020_DEFAULT_ADDRESS
2020-05-08 18:07:27 +05:30
Akshai M
b4a23b8899
drivers/tcs37727 : Expose to Kconfig
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-05-07 23:55:32 +05:30
Akshai M
04bdd405d2
drivers/tcs37727 : Add CONFIG_
...
Add CONFIG_ prefix to TCS37727_ATIME_DEFAULT and update
documentation for doxygen.
2020-05-07 23:20:24 +05:30
fabian18
50d408b202
Revert "drivers/at25xxx: return read/written bytes to match MTD API"
...
This reverts commit 8a2a936726
.
2020-05-06 20:24:27 +02:00
fabian18
a3a1c160ee
mtd: Change API to return 0 on success
...
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
Vincent Dupont
c077c07017
drivers/mrd_spi_nor: fix read spanning pages
2020-05-06 16:36:29 +02:00
benpicco
8e11acc9f8
Merge pull request #13877 from ML-PA-Consulting-GmbH/feat/20200409__add_mtd_spi_eeprom
...
drivers/mtd_spi_eeprom: add MTD wrapper for AT25XXX EEPROMs
2020-05-06 15:56:34 +02:00
Francisco
cea0d1c532
Merge pull request #13421 from benpicco/cpu/sam0_common/i2c-deinit
...
drivers/periph/i2c: add periph_i2c_reconfigure feature & implementation for sam0
2020-05-05 19:09:47 +02:00
Benjamin Valentin
21958ff531
drivers/periph/i2c: add periph_i2c_reconfigure feature
...
It is often desireable to re-configure the pins of a bus back to GPIO mode,
either to save power when an external peripheral is turned off and current
would leak, or because a device may need a non-standard in-band signal to
be generated on the bus lines.
To serve those use cases, this patch introduces four new functions to the
I2C API:
- `i2c_init_pins()` equivalent to spi_init_pins(), restores I2C pin configuration
- `i2c_deinit_pins()` to switch the configuration of the I2C pins back to GPIO
mode and block access to the bus.
- `i2c_pin_sda()` to get the data pin for a given bus
- `i2c_pin_scl()` to get the clock pin for a given bus
Since it's unreasonable to expect having implementations for all platforms
already, those functions are only availiable when the periph_i2c_reconfigure
feature is availiable.
Applications should use FEATURES_REQUIRED += periph_i2c_reconfigure or
FEATURES_OPTIONAL if they want to make use of those functions.
2020-05-05 16:12:19 +02:00