NOT tested, so NOT putting into the main post (will be updated once I test everything).
no guarantees, use at your own risk.
for those who can't wait
!!!!PINOUT!!!! (resistors / mosfets are still required)
Common GPIO for all boards:
CMD => 28
CLK => 27
RST => 26
Waveshare 2040-zero / 2040-one (default, floating pins 29, 11, 16):
DAT => 29
CPU => 15
Raspberry Pi Pico (detected by thermal sensor on pin 29):
DAT => 22
CPU => 21
XIAO2040 (detected by LED power on pin 11):
DAT => 29
CPU => 6
Adafruit ItsyBitsy (detected by LED power on pin 16):
DAT => 29
CPU => 24
ChangeLog:
- fixed regulator setup
- firmware update feature (+ rollback to backup in case of non-working fw update)
- multiple boards support (no idea if that works, magic, ensure LED blinks after write! that means detection worked fine!!)
- extended OFW support, should not break BOOT0 anymore, OFW BCT is copied into the unused space
P.S. I need some rest.