In mfrc522(rfid) source code SPI pins are hardcoded as D8 and D0 (source code)
That's why only wemos_d1_mini, nodemcu, wroom_02, esp32, esp32miniki boards support current implementation. Others raises an exception.
There's a possibility to accept pins as a parameter in setup.cpp; however, in some boards it's physically impossible to reach SPI pins. Which means, it may be futile implementation.
In mfrc522(rfid) source code SPI pins are hardcoded as D8 and D0 (source code) That's why only wemos_d1_mini, nodemcu, wroom_02, esp32, esp32miniki boards support current implementation. Others raises an exception.
There's a possibility to accept pins as a parameter in setup.cpp; however, in some boards it's physically impossible to reach SPI pins. Which means, it may be futile implementation.
Any advice?