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

2530 Commits

Author SHA1 Message Date
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
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
5782c3bb0d drivers/l3g4200d : Make ADR configurable
Make L3G4200D_PARAM_ADDR configurable
2020-05-05 13:18:34 +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
9737db935d drivers/mtd_sdcard : Expose to kconfig
Expose Configurations to Kconfig
2020-05-04 22:12:13 +05:30
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
Leandro Lanzieri
34120c1a23
drivers/Kconfig: Move Actuator and Sensor menus to root file 2020-04-29 17:15:47 +02:00
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
0bc7952e30 drivers/fxos8700 : Expose to Kconfig
Expose Configurations to Kconfig
2020-04-29 14:32:00 +05:30
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
Benjamin Valentin
cfc2feca1d ieee802154: return PDU based on PHY mode
IEEE 802.15.4g-2012 specifies a PDU of 2047 for it's PHY modes, so
query the driver for the mode before returning the PDU.

If none of the new modes is used, don't query the driver to not incure
a penalty on existing platforms.
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
817370c46b drivers/sps30 : Expose to Kconfig
Expose configurations to Kconfig
2020-04-28 20:11:11 +05:30
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
f796664eed drivers/opt3001 : Expose to Kconfig
Expose configurable parameters to Kconfig

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-27 13:59:38 +05:30
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
0277b0facc drivers/pn532 : Expose to Kconfig
Expose configurations to Kconfig
2020-04-25 23:06:07 +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
922b35da2d
drivers/xbee: disable CTS/RTS pin unless periph_uart_hw_fc is used
If usinng an arduino xbee shield then CTS pin will be wired to the
ICSP connector RESET pin.

If also used on an arduino-% board then if xbee is busy sending or
receiving data it will assert CTS and this will trigger a reset on
the board.

To avoid this disable CTS functionality on start up unless hardware
flow control is explicitly requested.
2020-04-24 10:54:36 +02:00
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
fc3ff2a9d9 drivers/mag3110 : Expose to Kconfig
Expose Configurations to Kconfig

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-23 15:50:26 +05:30
Akshai M
9c052a6288 drivers/mag3110 : Add CONFIG_
Add CONFIG_ Prefix for MAG3110_I2C_ADDRESS
2020-04-23 15:49:55 +05:30
Akshai M
c654b4ea3c drivers/motor_driver : Expose to Kconfig
Expose Configurations to Kconfig

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-23 15:21:17 +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
ec98054bea drivers/mma8x5x : Expose to Kconfig
Expose Configurations to Kconfig
2020-04-22 22:02:34 +05:30
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
7b2591ea09 drivers_at86rf215 : Expose to Kconfig
Expose Configurations to Kconfig

Co-Authored-By: benpicco <benpicco@googlemail.com>
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-22 15:55:21 +05:30