A (very crude) example of using Embedded Swift to read RFID serials with RC522 on ESP32 (tested only w/ esp32c6).
Pinouts are defined in RFIDScanner.swift
.
Some features of SPIConfig are commented out but might work if you uncomment them across the program.
Also has the start of a WiFi implementation using esp_wifi
from Espressif.