How to flash .UF2 devices on an unattended Linux machine (CI) #13712
-
In order to get automatic runs on preview builds in , I created a few scripts to be used in the CI workflow (Actions) on a local runner with some boards attached.
This works for esp* and for (some) of the stm32 boards , but for the .uf2 ports (samd / rp2) i cant get this to work yet. If possibly id like to avoid needing to depend on tools such as On windows this is rather trivial , but the same approach does not work (well) on Linux , at least not without a human keeping the desktop unlocked 24/7. Flash .UF2 devices via bootloader and filecopy (windows) On Ubuntu 22.04 the 'flash drive' is not auto-mounted unless the desktop is unlocked. I hope someone has already solved this problem, and can share the solution / approach. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Use |
Beta Was this translation helpful? Give feedback.
looking in /dev/disk/by-id looks promising:
State : One RP2040 and one SAMD51 in bootloader
Please note that while both devices show up, that they are exposed / …