Closed Gei0r closed 5 years ago
Somehow the stlinkv2 was missing for this particular board.
Btw, how can you select a programmer for uploading? Writing upload_protocol = stlinkv2 in platformio.ini gets me this far:
upload_protocol = stlinkv2
platformio.ini
Configuring upload protocol... AVAILABLE: serial, stlinkv2 CURRENT: upload_protocol = stlinkv2 Uploading .pioenvs\stm8sblue\firmware.ihx No valid programmer specified. Possible values are: stlink stlinkv2 stlinkv21 stlinkv3 *** [upload] Error -1
AFAIK it is supported but there may be a bug, see my issue.
Thanks!
Please re-test with upstream version https://docs.platformio.org/en/latest/platforms/ststm8.html#stable-and-upstream-versions
Somehow the stlinkv2 was missing for this particular board.
Btw, how can you select a programmer for uploading? Writing
upload_protocol = stlinkv2
inplatformio.ini
gets me this far: