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

44457 Commits

Author SHA1 Message Date
bors[bot]
858589b9a8
Merge #19950
19950: .github/test-on-iotlab: prefer Toulouse site for dwm1001 board r=aabadie a=aabadie



Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2023-09-27 14:33:24 +00:00
2f1a6f5f24
.github/test-on-iotlab: prefer Toulouse site for dwm1001 board 2023-09-27 13:18:38 +02:00
Martine Lenders
cb2287d616
tests/pkg/lwip: Add README.md 2023-09-27 10:40:06 +02:00
bors[bot]
fe2aee5cc7
Merge #19780
19780: lwip: bump to v2.2.0 r=miri64 a=miri64



Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
2023-09-27 07:47:47 +00:00
Gunar Schorcht
9a72d6cc55 boards: fix inches unit in documentation 2023-09-27 09:12:06 +02:00
Gunar Schorcht
c80591779f boards: fix references in documentation 2023-09-27 09:12:06 +02:00
Gunar Schorcht
7a4c2a526f drivers/sht3x: fix references in documentation 2023-09-27 09:12:06 +02:00
Gunar Schorcht
869020ac53 cpu/stm32: fix references in documentation 2023-09-27 09:12:06 +02:00
Gunar Schorcht
8e5fc866e4 cpu/esp32: fix references in documentation 2023-09-27 09:12:06 +02:00
Martine Lenders
2cbdd66d6f
lwip: bump to v2.2.0 2023-09-26 10:21:12 +02:00
bors[bot]
4669ee6693
Merge #19945
19945: boards/esp32-wt32-sc01-plus: fix I2C driver selection in Kconfig r=MrKevinWeiss a=gschorcht

### Contribution description

This PR fixes the `Kconfig` mismatch for the I2C peripheral driver selection for the `esp32s3-wt32-sc01-plus` board.

### Testing procedure

```
python3 dist/tools/compile_test/compile_like_murdock.py -a tests/periph/i2c -b esp32s3-wt32-sc01-plus
```
fails w/o this PR
```
tests/periph/i2c               esp32s3-wt32-sc01-plus         FAIL: Kconfig module or pkg mismatch
```
and should succeed with this PR
```
tests/periph/i2c               esp32s3-wt32-sc01-plus         PASS
```

### Issues/PRs references


Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-09-26 07:48:36 +00:00
Gunar Schorcht
7a94c74a59 boards/esp32s3-wt32-sc01-plus: fix I2C driver selection in Kconfig 2023-09-26 04:14:52 +02:00
bors[bot]
33d1fd2f36
Merge #19942
19942: pkg/littlefs2: bump to v2.8 r=benpicco a=benpicco




Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2023-09-24 17:28:30 +00:00
Gunar Schorcht
4cda0e41cb boards/sam54-xpro: enable SDMMC support 2023-09-23 19:26:30 +02:00
Gunar Schorcht
6ab9277234 cpu/sam0_common: add SDMMC support 2023-09-23 19:26:30 +02:00
Gunar Schorcht
33d1e82b73 cpu/samd5x: define power modes 2023-09-23 19:26:30 +02:00
Gunar Schorcht
b73be0d546 drivers/sdmmc: add low-levl SD Host Controller implementation 2023-09-23 19:26:30 +02:00
Gunar Schorcht
e0a76c5768 drivers/lcd: add MCU-driven low-level parallel interface 2023-09-23 08:03:16 +02:00
Gunar Schorcht
0353e05bc3 drivers/lcd: move GPIO low-level interface to separate file 2023-09-23 08:03:16 +02:00
Benjamin Valentin
f93072dc65 pkg/littlefs2: bump to v2.8
https://github.com/littlefs-project/littlefs/releases/tag/v2.8.0
2023-09-22 22:11:28 +02:00
Gunar Schorcht
a73ff74b5a tests/drivers/st77xx: read ID and status 2023-09-22 17:00:00 +02:00
Gunar Schorcht
8306838424 drivers/lcd: expose lcd_ll_set_area function 2023-09-22 17:00:00 +02:00
Gunar Schorcht
4ae2e65108 drivers/st77xx: fix compilation with NDEBUG 2023-09-22 17:00:00 +02:00
bors[bot]
021720a995
Merge #19939
19939: boards/stm32f723e-disco: enable ST7789 display r=benpicco a=gschorcht

### Contribution description

This PR enables the ST7789 display and the touch panel for the `stm32f723e-disco`.

The PR requires PR #19937.

### Testing procedure

```
BOARD=sstm32f723e-disco make -j8 -C tests/drivers/st77xx
```
should work.

### Issues/PRs references

Depends on PR #19937

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-09-22 14:37:17 +00:00
Gunar Schorcht
1b2b17df16 boards/stm32l496g-disco: fix LCD doc 2023-09-22 15:52:37 +02:00
Gunar Schorcht
1abcd737e4 tests/drivers/st77xx: add stm32f723e-disco 2023-09-22 15:49:54 +02:00
Gunar Schorcht
95d1e47b9a boards/stm32f723e-disco: enable ST7789 display
fixup! boards/stm32f723e-disco: enable ST7789 display
2023-09-22 15:49:54 +02:00
bors[bot]
348e25384f
Merge #19938
19938: boards/stm32l496g-disco: enable ST7789 display and touch panel r=benpicco a=gschorcht

### Contribution description

This PR enables the ST7789 display and the touch panel for the `stm32l496g-disco`.

The PR requires PR #19937.

### Testing procedure

```
BOARD=stm32l496g-disco make -j8 -C tests/drivers/st77xx
```
should work.

### Issues/PRs references

Depends on PR #19937

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-09-22 12:09:18 +00:00
Gunar Schorcht
fe06bf626f tests/drivers/st77xx: add stm32l496g-disco 2023-09-22 12:18:47 +02:00
Gunar Schorcht
fef50d428e boards/stm32l496g-disco: enable touch panel 2023-09-22 12:18:47 +02:00
Gunar Schorcht
5dcac23173 boards/stm32l496g-disco: enable ST7789 display 2023-09-22 12:18:47 +02:00
bors[bot]
6bac1514c2
Merge #19937
19937: drivers/lcd: add MCU 8080 16-bit parallel mode support r=benpicco a=gschorcht

### Contribution description

This PR adds the 16-bit support for MCU 8080 parallel mode for LCD driver ICs.

### Testing procedure

Use either PR #19938
```
BOARD=stm32l496g-disco make -j8 -C tests/drivers/st77xx
```
or #19939  on top of this PR to test.
```
BOARD=sstm32f723e-disco make -j8 -C tests/drivers/st77xx
```

### Issues/PRs references

Prerequisite for PR #19938 or PR #19938

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-09-21 14:58:41 +00:00
Gunar Schorcht
c3006c59d0 drivers/st7735: add MCU 8080 16-bit parallel mode support 2023-09-21 13:12:03 +02:00
Gunar Schorcht
a30609ccd1 drivers/ili9341: add MCU 8080 16-bit parallel mode support 2023-09-21 13:12:03 +02:00
Gunar Schorcht
a12427fc4c drivers/lcd: add debug info to lcd_ll_write_cmd and lcd_ll_read_cmd 2023-09-21 13:00:35 +02:00
Gunar Schorcht
ad604fe6e2 drivers/lcd: implement MCU 8080 16-bit parallel mode 2023-09-21 13:00:35 +02:00
bors[bot]
19efd676ba
Merge #19917
19917: boards: add support for ESP32-S3 WT32 SC01 Plus board r=benpicco a=gschorcht

### Contribution description

This PR provides support for the [Wireless Tag WT32-SC01 Plus with ESP32-S3](http://en.wireless-tag.com/product-item-26.html) board. The board has the following main features:

- ESP32-S3 SoC
- 16 MB Flash
- 2 MB QSPI RAM
- 3.5" LCD Display 480 x 320 with ST7796UI
- Capacitive Touch Panel with FT6336U
- SD Card SPI mode
- USB Type-C

**Please note**: The ST7796UI display uses the MCU8080 8-bit parallel interface which require the changes in PR #19915.

### Testing procedure

1. `tests/drivers/st77xx` should work on top of PR #19915.
   ```
   BOARD=esp32s3-wt32-sc01-plus make -j8 -C tests/drivers/st77xx flash
   ```
2. `tests/drivers/ft5x06` should work with `stdio_uart` and the debugging tool.
    ```
    USEMODULE=stdio_uart BOARD=esp32s3-wt32-sc01-plus make -j8 -C tests/drivers/ft5x06/ flash term
    ```
    ```
    main(): This is RIOT! (Version: 2023.10-devel-245-g55bd7-boards/esp32s3-wt32-sc01-plus)
    FT5x06 test application

    +------------Initializing------------+
    Initialization successful
    1 touch detected
    Touch 1 - X: 177, Y:96
    Touch 1 - X: 177, Y:96
    Touch 1 - X: 177, Y:96
    Touch 1 - X: 177, Y:97
    Touch 1 - X: 178, Y:99
    Touch 1 - X: 180, Y:102
    Touch 1 - X: 184, Y:106
    Touch 1 - X: 190, Y:110
    Touch 1 - X: 197, Y:116
    Touch 1 - X: 204, Y:122
    Released!
    ```

### Issues/PRs references


Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-09-21 10:54:24 +00:00
Gunar Schorcht
65d937c99d drivers/st77xx: fix init for ST7796 2023-09-21 12:14:48 +02:00
Gunar Schorcht
f6a7611588 tests/drivers/st77xx: add esp32s3-wt32-sc01-plus 2023-09-21 12:14:48 +02:00
Gunar Schorcht
9b30c65467 boards: add ESP32-S3-WT32-SC01-Plus support 2023-09-21 12:14:48 +02:00
bors[bot]
8d1a93ab2f
Merge #19927
19927: sys/shell/ping: fix ping packet size overflow r=miri64 a=krzysztof-cabaj

### Contribution description

In #19829 `@mchesser` point out integer overflow in the ```ping``` command and API. This PR fix this issue in two ways:
1) Add protection in the API.
2) Add protection in the user command.

### Testing procedure

Without this PR passing negative number to the ```ping -s``` option cause segmentation fault, for example in the 
```example/gnrc_networking```:

```
> ping -s -7 ::1
ping -s -7 ::1
Segmentation fault
```

With this PR user shows appropriate warning test:

```
> ping -s -7 ::1
ping -s -7 ::1
ICMPv6 datagram size should be in range <0, 65527>.
> 
``` 

### Issues/PRs references

Issue #19829 

Co-authored-by: krzysztof-cabaj <kcabaj@gmail.com>
2023-09-20 20:13:27 +00:00
krzysztof-cabaj
a958fa2baf sys/shell/ping: reduce text to save ROM 2023-09-20 14:15:57 -04:00
bors[bot]
1691dbe0d3
Merge #19914 #19915
19914: boards: complete SD Card MTD definition for several bords r=benpicco a=gschorcht

### Contribution description

This PR completes the MTD definition for the following boards:
- `seeedstudio-gd32`
- `sipeed-longan-nano` including `sipeed-longan-nano-tft`
- `waveshare-nrf52840-eval-kit`
- ESP32x boards that have an SPI SD Card interface and use `mtd_sdcard_default`

### Testing procedure

Green CI

### Issues/PRs references#19465 

Prerequisite for PR #19465 

19915: drivers/lcd: support MCU 8080 8-bit parallel mode r=benpicco a=gschorcht

### Contribution description

LCD driver ICs usually support
- SPI serial mode,
- MCU 8080 8-bit parallel mode and
- MCU 8080 16-bit parallel mode.

This PR extends the LCD display driver API to support the MCU 8080 8-/16-bit parallel modes and implements a GPIO-driven MCU 8080 8-bit parallel mode.

The following features are already working locally and will be provided as follow-on PRs for which this PR is a prerequisite.

- GPIO-driven bit-banging implementation of the 16-bit mode of the MCU 8080 parallel interface
- Enabling the display on `stm32f723e-disco` and `stm32l496g-disco` using the feature above
- Definition of a low-level API for the parallel modes using the LCD controller of the MCU
- Using FMC for the display on `stm32f723e-disco` and `stm32l496g-disco`
- Using LCD controller for the display of `esp32-wt32-sc01-plus` (PR #19917)

### Testing procedure

The PR can be tested with PR #19917 on top of this PR.
```
BOARD=esp32s3-wt32-sc01-plus make -j8 -C tests/drivers/st77xx flash
```
The following video shows the test.

**Please note** The test is pretty slow because the display has 480 x 320 pixels and the MCU 8080 8-bit parallel interface is realized by a GPIO-driven bit-banging implementation where each GPIO of the data bus is set separately. A follow-up PR will use the ESP32-S3 LCD controller and DMA for this board. This PR just defines the extension of the driver by the parallel interface and provides the bit-banging implementation for MCUs that don't have a LCD controller on chip.

https://github.com/RIOT-OS/RIOT/assets/31932013/c1e3e3d7-05d9-4ca5-8fff-9a5eaca50fba

### Issues/PRs references

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-09-20 15:55:34 +00:00
krzysztof-cabaj
838e62ca9f examples/gcoap: revert PR #19933 2023-09-20 11:24:56 -04:00
krzysztof-cabaj
be7ae57891 sys/shell/ping: add protection from icmp packet overflow 2023-09-20 11:24:56 -04:00
krzysztof-cabaj
d7000477d4 gnrc/icmpv6: add check for too big icmpv6 packets 2023-09-20 11:24:56 -04:00
Gunar Schorcht
bf981c81ba boards: complete SD Card MTD definition 2023-09-20 14:15:42 +02:00
bors[bot]
ec69cfde6f
Merge #19919 #19931 #19935
19919: drivers/st77xx: introduce rotation defines r=benpicco a=gschorcht

### Contribution description

The PR introduces counterclockwise rotations for the definition of parameter `ST77XX_PARAM_ROTATION`.

It is more intuitive and universal to use `ST77XX_ROTATION_{0,90,180,270}` instead of `ST77XX_ROTATION_{ST77XX_ROTATION_{VERT,VERT_FLIP,HORZ,HORZ_FLIP}`, especially because the orientation of the display may vary with respect to the orientation of the board.

### Testing procedure

`tests/drivers/st77xx` should still work, for example:
```
BOARD=adafruit-pybadge make -C tests/drivers/st77xx flash
```
```
BOARD=esp32s3-usb-otg make -j8 -C tests/drivers/st77xx flash
```

### Issues/PRs references


19931: boards: fix documentation for GD32V boards and doxygen 1.9.4 r=benpicco a=gschorcht

### Contribution description

This PR fixes some small problems in documentation of `sipeed-longan-nano`, `sipeed-longan-nano-tft` and `seeedstudio-gd32` for doxygen 1.9.4 that is used on `doc.riot-os.org`.

Doxygen version 1.9.4 doesn't like anymore
- single double quotes as symbol for the inches unit in the text
- line breaks in `[]()` to avoid exhausting the 100 characters per line.

See https://doc.riot-os.org/group__boards__sipeed__longan__nano.html for example.

Doxygen 1.9.1 which is part of `riot-docker` container didn't have theses problems 😟

### Testing procedure

Documentation should be fixed.

### Issues/PRs references


19935: boards/nucleo64: fix SPI Arduino mapping for most boards r=benpicco a=maribu

### Contribution description

Before, the Arduino SPI mapping for all Nucleo-64 boards was incorrect. With this, the situation improves to the following:

- [x] nucleo-f030r8
- [ ] nucleo-f070rb
    - No SPI buses provided.
- [x] nucleo-f072rb
- [x] nucleo-f091rc
- [x] nucleo-f103rb
- [ ] nucleo-f302r8
    - No SPI bus at D11, D12, D13 provided
- [x] nucleo-f303re
- [x] nucleo-f334r8
- [x] nucleo-f401re
- [x] nucleo-f410rb
- [x] nucleo-f411re
- [x] nucleo-f446re
- [x] nucleo-g070rb
- [x] nucleo-g071rb
- [x] nucleo-g431rb
- [x] nucleo-g474re
- [x] nucleo-l053r8
- [x] nucleo-l073rz
- [x] nucleo-l152re
    - No SPI bus at D11, D12, D13 provided
- [x] nucleo-l452re
- [x] nucleo-l476rg
- [x] nucleo-wl55jc

The remaining offenders still need to be fixed, but that is better done one PR at a time.

### Testing procedure

- Check if the SPI device provided in the given `boards/<BOARD_NAME>/incude/periph_conf.h` is indeed `SPI_DEV(0)`, or in `periph_conf.h` the correct SPI dev is found
    - this should be fine for all boards above, except for the unchecked ones

or:

- run https://github.com/RIOT-OS/RIOT/pull/19932: The SPI test should pass now

### Issues/PRs references

Bug found in https://github.com/RIOT-OS/RIOT/pull/19932#issuecomment-1726305437

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-09-20 11:42:38 +00:00
Gunar Schorcht
b0ec24bc9e drivers/st7735: add MCU 8080 8-/16-bit parallel mode support 2023-09-20 13:03:36 +02:00
Gunar Schorcht
10122a7c2b drivers/ili9341: add MCU 8080 8-/16-bit parallel mode support 2023-09-20 13:03:36 +02:00