1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

1717 Commits

Author SHA1 Message Date
Benjamin Valentin
6f23263503 drivers/at86rf215: implement MR-FSK 2020-11-03 10:51:21 +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
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
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
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
Bas Stottelaar
26835a949f drivers/*: remove unused assert.h include 2020-10-22 11:29:27 +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
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
Nishchay-sopho
eb1064eef4 drivers/scd30: Add reset function to Sensirion scd30 sensor 2020-10-14 15:07:01 +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
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
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
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
Jose Alamos
4bb77b0b2f netdev/ieee802154_submac: add compatibility layer 2020-09-30 17:25:31 +02:00
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
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
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
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
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
Jose Alamos
074dc8d328 drivers/at86rf2xx: fix at86rf2xx_set_rxsensitivity 2020-09-16 14:47:51 +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
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
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
Leandro Lanzieri
16b5fd303b
drivers: add usbdev_mock 2020-09-04 15:01:16 +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
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
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
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
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
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
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
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
Nishchay-sopho
3245dee8d8 drivers/sps30: Update units of measurement 2020-08-12 12:50:35 +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
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
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
2e34298265 drivers/nrf24l01p: use unsigned char 2020-07-31 13:38:03 +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
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
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
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
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
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
Hendrik van Essen
9d068d582a drivers/pca9633: make enum anonymous 2020-07-17 15:05:32 +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
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
82bfb66cb8
drivers: Added driver for the DFPlayer MP3 player 2020-06-28 21:06:43 +02:00
Gunar Schorcht
660a852935 drivers: add netdev driver for ATWINC15x0 WiFi module 2020-06-26 12:33:38 +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
Hendrik van Essen
1430ddca55 driver/pca9633: add new driver 2020-06-25 22:31:15 +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
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
Francisco Molina
8d329942df
drivers/periph/rtt: introduce RTT_MIN_OFFSET 2020-06-11 09:30:25 +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
4e9420bffc drivers/at86rf215: prefix configuration defines with CONFIG_ 2020-06-09 11:48:59 +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
cc5fbdf9f8 drivers/at86rf215: implement MR-OFDM 2020-06-03 15:58:50 +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
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
Benjamin Valentin
cd107be976 drivers/periph/timer: add timer_set_periodic() 2020-05-28 17:37:41 +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
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
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
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
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
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
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
Johannes Koster
177a653bd1 drivers/at25xxx: add MTD wrapper for AT25XXX EEPROMs
drivers/at25xxx: add mtd_wrapper as submodule

tests: add mtd_at25xxx test module for mtd wrapper

drivers/Makefile.dep: add at25xxx dep for mtd_at25xxx module
2020-05-05 13:37:51 +01:00
Akshai M
21dd8f7555 drivers/l3g4200d : Expose to Kconfig
Expose configurations to Kconfig.
2020-05-05 13:19:49 +05:30
Akshai M
ebbfcfb56b drivers/l3g4200d : Add CONFIG_
Add CONFIG_ prefix to L3G4200D_DEFAULT_ADDRESS
2020-05-05 13:18:34 +05:30
Leandro Lanzieri
28eedd6459
Merge pull request #14000 from akshaim/Kconfig_lpsxxx
drivers/lpsxxx : Expose Configurations to Kconfig
2020-05-05 09:09:30 +02:00
Leandro Lanzieri
1fe30c1aca
Merge pull request #13932 from akshaim/Kconfig_mtd_sdcard_1
drivers/mtd_sdcard : Expose Configurations to Kconfig
2020-05-04 21:14:59 +02:00
Akshai M
854145c884 drivers/mtd_sdard : Add MACRO and CONFIG_
Replace MTD_SDCARD_SKIP_ERASE with MTD_SDCARD_ERASE
Add CONFIG_ Prefix to MTD_SDCARD_ERASE
Model CONFIG_MTD_SDCARD_ERASE as bool
2020-05-04 22:12:13 +05:30
Akshai M
a084383baf drivers/lpsxxx : Expose to Kconfig
Expose configurations to Kconfig and update documentation.
2020-05-04 18:20:56 +05:30
Akshai M
9ef4f30c5e drivers/bmx055 : Expose to Kconfig
Expose configurations to Kconfig
2020-05-04 18:18:00 +05:30
Akshai M
db7ca7eed9 drivers/lpsxxx : Add CONFIG_
Add CONFIG_ prefix to LPSXXX_DEFAULT_ADDRESS
2020-05-04 17:42:04 +05:30
Akshai M
211b86c54d drivers/bmx055 : Add CONFIG_
Add CONFIG_ prefix to compile configurations
2020-05-04 17:40:01 +05:30
Francisco
80b300289d
Merge pull request #13912 from benpicco/at86rf215-mr-qpsk
drivers/at86rf215: implement MR-O-QPSK
2020-04-29 12:44:00 +02:00
Leandro Lanzieri
c8fa7f045b
Merge pull request #13914 from akshaim/Kconfig_fxos8700
drivers/fxos8700 :  Expose Configurations to Kconfig
2020-04-29 11:42:37 +02:00
Akshai M
e5fe525711 drivers/fxos8700 : Add CONFIG_
Add CONFIG_ Prefix for FXOS8700_USE_ACC_RAW_VALUES and model
it as a bool

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-29 14:32:00 +05:30
Benjamin Valentin
e6d47aa825 drivers/at86rf215: implement MR-O-QPSK 2020-04-29 10:41:37 +02:00
Benjamin Valentin
0cf9f6aa7f drivers/at86rf215: implement at86rf215_get_phy_mode() 2020-04-29 10:41:37 +02:00
Akshai M
e6924e525d drivers/slipdev : Expose to Kconfig
Expose configurations to Kconfig
2020-04-29 09:42:59 +05:30
Akshai M
b4451ffd43 drivers/slipdev : Add CONFIG_
Add CONFIG_ prefix to SLIPDEV_BUFSIZE
2020-04-29 09:42:10 +05:30
c0f46c06bb
drivers/stmpe811: provide adaption to touch_dev interface 2020-04-28 18:18:01 +02:00
3d557556e0
sys: add interface for generic touch device 2020-04-28 18:17:31 +02:00
Akshai M
819a36d513 drivers/sps30 : Add CONFIG_
Add CONFIG_ prefix to SPS30_ERROR_RETRY
2020-04-28 20:10:21 +05:30
81c2b08d9b
drivers/disp_dev: use const qualifier 2020-04-28 13:14:52 +02:00
Akshai M
abb1477ffe drivers/opt3001 : Define Options
Define choices for macros.
2020-04-27 13:59:37 +05:30
Akshai M
80534dfc36 drivers/opt3001 : Add CONFIG_
Add CONFIG_ prefix to compile time configurations
2020-04-27 13:59:37 +05:30
Akshai M
53c988a06c drivers/pn532 : Add CONFIG_
ADD CONFIG_ prefix to PN532_BUFFER_LEN
2020-04-25 22:33:34 +05:30
Francisco Molina
0c0f8ec98f
drivers/periph/rtt.h: add RTT_FREQUENCY & RTT_MAX_VALUE doc 2020-04-23 22:11:16 +02:00
Francisco Molina
2604971753
drivers/periph/rtt.h: ensure RTT_MAX_VALUE is set 2020-04-23 19:07:18 +02:00
Leandro Lanzieri
341916cd30
Merge pull request #13915 from akshaim/Kconfig_mag3110
drivers/mag3110 : Expose Configurations to Kconfig
2020-04-23 13:21:34 +02:00
Akshai M
9c052a6288 drivers/mag3110 : Add CONFIG_
Add CONFIG_ Prefix for MAG3110_I2C_ADDRESS
2020-04-23 15:49:55 +05:30
Akshai M
39826d6e5b drivers/motor_driver : Add CONFIG_
Add CONFIG_ Prefix for MOTOR_DRIVER_MAX
2020-04-23 15:21:17 +05:30
Leandro Lanzieri
c2c32a42f5
Merge pull request #13926 from akshaim/Kconfig_mma8x5x
drivers/mma8x5x : Expose Configurations to Kconfig
2020-04-23 09:20:09 +02:00
Akshai M
7e3096eae1 drivers/mma8x5x : Add CONFIG_
Add CONFIG_ Prefix for CONFIG_MMA8X5X_I2C_ADDRESS
2020-04-22 21:57:05 +05:30
Leandro Lanzieri
ee7493429b
Merge pull request #13885 from akshaim/Kconfig_at86rf215
drivers/at86rf215 : Expose Configurations to Kconfig
2020-04-22 13:59:29 +02:00
Leandro Lanzieri
7284434656
Merge pull request #13910 from akshaim/Kconfig_dose
drivers/dose.h : Expose Configurations to Kconfig
2020-04-22 12:39:30 +02:00
Akshai M
68e2fc5845 drivers/at86rf215 : Add CONFIG
Add CONFIG_ Prefix for configuring AT86RF215_TRIM_VAL
2020-04-22 15:54:33 +05:30
Akshai M
8617991312 drivers/at86rf215 : Add CONFIG_
Add Add CONFIG_ Prefix for AT86RF215_USE_CLOCK_OUTPUT and model
it as a bool

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-22 15:54:33 +05:30
19119f142a
Merge pull request #13558 from fjmolinas/pr_mtd_powerup
drivers/mtd_spi_nor: power up MTD on init
2020-04-21 13:53:07 +02:00
Akshai M
0784190c9c drivers/dose : Add CONFIG_
Add CONFIG_ Prefix for DOSE_TIMEOUT_USEC
2020-04-21 16:00:25 +05:30
Francisco Molina
61eecf6fe0
drivers/mtd_spi_nor: power up MTD on init 2020-04-21 11:09:40 +02:00
Akshai M
01a8c64e39 drivers/cc110x : Add CONFIG_
Add Add CONFIG_ Prefix for CC110X_DEFAULT_CHANNEL
2020-04-17 23:27:01 +05:30
Leandro Lanzieri
2f75c60527
Merge pull request #13881 from akshaim/kconfig_ads101x
drivers/ads101x : Expose Configurations to Kconfig
2020-04-17 15:39:07 +02:00
Leandro Lanzieri
369eda6bd9
Merge pull request #13831 from akshaim/I2C_Address_Cleanup
I2C Address Cleanup and Documentation
2020-04-17 13:42:35 +02:00
Akshai M
b20e408854 drivers/ads101x : Add CONFIG_
Add CONFIG_ Prefix for configuring the Compile time macros
2020-04-17 16:43:16 +05:30
Akshai M
b75fc0cfa6 drivers/include/tcs37727.h : Remove ifndef for I2C
Remove ifndef and better formatting for Doxygen
2020-04-17 15:45:37 +05:30
Akshai M
de5db5c99d drivers/include/mpl3115a2.h : Remove ifndef for I2C 2020-04-17 15:45:37 +05:30
Akshai M
c6f55b6f81 drivers/include/lpsxxx.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-17 15:45:19 +05:30
Benjamin Valentin
8a2a936726 drivers/at25xxx: return read/written bytes to match MTD API
The MTD API expects read() to return the number of read bytes and
write() to return the number of written bytes.

So change the driver API to match that.
2020-04-17 11:32:06 +02:00
Akshai M
f705b0e5af drivers/include/l3g4200d.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen
2020-04-17 14:08:39 +05:30
Akshai M
e2b3175a1c drivers/include/isl29020.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen
2020-04-17 14:07:58 +05:30
Akshai M
6757d97766 drivers/include/hts221.h : Remove ifndef for I2C 2020-04-17 14:07:58 +05:30
Akshai M
1e6c0e3935 drivers/include/ds1307.h : Remove ifndef for I2C 2020-04-17 14:07:58 +05:30
Akshai M
c59e17ea19 drivers/include/bmx055.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen
2020-04-17 14:06:07 +05:30
Akshai M
7a4191a8d5 drivers/hdc1000 : Add CONFIG_
Add CONFIG_ Prefix for configuring the Compile time macros
2020-04-16 17:17:27 +05:30
Akshai M
c452323ab5 drivers/include/cc110x.h : Add group
Add compile parameters to config_drivers_netdev group to Doxygen

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-15 13:58:31 +05:30
Akshai M
aa7e84a6d7 drivers/mma8x5x.h : Compile Configs
Add CT Params to sensors group in Config for Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
b9f71610d7 drivers/include/ads101x.h : Add Group
Add CT Params to sensors group in Config for Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
b36b3b9819 drivers/include/fxos8700.h : Add group
Add compile parameters to config_drivers_sensors group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
32c4fe3cd4 drivers/include/ds1307.h : Add group
Add compile parameters to config_drivers_sensors group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
eb3456ee1d drivers/include/dose.h : Add group
Add compile parameters to config_drivers_netdev group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
11c2803bcf drivers/include/at86rf215.h : Add Group
Add CT Params to netdev group in Config for Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
007cd5bb26 drivers/include/at.h : Add Group
Add CT Params to misc group in Config for Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
497a967a23 drivers/include/sx127x.h : Add group
Add to config_netdev group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
80c6374cc4 drivers/include/mrf24j40.h : Modify group
Add to config_netdev group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
bc65ffdcde drivers/include/ethos.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
10d6b7a976 drivers/include/tmp00x.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
a6d7eab027 drivers/include/tcs37727.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
0ac93bfb07 drivers/include/sps30.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
462e321ec0 drivers/include/soft_spi.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
c63bdca3ab drivers/include/slipdev.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
4333a9f299 drivers/include/rn2xx3.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
1d3c2c4320 drivers/include/pn532.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
4c4c9f0c2b drivers/include/pir.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
f39b320b5d drivers/include/opt3001.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
4744401bb5 drivers/include/mtd_sdcard.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
2405ca3721 drivers/include/mpl3115a2.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
b812772e40 drivers/include/motor_driver.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
56cb11344b drivers/include/mag3110.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
5e2478b3c5 drivers/include/kw41zrf.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
4f31c40526 drivers/include/kw2xrf.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
dba177c8aa drivers/include/ili9341.h : Compile Configs 2020-04-14 20:52:16 +05:30
Akshai M
013c161e1c drivers/include/hdc1000.h : Compile Configs 2020-04-14 20:52:16 +05:30
Marian Buschsieweke
9efd47952e
drivers/ws281x: Extended doc
Point out that automatic backend selection is performed, when no backend is
selected.
2020-04-09 13:34:51 +02:00
Marian Buschsieweke
4e60eb9dd5
Merge pull request #13843 from mtreffers/doc-fixes
Doc: fix typo and extend ws281x documentation
2020-04-09 13:21:45 +02:00
mtreffers
1ca28b8181 drivers/ws281x: fix documentation
extend ws281x documentation with usage for ESP32 and VT100

fix indendation
2020-04-09 10:22:39 +02:00
Francisco
3177784039
Merge pull request #13798 from jia200x/pr/at86rf2x_basic_mode
at86rf2xx: implement basic mode (v2)
2020-04-09 09:21:15 +02:00
Leandro Lanzieri
a06d9bbb66
Merge pull request #13315 from jia200x/pr/kconfig/ieee802154
ieee802154: Expose configurations to Kconfig
2020-04-08 19:34:55 +02:00
Jose Alamos
69eb3c7fe2 at86rf2xx: add basic mode PHY state 2020-04-08 19:14:44 +02:00
Jose Alamos
77325b4cde ieee802154: add CONFIG_ prefix to config macros 2020-04-08 19:08:25 +02:00
Leandro Lanzieri
ede9117a1e
drivers/mrf24j40: Turn MRF24J40_USE_EXT_PA_LNA into bool config
MRF24J40_USE_EXT_PA_LNA is moved to the 'CONFIG_' namespace and by
default is not set. Now it is checked in code using 'IS_ACTIVE'.
2020-04-08 18:49:30 +02:00
Leandro Lanzieri
655ce69903
drivers/mrf24j40: Turn MRF24J40_TEST_SPI_CONNECTION into bool config
MRF24J40_TEST_SPI_CONNECTION is moved to the 'CONFIG_' namespace and by
default is not set. Now it is checked in code using 'IS_ACTIVE'.
2020-04-08 18:49:27 +02:00
067b324645
Merge pull request #11945 from benpicco/EEPROM-m95m01
drivers: add driver for AT25xxx family of EEPROMs
2020-04-07 13:19:21 +02:00
Benjamin Valentin
97fc2f2af1 drivers: add AT25xxx series EEPROM
This adds a driver for the ST M95xxx series SPI EEPROMs.
The driver has been tested with the M95M01 EEPROM, but should
work with other chips from that family.

SPI-EEPROMs from other vendors from the families AT25xxx, 25AAxxx,
25LCxxx, CAT25xxx & BR25Sxxx should also in the same way.
2020-04-07 12:31:46 +02:00
benpicco
660b1a9b5f
Merge pull request #10083 from gschorcht/drivers_hmc5883l
drivers: add driver for Honeywell HMC5883L magnetometer
2020-04-01 14:49:34 +02:00
benpicco
d1ccfe6c9a
Merge pull request #13778 from akshaim/fxos8700_CT_Config
drivers/include/fxos8700.h : Compile Configs
2020-04-01 13:43:01 +02:00
Gunar Schorcht
e6090adb3f drivers: add hmc5883l device driver 2020-04-01 13:37:22 +02:00
Leandro Lanzieri
6f30086609
Merge pull request #13775 from akshaim/ds1307_CT_Config
drivers/include/ds1307.h : Compile Configs
2020-04-01 13:28:36 +02:00
Leandro Lanzieri
bb6fa878a2
Merge pull request #13770 from akshaim/dose_CT_Config
drivers/include/dose.h : Compile Configs
2020-04-01 13:10:01 +02:00
Akshai M
27458701b6 drivers/include/fxos8700.h : Compile Configs 2020-04-01 14:53:44 +05:30
Akshai M
5e97feb88e drivers/include/dose.h : Compile Configs 2020-04-01 14:35:45 +05:30
Akshai M
c94abb5a36 drivers/include/ds1307.h : Compile Configs 2020-04-01 13:42:45 +05:30
Akshai M
9e3ea3e7b6 drivers/include/ads101x.h: Tagged Compile Time Parameters 2020-04-01 12:50:02 +05:30
Benjamin Valentin
1ed125dc06 drivers/at86rf215: document AT86RF215_TRIM_VAL
There is a compile-time configurable TRIM value.
This adds documentation for it.
2020-03-31 22:54:53 +02:00
benpicco
baa2024241
Merge pull request #13766 from akshaim/at_CT_Config
drivers/include/at.h : Tagged Compile Time Configurations
2020-03-31 21:51:44 +02:00
Akshai M
769fd0840c drivers/include/at86rf215.h: Tagged Compile Time Configuration 2020-03-31 22:20:02 +05:30
Akshai M
df9814df12 drivers/include/at.h : Tagged Compile Time Configurations 2020-03-31 21:45:16 +05:30
Leandro Lanzieri
00b71a2708
drivers/wdt: Move WDT_WARNING_PERIOD to 'CONFIG_' namespace 2020-03-31 13:39:37 +02:00
Akshai M
58516f7e2a drivers/include/sx127x.h: Tagged Compile Time Configuration 2020-03-27 19:06:10 +05:30
Martine S. Lenders
62d48d5bf3
gnrc_netif: document new *_create() out parameter as such 2020-03-26 14:37:44 +01:00
Martine Lenders
061eb88c05
Merge pull request #12994 from jia200x/pr/gnrc_netif_desc_alloc
gnrc_netif: implementation of dynamic GNRC_NETIF_NUMOF approach
2020-03-26 14:30:44 +01:00
Jose Alamos
67ed9defbe gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
Christian Friedrich Coors
08703766fc drivers/ws281x: Add ESP32 support 2020-03-25 17:25:35 +01:00
1498a7ada2
drivers/disp_dev: add help functions for backlight 2020-03-24 12:02:50 +01:00
Francisco
cdbf0b2d69
Merge pull request #13583 from benpicco/at86rf215-minimal
drivers/at86rf215: add basic support for AT86RF215 dual-band radio
2020-03-20 09:33:50 +01:00
benpicco
5435792034
Merge pull request #12277 from benemorius/pr/kw41zrf
drivers: add kw41zrf
2020-03-20 00:49:56 +01:00
Joakim Nohlgård
5bd67d88a8 drivers/kw41zrf: Transceiver driver for the KW41Z radio
This is the radio found in NXP Kinetis KW41Z, KW21Z. Only 802.15.4 mode
is implemented (KW41Z also supports BLE on the same transceiver).

The driver uses vendor supplied initialization code for the low level
XCVR hardware, these files were imported from KSDK 2.2.0 (framework_5.3.5)
2020-03-19 17:00:04 -05:00
Benjamin Valentin
60cc3b8757 periph/rtt: Allow using MOCK_RTT defines from Unit Test 2020-03-19 15:25:14 +01:00
Benjamin Valentin
d35511bee7 drivers/at86rf215: Add basic driver for the AT86RF215 radio
This adds a driver for the SPI based AT86RF215 transceiver.
The chip supports the IEEE Std 802.15.4-2015 and IEEE Std 802.15.4g-2012 standard.

This driver supports two versions of the chip:
    - AT86RF215:  dual sub-GHz & 2.4 GHz radio & baseband
    - AT86RF215M: sub-GHz radio & baseband only

Both radios support the following PHY modes:
    - MR-FSK
    - MR-OFDM
    - MR-O-QPKS
    - O-QPSK (legacy)

The driver currently only implements support for legacy O-QPSK.

To use both interfaces, add

    GNRC_NETIF_NUMOF := 2

to your Makefile.

The transceiver is able to send frames of up to 2047 bytes according to
IEEE 802.15.4g-2012 when operating in non-legacy mode.

Known issues:

 - [ ] dBm setting values are bogus
 - [ ] Channel spacing for sub-GHz MR-O-QPSK might be wrong
 - [ ] TX/RX stress test will lock up the driver on openmote-b
2020-03-19 14:39:18 +01:00
Gunar Schorcht
c4325e4d5e drivers/bme680: add SAUL capabilities 2020-03-12 08:52:10 +01:00
Gunar Schorcht
1118f80180 drivers/saul: add common gas class 2020-03-12 08:42:59 +01:00
Gunar Schorcht
9dd11eb188 drivers: add support for BME680 driver
Add the support for BME680 based on the BME680 vendor driver package.
2020-03-12 08:42:59 +01:00
Schorcht
7548a6e849 drivers: add APDS99XX ALS and proximity 2020-03-11 14:21:47 +01:00
Jose Alamos
67bc0e13af netdev: add netdev_trigger_event_isr function 2020-03-06 14:02:40 +01:00
Martine Lenders
ff425576a0
slipdev_stdio: provide stdio multiplexing over SLIP 2020-03-06 08:58:45 +01:00
Martine Lenders
8e827055f0
slipmux: remove inesc member
It's not needed anymore.
2020-03-06 08:58:45 +01:00
benpicco
7af046d740
Merge pull request #13548 from benpicco/sys/auto_init/netif-manual
sys/auto_init: allow delayed initialisation of SAUL & gnrc_netif
2020-03-05 17:05:02 +01:00
Jan Mohr
aa5ffe5a6d drivers/lis2dh12: added interrupt function 2020-03-04 17:01:58 +01:00
Benjamin Valentin
521b1ce440 sys/auto_init: allow delayed initialisation of SAUL
Co-authored-by: Martine S. Lenders <m.lenders@fu-berlin.de>
2020-03-04 16:13:40 +01:00
1298ae828a
Merge pull request #13202 from bergzand/pr/mtd/mapper
MTD: Add module for remapping MTD sectors
2020-03-04 11:51:39 +01:00
9a430cd682
mtd: add module for remapping MTD sectors 2020-03-04 10:47:50 +01:00
Benjamin Valentin
725311a054 periph_common/rtc: add rtc_tm_valid()
Add a function to verify all members of a struct tm are within
the valid range.
2020-03-03 16:26:14 +01:00
Gunar Schorcht
9e372104f0
Merge pull request #13284 from benpicco/rtc_mktime
periph_common/rtc: add rtc_mktime() & rtc_localtime() helper functions for RTC implementations
2020-03-03 14:12:50 +01:00
b050608771
Merge pull request #13262 from aabadie/pr/sys/disp_dev
sys/disp_dev: add generic interface for display drivers
2020-03-03 13:25:45 +01:00
d13d1aed48
Merge pull request #13336 from bergzand/pr/mtd_spi_nor/erase_timings_in_struct
mtd_spi_nor: erase timings in struct
2020-03-03 11:59:28 +01:00
Benjamin Valentin
5b64ae4ef5 periph_common/rtc: add rtc_localtime()
Add function to convert a RTC timestamp (non-UNIX) to a time struct.
2020-03-03 11:01:02 +01:00
acfac5d32d
drivers/ili9341: provide adaption to disp_dev interface 2020-03-03 10:25:55 +01:00
ac6d0b9077
sys: add interface for generic display device 2020-03-03 10:25:54 +01:00
dc04b86d1b
mtd_spi_nor: Add wait timings to parameters 2020-03-03 09:49:00 +01:00
Benjamin Valentin
becff61e20 periph_common/rtc: add rtc_mktime()
Add a function to convert a time struct to an unsigned timestamp (non-UNIX).
2020-02-29 17:42:50 +01:00
Gunar Schorcht
a27e77cfb3 drivers/at24mac: fix grouping in doc 2020-02-27 08:46:40 +01:00
Gunar Schorcht
dfae4fbb27 drivers/bmx280: remove line break in defgroup
defgroup command must not contain a line break.
2020-02-27 08:43:21 +01:00
Gunar Schorcht
2bbc02a6e0 drivers/sps30: brief documentation added 2020-02-27 08:43:21 +01:00
Gunar Schorcht
a9a9745ffd drivers/at: change grouping in doc 2020-02-27 08:43:21 +01:00
Gunar Schorcht
4c210b7b2f drivers/at24xxx: fix grouping in doc 2020-02-27 08:43:21 +01:00
2dcf65d942
Merge pull request #13332 from bergzand/pr/mtd_spi_nor/params_struct
mtd_spi_nor: Move const params to separate struct
2020-02-26 09:43:18 +01:00
2b713f13cb
drivers/srf08: refactor driver configuration 2020-02-25 21:24:02 +01:00
benpicco
aa1c23d4bd
Merge pull request #11929 from fabian18/driver-at24cxxx-eeprom
Driver for AT24CXXX EEPROM
2020-02-25 18:16:45 +01:00
fabian18
2c77ee4cab drivers/at24cxxx: at24cxxx EEPROM driver 2020-02-24 14:00:25 +01:00
Michel Rottleuthner
1743f96fa8 drivers/saul: satisfy vera++ (shorten lines to below 100 chars) 2020-02-20 14:26:55 +01:00
Michel Rottleuthner
7e089bce7b drivers/sps30: add saul integration 2020-02-20 14:26:55 +01:00
Michel Rottleuthner
46091b6b43 drivers/saul: add class and string for size measurements 2020-02-20 14:26:55 +01:00
Michel Rottleuthner
c4093c29a4 drivers: add driver for Sensirion SPS30 particulate matter sensor 2020-02-20 14:26:55 +01:00
Yegor Yefremov
f63cc9f900 drivers/sx127x: fix dead links
URLs of the datasheets have been changed again.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2020-02-17 09:54:21 +01:00
Jue
9cb8e2c941 drivers/dose: made the sense pin optional 2020-02-16 17:58:58 +01:00
Jue
cc184ca65b drivers/dose: fixed misspelled OCTET 2020-02-16 17:58:57 +01:00
Benjamin Valentin
d3ace2e821 drivers: add at24mac driver
The AT24MAC is an EEPROM that provides unique ID functionality.
On one address it provides normal AT24xxx EEPROM operations, but
on a seperate i2c address a read-only EUI-64 and a 128-bit ID are
provided.

This adds a simply driver for this chip.
2020-02-13 15:58:43 +01:00
1bc842707a
drivers/stmpe811: add implementation 2020-02-13 09:14:51 +01:00
benpicco
f5b6544123
Merge pull request #13329 from wosym/pr/bh1900nux
Add bh1900nux driver
2020-02-12 11:16:23 +01:00
Wouter Symons
a2d9389373 Add bh1900nux driver 2020-02-12 07:34:22 +01:00
e5fa8921b3
mtd_spi_nor: Move const params to separate struct 2020-02-11 15:55:41 +01:00
e27a0be577
Merge pull request #13328 from bergzand/pr/docs/display_group
drivers: Add display device doxygen group
2020-02-10 20:19:16 +01:00
Benjamin Valentin
11d77271cf drivers/ws281x: introduce WS281X_HAVE_INIT
This brings the backend-dependant init() function in line with
`WS281X_HAVE_PREPARE_TRANSMISSION` and `WS281X_HAVE_END_TRANSMISSION`.
2020-02-10 14:45:26 +01:00
6b2478953c
pcd8544: move to display devices doxygen group 2020-02-10 14:11:17 +01:00
7ade31ad5b
ili9341: move to display devices doxygen group 2020-02-10 14:11:05 +01:00
d070f2924d
hd44780: move to display devices doxygen group 2020-02-10 14:10:46 +01:00
965a0f9c9a
dsp0401: move to display devices doxygen group 2020-02-10 14:10:18 +01:00
e573d8b57f
drivers/ili9341: cleanup doxygen documentation 2020-02-10 11:46:01 +01:00
e126599928
drivers/ili9341: use const qualifier where possible 2020-02-02 18:55:46 +01:00
Sebastian Meiling
a4c4c25b3b
Merge pull request #12866 from jia200x/pr/gnrc_lorawan_remove_netdev
net/gnrc_lorawan: remove netdev layer from MAC
2020-01-30 14:02:59 +01:00
Marian Buschsieweke
fdc87ae30d
drivers/cc110x: Fixed typo in doc 2020-01-23 18:27:04 +01:00
cab8729e32 drivers/ili9341: add number of lines parameter 2020-01-15 15:36:21 +01:00
cfbab79398
Merge pull request #13105 from bergzand/pr/ili9341_add_config
ili9341: Add color mode and inversion parameters
2020-01-13 21:07:25 +01:00
Francisco
3e0043021b
Merge pull request #13110 from kaspar030/periph_rtt_docimp
periph/rtt: clarify rtt_set_alarm() documentation
2020-01-13 17:12:08 +01:00
146137ef72
ili9341: Add color mode and inversion parameters 2020-01-13 17:09:02 +01:00
Leandro Lanzieri
434309a9e2
Merge pull request #13106 from MrKevinWeiss/pr/fix/mpudoc
drivers/mpu9x50: Fix prameter placement for docs
2020-01-13 15:51:00 +01:00
4df2827fe1 periph/rtt: clarify rtt_set_alarm() documentation 2020-01-13 15:18:16 +01:00
Francisco
1977423e9b
Merge pull request #13048 from maribu/adc-int32_t
periph/adc: Change return type of `adc_sample()` to `int32_t`
2020-01-13 12:56:09 +01:00
MrKevinWeiss
e19091541f drivers/mpu9x50: Fix prameter placement for docs
When generating the doxygen output the temp sens and offset are in the config group.
Since they are internal parameters not to be accessed by users they are placed in the mpu9x650_internal.h file.
2020-01-13 12:50:13 +01:00
benpicco
1c148ba2f2
Merge pull request #10092 from gschorcht/drivers_itg320x
drivers: add driver for InvenSense ITG-320X 3-axis gyroscope
2020-01-11 17:37:48 +01:00
Schorcht
71772cc3b3 drivers: add driver for ITG320X 3-axis gyroscope 2020-01-11 08:02:34 +01:00
Marian Buschsieweke
6e39b4d191
drivers/periph: adc_sample() now returns int32_t
Reasoning: This allow support for ADCs with resolution of more than 16 bits on
8 bit and 16 bit platforms.
2020-01-10 14:13:06 +01:00
Marian Buschsieweke
e03615fd38
drivers/dht: Worked around doxygen bug
Markdown in @retval values is currently broken in Doxygen. This removes use
of markdown there
2020-01-09 17:08:05 +01:00
benpicco
87f86c4c08
Merge pull request #12924 from daexel/shtc1_bugfix
drivers/shtc1: Initial support for the SHTC1 temperature and humidity sensor
2019-12-16 18:21:48 +01:00
steffen
fa05cf0c5d Driver/shtc1: add saul integration
- add saul integration
- uncrustified
- SAUL/DRIVER tests
2019-12-16 15:29:04 +01:00
Jue
bc46c7478f drivers: add Differentially Operated Serial Ethernet driver 2019-12-16 10:43:13 +01:00
35737a24e4
drivers/ili9341: add spi mode configuration option 2019-12-11 16:18:40 +01:00
ef4dcb8eec
ili9341: Initial include
This commit adds support for the ili9341 display
2019-12-11 16:18:37 +01:00
Jose Alamos
99dbcecc3a net/gnrc_lorawan: remove netdev SAP interface 2019-12-03 14:08:35 +01:00
Yegor Yefremov
87d8f29af2 drivers/ws281x: improve documentation
Replace 'to' with 'too' and remove the space between '8 MHz'.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-29 11:24:29 +01:00
Jannes
0acf55af53 drivers/ncv7356: Add documentation 2019-11-27 13:35:57 +01:00
MichelRottleuthner
bf676d4728
Merge pull request #11022 from jia200x/pr/gnrc_lorawan
gnrc_lorawan: add support for GNRC based LoRaWAN stack
2019-11-27 09:25:20 +01:00
Jose Alamos
523d1af490 netdev: add netdev types for GNRC_LORAWAN 2019-11-26 21:52:05 +01:00
Marian Buschsieweke
2d81738cb9
drivers/pulse_counter: Use C11 atomics & bugfix
- Previously the pulse counter used GCC's built-in functions for atomic memory
  access. This PR changes this to use C11 atomics instead:
    - Use of C11 atomics instead of atomic build-in functions makes the code
      more portable and readable.
- Previously pulse_counter_reset() did not use an atomic function, so that
  resets would be racy. (E.g. on the 8-bit AVR platform an 16-bit store is
  not atomic, unless special care (like using C11 atomics) is taken.)
2019-11-26 14:04:42 +01:00
benpicco
ffe208a3a4
Merge pull request #11394 from maribu/saul_stringification
drivers/saul: Improved stringification
2019-11-26 13:53:59 +01:00
benpicco
af0c6e9319
Merge pull request #12772 from daexel/bme280_bugfix
drivers/bmx280: add temp_measurement to methods
2019-11-25 18:26:50 +01:00
benpicco
a21fe4ae87
Merge pull request #12259 from daexel/dcf77
drivers/dcf77:Inital Support DCF77
2019-11-25 16:20:51 +01:00
Michel Gerlach
973d9fd54b driver/bme280: add dependencies on temperature for pressure and humidity 2019-11-25 13:13:24 +01:00
Marian Buschsieweke
3264106a2f
Merge pull request #12704 from benpicco/AT86RFR2_smart_idle
drivers/at86rf2xx: enable Smart Reduced Power Consumption for AT86RFR2
2019-11-25 11:57:44 +01:00
Marian Buschsieweke
837e9c1ddc
drivers/saul: Improved stringification
- Changed declaration of SAUL classes (while keeping the format)
    - Termed "class of SAUL classes" category of SAUL classes in the doc to
      avoid confusion. (E.g. a SAUL class will now be in category sensor or
      actuator.)
    - Separate enums for SAUL category and intra-category ID. Numbers will now
      but auto-assigned by the compiler
- Use constant look-up tables for stringification (one table per SAUL category).
  ==> This saves 512B in .data section of AVR
2019-11-25 10:09:11 +01:00
benpicco
ce1f383f90
Merge pull request #12606 from maribu/at86rf2xx-addr-endianess
drivers/at86rf2xx: Updated address API
2019-11-24 16:33:16 +01:00
c87748f563 periph: fix periph/gpio_util.h header guards 2019-11-23 22:39:40 +01:00
eeca0e3752 drivers/include: fix typos 2019-11-23 22:39:40 +01:00
5ebe48ce42 drivers/sht3x: fix typos 2019-11-23 22:39:39 +01:00
1d2dd2efdd drivers/sdcard_spi: fix typos 2019-11-23 22:39:39 +01:00
a90a192648 drivers/pca9685: fix typos 2019-11-23 22:39:39 +01:00
541596c893 drivers/nrf24l01p: fix typos 2019-11-23 22:39:39 +01:00
Francois Berder
4a31f94cfc many typo fixes
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Marian Buschsieweke
f0317c50f2
drivers/at86rf2xx: Updated address API
Changed the address getter and setter functions to avoid byte order
confusion.
2019-11-23 19:40:09 +01:00