A minimal port of ArduinoISP sketch to rp2040
Please keep in mind that rp2040 is not officially 5V-tolerant. Although connecting it to a 5V target once or twice may not fry it immediately, there is no guarantee that it will keep working the same way after prolonged (ab)use.