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

3894 Commits

Author SHA1 Message Date
Daniel Lockau
257ffdb442 drivers/mcp2515: fix set bittiming
- apply hardware dependent parameters to bittiming struct before
  reinitializing the hardware with the new parameter set
2022-05-02 14:04:52 +02:00
Benjamin Valentin
4b5858bc7f drivers/dose: make use of TIM_FLAG_SET_STOPPED 2022-04-29 22:33:07 +02:00
Marian Buschsieweke
1fd4d41d76
driver/netdev_ieee802154: Make timestamp optional
Also remove duplicate struct member.
2022-04-22 14:33:56 +02:00
Marian Buschsieweke
f881ad3f90
drivers/Kconfig: split netdev Kconfig to drivers/netdev 2022-04-22 14:33:50 +02:00
Marian Buschsieweke
23855e140e
drivers: Add periph/gpio_ll API
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Co-authored-by: chrysn <chrysn@fsfe.org>
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2022-04-22 08:39:04 +02:00
56359d6fb1
Merge pull request #17930 from aabadie/pr/drivers/lcd_rotation_rework
drivers/lcd: rework rotation management and enable it for st7735
2022-04-21 14:31:49 +02:00
Francisco Molina
02ce15b2e9 drivers/scard_spi: _dyn_spi_rxtx_byte return void
Both _sw_spi_rxtx_byte and _hw_spi_rxtx_byte return always 1, so
having a return value and checking for it does not make sense,
instead return void and remove the checks
2022-04-20 14:54:36 +02:00
df95c6ca83
Merge pull request #17945 from fjmolinas/pr_mcp2515_cleanups
drivers/mcp2515: fixes and cleanups
2022-04-20 10:42:08 +02:00
Francisco Molina
6959f5eb78 drivers/mcp2515: use ztimer 2022-04-20 09:23:50 +02:00
85ba0597f7
drivers/lcd: rework rotation modes and enable it with st7735 2022-04-19 16:22:10 +02:00
646fb1135a
Merge pull request #17925 from aabadie/pr/drivers/lcd_params_rework
drivers/lcd: slightly rework params to expose offset values to ili9341 driver
2022-04-19 16:21:42 +02:00
Francisco Molina
babaa6ec4a drivers/mcp2515/candev_mcp2515: remove Illegal ID error
0x1fffffff marks and extended can id.
2022-04-19 15:57:57 +02:00
Francisco Molina
cd21bc00da drivers/candev_mcp2515: set default bitrate to 500kbps 2022-04-19 15:56:45 +02:00
Francisco Molina
c07514ad3f drivers/mcp2515: allow for can_mask == 0, promiscuos
can_mask = 0 is a valid value to reaceive all frames
2022-04-19 15:56:45 +02:00
Francisco Molina
3084928151 drivers/mcp2515: support no rst_pin 2022-04-19 15:56:44 +02:00
Francisco Molina
0c526f12c6 driver/mcp2515: clear irq masks after read
This fixes a bug where it triggers twice on e.g. tx isr
2022-04-19 15:55:29 +02:00
63b25483c9
Merge pull request #17921 from aabadie/pr/drivers/disp_dev_coordinates
drivers/disp_dev: use struct to store display area coordinates
2022-04-19 12:48:12 +02:00
718b1e350d
Merge pull request #17459 from aabadie/pr/drivers/cst816s_enh
drivers/cst816s: add touch_dev interface + add Kconfig + migrate to ztimer
2022-04-19 11:43:34 +02:00
benpicco
b7c68a2c69
Merge pull request #17940 from fjmolinas/pr_stdio_ethos_missing_include
drivers/ethos: add missing vfs include
2022-04-14 16:24:54 +02:00
dbc59aa75b
drivers/cst816s: use gpio_is_valid where appropriate 2022-04-14 11:31:36 +02:00
a2fc925a0e
drivers/cst816s: add touch_dev interface 2022-04-14 11:31:35 +02:00
b1ac9e124d
drivers/cst816s: add Kconfig 2022-04-14 11:31:35 +02:00
d3330e1813
drivers/cst816s: migrate to ztimer 2022-04-14 11:31:34 +02:00
Francisco Molina
9473f88e3a drivers/ethos: add missing vfs include 2022-04-14 08:36:27 +02:00
Marian Buschsieweke
c2e029b427
drivers/mtd_spi_nor: fix off by one bug
The boolean expression to detect when 32 bit address mode are needed
was off by one, this fixes the issue.
2022-04-13 17:24:39 +02:00
81cf5dba53
drivers/lcd: apply offset parameters to ili9341 2022-04-13 12:55:16 +02:00
1152a47817
drivers/lcd: adapt ltdc periph disp_dev interface 2022-04-13 12:49:58 +02:00
36211f3fae
drivers/disp_dev: use struct to store display area coordinates 2022-04-13 12:49:58 +02:00
d311dd94cf
drivers/ili9341: st7735: adapt to new build system rules 2022-04-12 12:39:00 +02:00
Francisco Molina
c5cc2966ff
drivers/ili9341: use common lcd driver 2022-04-12 12:39:00 +02:00
Francisco Molina
827fa976a6
driveres/st7735: add driver based on common lcd driver 2022-04-12 12:38:59 +02:00
Francisco Molina
8f2fa772e9
drivers/lcd: add common driver for lcd display 2022-04-12 12:35:02 +02:00
benpicco
e3f9252947
Merge pull request #17913 from benpicco/mtd_fixes
mtd: minor cleanup & test fixes
2022-04-12 09:30:27 +02:00
Benjamin Valentin
72bb9c749f drivers/at86rf215: make at86rf215_blocking_send a DEFAULT_MODULE
So it can be disabled.
2022-04-11 16:28:52 +02:00
Benjamin Valentin
e3c8187736 dirvers/mtd: don't use work_buf as proxy for !direct write flag
Currently work_buf is only NULL when MTD_DRIVER_FLAG_DIRECT_WRITE is
set, so it served as a proxy for that flag.

However, we might want to have a work buffer even when writes without
erase are possible.
2022-04-11 14:29:52 +02:00
Marian Buschsieweke
697448e51c
drivers/periph_cpuid: Minor cleanup
Avoid use of `memcpy` altogether to work around false positive of
`-Warray-bounds` in newer GCC versions.
2022-04-11 12:01:57 +02:00
Fabian Hüßler
045d88df7c drivers/periph_common/cpuid: disable false positive warnings
The warnings appeared after the -fno-builtin compiler flag was removed (#17898),
but the code is looking fine and tests/periph_cpuid shows correct results.
2022-04-10 15:52:23 +02:00
Oleg Hahm
31f44fbf5f
Merge pull request #17879 from kfessel/p-mtd-nor
driver/mtd_spi_nor: cleanup sleep timing
2022-04-08 14:06:19 +02:00
Francisco
8b18898760
Merge pull request #17880 from benpicco/drivers/atwinc15x0-mcast
drivers/atwinc15x0: join multicast groups
2022-04-07 15:42:26 +02:00
chrysn
5221ce278e
Merge pull request #17860 from Ollrogge/deprecate_flashpage
periph/flashpage: deprecate *_free functions
2022-03-31 20:42:01 +02:00
Ollrogge
4974790bad periph/flashpage: deprecate *_free functions 2022-03-31 17:59:54 +02:00
Ollrogge
a834cc9acf periph/flashpage: activate FLASH_WRITABLE_INIT documentation 2022-03-31 17:59:44 +02:00
chrysn
47148642f9 drivers/mtd_{mci,sdcard}: Pages need to be written at once
See-Also: https://github.com/RIOT-OS/RIOT/pull/17683#issuecomment-1084245744
2022-03-31 10:58:52 +02:00
chrysn
88f4f7c6e8 drivers/mtd_spi_nor: Storage is byte-writable
See-Also: https://github.com/RIOT-OS/RIOT/pull/17683#discussion_r815362737
2022-03-31 10:58:52 +02:00
chrysn
d764e037bf drivers/at2[45]: EEPROMs can be written byte-wise
See-Also: https://github.com/RIOT-OS/RIOT/pull/17683#discussion_r815362737
2022-03-31 10:58:52 +02:00
chrysn
52ea93ef03 drivers/mtd_mapper: Add write_size 2022-03-31 10:58:52 +02:00
chrysn
882f76ab01 drives/mtd_flashpage: Configure write_size in MTD device 2022-03-31 10:52:34 +02:00
chrysn
9ec42492da mtd: Introduce write_size, setting no-rewrite policy
... with flags defining more clearly which kinds of overwrites are OK

Co-authored-by: benpicco <benpicco@googlemail.com>
2022-03-31 10:50:30 +02:00
chrysn
df9226fb80 mtd doc: Editorial fix 2022-03-31 10:50:30 +02:00
Benjamin Valentin
d800cca1c3 drivers/atwinc15x0: register with netdev 2022-03-30 16:07:29 +02:00
Karl Fessel
f8607ecc28 driver/mtd_spi_nor: clearup sleep timming 2022-03-30 11:58:58 +02:00
Benjamin Valentin
b173bbb0b7 drivers/atwinc15x0: join multicast groups
I noticed the wifi module would not receive any router advertisements
while an esp8266 did just fine.

Turns out joining the multicast groups was not enabled.
With this it works as expected.
2022-03-29 15:16:54 +02:00
Francisco
52f12e0734
Merge pull request #17711 from benpicco/periph_init_buttons
drivers/periph_common: add periph_init_buttons to init on-board buttons
2022-03-29 10:29:39 +02:00
Francisco
c078fdeb70
Merge pull request #17836 from fjmolinas/pr_xtimer_backoff_cleanups
drivers/mtd_spi_nor: add ztimer_usec alternative
2022-03-28 21:39:50 +02:00
benpicco
1133d04de1
Merge pull request #17813 from leandrolanzieri/pr/tests/eth_drivers_rework
tests: rework eth drivers
2022-03-28 18:15:27 +02:00
Francisco Molina
3017020bc9 drivers/mtd_spi_nor: add ztimer_usec alternative 2022-03-28 09:08:31 +02:00
Benjamin Valentin
628855fead drivers/mtd_spi_nor: fix Atmel size calculation
Lower bits of the device ID are not the capacity in bytes but in sectors:

 4 - 4 Mb -> 32k << 4
 5 - 8 Mb -> 32k << 5
 …
2022-03-27 23:01:14 +02:00
benpicco
7135c91763
Merge pull request #17866 from jue89/fix/mtd_mapper_backend
drivers/mtd_mapper: fix read_page and write_page backend
2022-03-26 16:10:32 +01:00
Jue
6cf7e419fc drivers/mtd_mapper: fix read_page and write_page backend 2022-03-26 14:30:42 +01:00
Benjamin Valentin
a0059eee43 drivers/sdcard_spi: be sure to always write state 2022-03-25 19:09:11 +01:00
Benjamin Valentin
c3543b7a69 drivers/mtd_sdcard: drop printf()
Only print errors when debug is enabled.
2022-03-25 17:21:15 +01:00
Gunar Schorcht
753b435cb5
Merge pull request #17854 from benpicco/drivers/atwinc15x0-sleep
drivers/atwinc15x0: enable sleep state
2022-03-25 16:43:27 +01:00
Francisco
a10b1572aa
Merge pull request #17627 from benpicco/mtd_flashpage_t
drivers/mtd_flashpage: add mtd_flashpage_t type
2022-03-25 16:24:04 +01:00
Benjamin Valentin
b28738c11c drivers/atwinc15x0: enable sleep state
This allows the interface to enter SLEEP state in which it only
consumes 4µA.
2022-03-24 14:04:53 +01:00
Leandro Lanzieri
a2e5934ec9
drivers/encx24j600: introduce setup function with index 2022-03-24 09:32:10 +01:00
Leandro Lanzieri
5f7a906b95
drivers/w5100: introduce setup with index 2022-03-24 09:30:42 +01:00
benpicco
1e66baf94b
Merge pull request #17699 from viktorbatista/shtc3
drivers/shtcx: converted the shtc1 driver into shtcx and added shtc3 support
2022-03-18 14:05:42 +01:00
Leandro Lanzieri
202fb261fe
Merge pull request #17811 from fjmolinas/pr_xtimer_dep_rework_simple
sys/*timer: rework dependecies to ease backend switch, prefer ztimer_xtimer_compat over xtimer_on_ztimer
2022-03-18 08:17:24 +01:00
benpicco
82b0e08745
Merge pull request #10082 from gschorcht/drivers_l3gd20h
drivers: add driver for L3GD20H 3-axis gyroscope
2022-03-18 08:10:24 +01:00
Gunar Schorcht
ce04d978ef Update drivers/l3gxxxx/Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2022-03-18 06:34:54 +01:00
Gunar Schorcht
1c666c5955 kconfig: add ST L3Gxxxx 3-axis gyro family 2022-03-18 06:34:54 +01:00
chrysn
facb5e633f
Merge pull request #17436 from Ollrogge/reserve_flash
cpu: add flash_writable section to linker script
2022-03-17 21:44:32 +01:00
Ollrogge
6ab1fb9a09 periph/flashpage: Add FLASH_WRITABLE_INIT macro 2022-03-17 19:46:00 +01:00
Ollrogge
41f961a197 periph/flashpage: Add _in_address_space feature 2022-03-17 19:45:54 +01:00
Gunar Schorcht
24106edde9 drivers/saul: add ST L3Gxxxx 3-axis gyroscope family 2022-03-17 18:34:57 +01:00
Gunar Schorcht
1569299c92 drivers: support for ST L3Gxxxx 3-axis gyroscope family 2022-03-17 18:34:57 +01:00
Francisco Molina
2cc5af664e treewide: make all modules use Kconfig ZTIMER_USEC indirection 2022-03-17 14:33:07 +01:00
Benjamin Valentin
3a77988b03 drivers/at86rf215: fix CONFIG_AT86RF215_RPC_EN macro name 2022-03-16 20:59:35 +01:00
Francisco
921f778af9
Merge pull request #17795 from benpicco/drivers/sdcard_spi-board
drivers/sdcard_spi: allow board to overwrite SD_CARD_SPI_SPEED_POSTINIT
2022-03-11 18:01:52 +01:00
Benjamin Valentin
63247d17c4 drivers/sdcard_spi: allow board to overwrite SD_CARD_SPI_SPEED_POSTINIT
Include board.h so we can overwrite SD_CARD_SPI_SPEED_POSTINIT there.
2022-03-11 11:59:40 +01:00
Leandro Lanzieri
7ca22f7791
drivers/mrf24j40: move CFLAG to Makefile.include 2022-03-11 09:26:43 +01:00
Vic
e18557f9c4 drivers/shtcx: integration of shtc3 sensor 2022-03-10 21:35:25 +01:00
Vic
07531cdecd shtc1->shtcx: renamed files 2022-03-10 14:47:34 +01:00
Francisco
9cbca219b2
Merge pull request #17783 from gschorcht/drivers/sht3x_ztimer_msec
drivers/sht3x: ztimer_msec port
2022-03-10 09:03:36 +01:00
Gunar Schorcht
0508850266 drivers/sht3x: ztimer_msec port 2022-03-10 07:26:42 +01:00
a3fc5c1d17
Merge pull request #17697 from viktorbatista/drivers/lps22ch
driver/lpsxxx: adding lps22ch support
2022-03-09 21:28:11 +01:00
Vic
947efa7d65 driver/lpsxxx: adding lps22ch support 2022-03-09 15:23:51 +01:00
Leandro Lanzieri
34dc24822f
Merge pull request #17669 from MrKevinWeiss/pr/kconfig/netdrivers
drivers/*/Kconfig: Cleanup of simple drivers
2022-03-09 09:23:54 +01:00
MrKevinWeiss
ed026622d3
drivers/Kconfig: Add missing kconfig drivers 2022-03-04 14:16:02 +01:00
MrKevinWeiss
dc564b4d03
drivers/tja1042: Update kconfig model 2022-03-04 14:16:02 +01:00
MrKevinWeiss
0981dc4f8e
drivers/ncv7356: Update kconfig model 2022-03-04 14:16:01 +01:00
MrKevinWeiss
c4e4bc2122
drivers/mcp2515: Update kconfig model 2022-03-04 14:16:01 +01:00
MrKevinWeiss
482bbc3056
drivers/bh1750fvi: Update kconfig model 2022-03-04 14:16:01 +01:00
MrKevinWeiss
061345a352
drivers/ws281x: Update kconfig model 2022-03-04 14:16:00 +01:00
MrKevinWeiss
a319ae0c11
drivers/veml6070: Update kconfig model 2022-03-04 14:16:00 +01:00
MrKevinWeiss
8064bc7493
drivers/vcnl40x0: Update kconfig model 2022-03-04 14:16:00 +01:00
MrKevinWeiss
ce2c415dbb
drivers/tsl4531x: Update kconfig model 2022-03-04 14:15:59 +01:00
MrKevinWeiss
0d6ca33319
drivers/tsl2561: Update kconfig model 2022-03-04 14:15:59 +01:00
MrKevinWeiss
622deb1e55
drivers/tps6274x: Update kconfig model 2022-03-04 14:15:58 +01:00
MrKevinWeiss
442f072059
drivers/sx127x: Update kconfig model 2022-03-04 14:15:58 +01:00
MrKevinWeiss
dcf2c224c1
drivers/srf08: Update kconfig model 2022-03-04 14:15:58 +01:00
MrKevinWeiss
32225f1bac
drivers/srf04: Update kconfig model 2022-03-04 14:15:57 +01:00
MrKevinWeiss
841a32ecde
drivers/srf02: Update kconfig model 2022-03-04 14:15:57 +01:00
MrKevinWeiss
6dd6720739
drivers/sps30: Update kconfig model 2022-03-04 14:15:56 +01:00
MrKevinWeiss
fe25c7a699
drivers/sm_pwm_01c: Update kconfig model 2022-03-04 14:15:56 +01:00
MrKevinWeiss
1ace3f0d35
drivers/si70xx: Update kconfig model 2022-03-04 14:15:56 +01:00
MrKevinWeiss
f185d7acab
drivers/si114x: Update kconfig model 2022-03-04 14:15:55 +01:00
MrKevinWeiss
48e88c47aa
drivers/si1133: Update kconfig model 2022-03-04 14:15:55 +01:00
MrKevinWeiss
578cf66d78
drivers/shtc1: Update kconfig model 2022-03-04 14:15:54 +01:00
MrKevinWeiss
e75462c904
drivers/sht2x: Update kconfig model 2022-03-04 14:15:54 +01:00
MrKevinWeiss
1d720084ee
drivers/sht1x: Update kconfig model 2022-03-04 14:15:53 +01:00
MrKevinWeiss
b539ee8223
drivers/sgp30: Update kconfig model 2022-03-04 14:15:53 +01:00
MrKevinWeiss
050ae8b12e
drivers/seesaw_soil: Update kconfig model 2022-03-04 14:15:53 +01:00
MrKevinWeiss
1ed8f6b508
drivers/sds011: Update kconfig model 2022-03-04 14:15:52 +01:00
MrKevinWeiss
7f6c1def8a
drivers/sdp3x: Update kconfig model 2022-03-04 14:15:52 +01:00
MrKevinWeiss
6434c8c328
drivers/sdcard_spi: Update kconfig model 2022-03-04 14:15:52 +01:00
MrKevinWeiss
934374a464
drivers/scd30: Update kconfig model 2022-03-04 14:15:51 +01:00
MrKevinWeiss
c0e7c7f89a
drivers/qmc5883l: Update kconfig model 2022-03-04 14:15:50 +01:00
MrKevinWeiss
b443ca5794
drivers/pn532: Update kconfig model 2022-03-04 14:15:50 +01:00
MrKevinWeiss
5f85c26f78
drivers/ph_oem: Update kconfig model 2022-03-04 14:15:50 +01:00
MrKevinWeiss
9f918a8ee0
drivers/pcf857x: Update kconfig model 2022-03-04 14:15:49 +01:00
MrKevinWeiss
0eb86d8c4c
drivers/pcd8544: Update kconfig model 2022-03-04 14:15:49 +01:00
MrKevinWeiss
6dfe07de17
drivers/pca9685: Update kconfig model 2022-03-04 14:15:48 +01:00
MrKevinWeiss
9a3b4f7b9d
drivers/pca9633: Update kconfig model 2022-03-04 14:15:48 +01:00
MrKevinWeiss
0b25a838ca
drivers/opt3001: Update kconfig model 2022-03-04 14:15:48 +01:00
MrKevinWeiss
5829bfb218
drivers/my9221: Update kconfig model 2022-03-04 14:15:47 +01:00
MrKevinWeiss
5e6319fee5
drivers/mq3: Update kconfig model 2022-03-04 14:15:47 +01:00
MrKevinWeiss
5c63569025
drivers/mma7660: Update kconfig model 2022-03-04 14:15:47 +01:00
MrKevinWeiss
551d25a296
drivers/mhz19: Update kconfig model 2022-03-04 14:15:46 +01:00
MrKevinWeiss
0ec4525733
drivers/lpd8808: Update kconfig model 2022-03-04 14:15:45 +01:00
MrKevinWeiss
1ff07e0133
drivers/lis2dh12: Update kconfig model 2022-03-04 14:15:45 +01:00
MrKevinWeiss
e30ee6aaf0
drivers/lc709203f: Update kconfig model 2022-03-04 14:15:45 +01:00
MrKevinWeiss
247aa5ecb9
drivers/jc42: Update kconfig model 2022-03-04 14:15:44 +01:00
MrKevinWeiss
73794dc608
drivers/itg320x: Update kconfig model 2022-03-04 14:15:44 +01:00
MrKevinWeiss
44d2dbe12c
drivers/isl29125: Update kconfig model 2022-03-04 14:15:44 +01:00
MrKevinWeiss
d5336efb41
drivers/isl29020: Update kconfig model 2022-03-04 14:15:43 +01:00
MrKevinWeiss
1dbf5836da
drivers/io1_xplained: Update kconfig model 2022-03-04 14:15:43 +01:00
MrKevinWeiss
5007241e84
drivers/ina3221: Update kconfig model 2022-03-04 14:15:42 +01:00
MrKevinWeiss
d2f3e6c0de
drivers/ina2xx: Update kconfig model 2022-03-04 14:15:42 +01:00
MrKevinWeiss
bb444214f9
drivers/hsc: Update kconfig model 2022-03-04 14:15:41 +01:00
MrKevinWeiss
29874e8f3d
drivers/hmc5883l: Update kconfig model 2022-03-04 14:15:41 +01:00
MrKevinWeiss
a311bc1915
drivers/hih6130: Update kconfig model 2022-03-04 14:15:40 +01:00
MrKevinWeiss
1975ccf442
drivers/hd44780: Update kconfig model 2022-03-04 14:15:40 +01:00
MrKevinWeiss
4754f339a0
drivers/grove_ledbar: Update kconfig model 2022-03-04 14:15:40 +01:00
MrKevinWeiss
1d05b3f727
drivers/gp2y10xx: Update kconfig model 2022-03-04 14:15:39 +01:00
MrKevinWeiss
ff1ac6b286
drivers/edbg_eui: Update kconfig model 2022-03-04 14:15:38 +01:00
MrKevinWeiss
9ebb223079
drivers/dsp0401: Update kconfig model 2022-03-04 14:15:38 +01:00
MrKevinWeiss
f26a84d1bb
drivers/ds75lx: Update kconfig model 2022-03-04 14:15:38 +01:00
MrKevinWeiss
fc515df185
drivers/ds3234: Update kconfig model 2022-03-04 14:15:37 +01:00
MrKevinWeiss
d78ffe2fc9
drivers/ds3231: Update kconfig model 2022-03-04 14:15:37 +01:00