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

149 Commits

Author SHA1 Message Date
bors[bot]
85c7bd937c
Merge #19825
19825: drivers: rename st7735 to more generic st77xx r=aabadie a=gschorcht

### Contribution description

This PR provides the following changes:
- renames the driver `st7735` to `st77xx`
- renames the test `st7735` to `st77xx`
- models controller variants as pseudomodules `st7735`, `st7789` and `st7796`
- removes the buggy initialization as a workaround to use reset defaults, see issue #19818 
- adds backward compatibility header files for `ST7735_PARAM_*` symbols
- adds a test board for compilation test of backward compatibility
- updates the corresponding board definitions

The PR should solve the remaining dependency issues in KConfig we had by using `st7735` module for different controller variants. The backward compatibility header files should work for boards that still use `ST7735_PARAM_*` in their board definitions so that the board defintions at user's side use shouldn't be affected.

~To be compilable, the PR includes PR #19824.~

### Testing procedure

- Green CI
- `tests/drivers/disp_dev` and `tests/drivers/st77xx` should still work for all boards using a ST77xx display.
- The PR was already tested for these tests for:
   - [x] `adafruit-pybadge`
   - [x] `esp32s2-lilygo-ttgo-t8`
   - [x] `esp32s3-usb-otg`
   - [x] `sipeed-longan-nano`

### Issues/PRs references

Workaround for issue #19818
Preqruisite for PR #19827 

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-09-06 10:19:01 +00:00
Gunar Schorcht
b5a7101f5e drivers: rename st7735 driver to more generic st77xx 2023-09-06 11:52:10 +02:00
bors[bot]
930811dc45
Merge #19884
19884: drivers/touch_dev_gestures: add gesture recognition for touch devices r=aabadie a=gschorcht

### Contribution description

This PR adds simple gesture recognition for touch devices accessed via the generic Touch Device API. It can be used in conjunction with device drivers that use either interrupts or polling mode. It supports up to two touches and the following gestures:
- Single and double tap at given position
- Long press and release given position
- Moving while pressed with current position
- Swipe left, right, up and down
- Zoom in (spread) and out (pinch)

Gesture recognition has been tested with:
- [x] `stm32f746g-disco` (works out of the box)
- [x] `stm32f723e-disco` (works out of the box)
- [x] `stm32f429i-disc1` (works on top of PR #19885)
- [x] `stm32l496g-disco` (works with my local LCD display changes waiting for PR #19825, not yet provided)
- [x] `esp32s3-wt32-sc01-plus` (new board, not yet provided)

### Testing procedure

Flash `tests/drivers/touch_dev_gestures` to a board with touch pane, for example:
```
BOARD=stm32f746g-disco make -j8 -C tests/drivers/touch_dev_gestures/ flash
```
PR #19885 is required for the `stm32f429i-disc1` board.

The output should look like this:
```
main(): This is RIOT! (Version: 2023.10-devel-121-g81c5c-drivers/touch_dev_gestures)
Single Tap X: 255, Y:154
Single Tap X: 253, Y:153
Double Tap X: 253, Y:149
Swipe right
Swipe down
Swipe left
Swipe up
Pressed    X: 257, Y:155
Moving     X: 257, Y:155
Moving     X: 257, Y:155
Moving     X: 259, Y:156
Moving     X: 262, Y:157
Moving     X: 266, Y:158
Moving     X: 269, Y:160
Moving     X: 273, Y:162
Moving     X: 276, Y:165
Moving     X: 278, Y:167
Moving     X: 278, Y:169
Moving     X: 278, Y:169
Released   X: 279, Y:172
```

### Issues/PRs references

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-09-01 12:57:14 +00:00
Gunar Schorcht
54ec84df88 drivers: add gesture recognition for touch devices 2023-08-31 20:12:33 +02:00
Gunar Schorcht
556ef5235c drivers: add periph_sdmmc support 2023-08-08 09:09:12 +02:00
Gunar Schorcht
9897dcc5bb Kconfig: integration of VL6180X driver and test app 2023-02-02 02:04:09 +01:00
Hendrik van Essen
cdefa6934c drivers/mfrc522: add new driver 2023-01-31 21:05:07 +01:00
7f3cbfdfc7
matrix_keypad: Add driver for a matrix keypad 2022-10-28 10:03:37 +02:00
Gunar Schorcht
7db66e49b3 drivers: add USB OTG FS/HS driver for Synopsys DWC2 IP core 2022-09-27 01:00:57 +02:00
Leandro Lanzieri
9a4a4ea537
drivers/netdev: model netdev_eth in Kconfig 2022-07-22 16:06:34 +02:00
chrysn
841e4deee5 lsm303agr: New sensor driver using external Rust crate
It is enabled by saul_default on microbit-v2.

Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2022-07-10 21:27:12 +02:00
Marian Buschsieweke
f881ad3f90
drivers/Kconfig: split netdev Kconfig to drivers/netdev 2022-04-22 14:33:50 +02:00
b1ac9e124d
drivers/cst816s: add Kconfig 2022-04-14 11:31:35 +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
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
Gunar Schorcht
1c666c5955 kconfig: add ST L3Gxxxx 3-axis gyro family 2022-03-18 06:34:54 +01:00
Vic
e18557f9c4 drivers/shtcx: integration of shtc3 sensor 2022-03-10 21:35:25 +01:00
MrKevinWeiss
ed026622d3
drivers/Kconfig: Add missing kconfig drivers 2022-03-04 14:16:02 +01:00
benpicco
6cfbec4f8e
Merge pull request #10518 from gschorcht/drivers_mcp47xx
drivers: support for Microchip MCP47xx DAC devices added
2022-02-26 22:13:41 +01:00
11f73ea5c9
drivers/ft5x06: add touch panel driver 2022-01-08 15:08:05 +01:00
Francisco Molina
fe38284a3c drivers/hms330x: initial import 2021-12-16 15:19:44 +01:00
Gunar Schorcht
739fbf41fb drivers/mcp47xx: add Kconfig 2021-12-08 05:42:07 +01:00
Gunar Schorcht
7eb599e765 drivers: add PCF857X I/O expander driver 2021-12-04 14:11:04 +01:00
Francisco Molina
14ef09b8b4 drivers/mtd: fix Kconfig dependencies
Currently implementations of the MTD api are selecting the module,
this makes it easy for default backends to be selected. But the
correct modeling is simply selecting the MTD api and then selecting
a backend. BOARDs providing one of the backends can expose this and
then that backend can be selected by default.

There is also currently nothing preventing from using the MTD api
with no backend since a mock backend can easily be provided as is
done in all mtd tests.
2021-09-22 09:22:51 +02:00
MrKevinWeiss
99d43a7223
drivers/netdev,sys/net: Add kconfig for netdev 2021-09-08 12:40:31 +02:00
Vitor Batista
9267fa2670 drivers/lm75: driver for the lm75 sensor and derivatives 2021-08-20 17:09:40 +02:00
Francisco Molina
478624cbb6
driver/sgp30: initial import 2021-04-08 10:14:30 +02:00
Francisco Molina
240c016143
drivers/sm_pwm_01c: initial import 2021-04-07 12:05:09 +02:00
Jean Pierre Dudey
273721efc0 drivers: add bq2429x power management IC driver
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-22 19:30:12 +01:00
Leandro Lanzieri
c8cbc2f20e
drivers/stmpe811: add module to Kconfig 2021-01-21 11:22:32 +01:00
Leandro Lanzieri
b8676e02fa
drivers/srf08: add module to Kconfig 2021-01-21 11:22:32 +01:00
Leandro Lanzieri
526a322842
drivers/srf04: add module to Kconfig 2021-01-21 11:22:32 +01:00
Leandro Lanzieri
8a2854ef93
drivers/srf02: add module to Kconfig 2021-01-21 11:22:32 +01:00
Leandro Lanzieri
d5ca9550e1
drivers/soft_uart: add modules to Kconfig 2021-01-21 11:22:32 +01:00
Leandro Lanzieri
858187dc25
drivers/soft_spi: add module to Kconfig 2021-01-21 11:22:31 +01:00
Leandro Lanzieri
3d480c1d33
drivers/si1133: add module to Kconfig
Also remove auto-dependency from Makefile.dep
2021-01-21 11:22:31 +01:00
Leandro Lanzieri
60f60798d1
drivers/si114x: add modules to Kconfig 2021-01-21 11:22:31 +01:00
Leandro Lanzieri
f1f58018ad
drivers/si70xx: add modules to Kconfig 2021-01-21 11:22:31 +01:00
Leandro Lanzieri
1830533428
drivers/shtc1: add module to Kconfig 2021-01-21 11:22:31 +01:00
Leandro Lanzieri
8d345260d9
drivers/sht3x: add module to Kconfig 2021-01-21 11:22:30 +01:00
Leandro Lanzieri
e6dead79d9
drivers/sht2x: add module to Kconfig 2021-01-21 11:22:30 +01:00
Leandro Lanzieri
6ecac5548a
drivers/sht1x: add modules to Kconfig 2021-01-21 11:22:30 +01:00
Leandro Lanzieri
a97e786e81
drivers/servo: add module to Kconfig 2021-01-21 11:22:29 +01:00
Leandro Lanzieri
c212fe3512
drivers/seesaw_soil: add module to Kconfig 2021-01-21 11:22:06 +01:00
Leandro Lanzieri
3b46124954
drivers/sds011: add module to Kconfig 2021-01-21 11:22:06 +01:00
Leandro Lanzieri
7d489936cf
drivers/sdp3x: add modules to Kconfig 2021-01-21 11:22:06 +01:00
Leandro Lanzieri
50946f8b0d
drivers/scd30: add module to Kconfig 2021-01-21 11:22:03 +01:00
Leandro Lanzieri
c0ff2e04d6
drivers/ws281x: add modules to Kconfig 2021-01-21 10:02:34 +01:00
Leandro Lanzieri
2c7616d7d5
drivers/veml6070: add module to Kconfig 2021-01-21 10:02:34 +01:00