OpenLightingProject / rp2040-dmxsun

RP2040-based USB DMX dongle with integrated web server
GNU General Public License v3.0
87 stars 17 forks source link

Runtime detection of Pico-W #70

Closed kripton closed 1 year ago

kripton commented 1 year ago

Goal is to have one firmware binary that runs on the classic Pico as well as on the Pico-W. However, we cannot just initialize the cyw43 and hope it to fail on the Pico since it will just get stuck. Therefore, do a runtime detection as proposed in https://forums.raspberrypi.com/viewtopic.php?t=336775 and act depending on result. Also, revert 4f3e763 and let the GH action only build one firmware binary.