and it just hangs like that for around a minute before displaying this:
No device found on COM5
*** [upload] Error 1
The issue occured on Mac and Windows alike.
The only way to make it work was to repoint the upload_command to the bossac executable the Arduino IDE uses along with the exact same flag the Arduino IDE uses.
Per two reports from https://community.platformio.org/t/solved-feather-m4-can-upload-issues/21396, uploading for
board = adafruit_feather_m4_can
does not work.The issue occured on Mac and Windows alike.
The only way to make it work was to repoint the
upload_command
to thebossac
executable the Arduino IDE uses along with the exact same flag the Arduino IDE uses.Please investigate that the used bossac versions and flags match the one of the Arduino IDE.
(I have no board to test, but hopefully the original two people can participate in this issue).