1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/gd32v
bors[bot] 718e4a8340
Merge #16782 #19201
16782: drivers/mfrc522: add new driver r=benpicco a=HendrikVE

### Contribution description

This PR adds support for the MFRC522. It is quite common in the Arduino world and it is quite cheap. The driver connects to the MFRC522 via SPI and is heavily based on the Arduino driver available [here](https://github.com/miguelbalboa/rfid). Basically it was ported, but with several improvements in readability and documentation.

### Testing procedure

The given (manual) test provides single commands for some driver functions.

19201: cpu/gd32v: add periph_i2c support r=benpicco a=gschorcht

### Contribution description

This PR provides the `periph_i2c` support and is one of a bunch of PRs that complete the peripheral drivers for GD32VF103.

The driver is a modified version of the driver for STM32F1 with some changes that were necessary to get it working on GD32V. As  for STM32F1, the driver is using polling instead of interrupts for now. It will be implemented interrupt-driven later.

### Testing procedure

`tests/periph_i2c` as well as a test with any I2C sensor should work. The driver was tested with `tests/driver_l3gxxxx` and `tests/driver_bmp180`.

### Issues/PRs references


Co-authored-by: Hendrik van Essen <hendrik.ve@fu-berlin.de>
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-01-31 23:15:41 +00:00
..
include Merge #16782 #19201 2023-01-31 23:15:41 +00:00
periph cpu/dg32v: add periph_i2c support 2023-01-31 20:12:04 +01:00
clock.c boards/common: add common definitions for GD32VF103 boards 2023-01-23 18:59:32 +01:00
cpu.c cpu/gdv32: add pm_layered support 2023-01-24 00:52:02 +01:00
doc.txt cpu/gd32v: Initial include of the GD32VF103 device 2021-08-24 14:30:23 +02:00
gd32v.config cpu/gdv32: add pm_layered support 2023-01-24 00:52:02 +01:00
Kconfig cpu/gd32v: add periph_rtt support 2023-01-27 06:46:51 +01:00
Makefile cpu/gd32v: Initial include of the GD32VF103 device 2021-08-24 14:30:23 +02:00
Makefile.default cpu/gdv32: add pm_layered support 2023-01-24 00:52:02 +01:00
Makefile.dep cpu/gd32v: use NMSIS SDK package 2023-01-24 00:52:02 +01:00
Makefile.features cpu/gd32v: add periph_rtt support 2023-01-27 06:46:51 +01:00
Makefile.include boards/common: add common definitions for GD32VF103 boards 2023-01-23 18:59:32 +01:00