Using Linux, VSCode and pioarduino or platformio extension:
platform = ststm32
framework = arduino
the serial upload via stm32flash says:
Uploading .pio/build/BB-STM32WL_serial/firmware.bin
Unknown/unsupported device (Device ID: 0x497)
stm32flash 0.7
http://stm32flash.sourceforge.net/
It seems in dev_table.c has no definition for 0x497.
When git cloned of https://git.code.sf.net/p/stm32flash/code and compiled and copied to
.platformio/packages/tool-stm32flash/stm32flash it works, still says it is version 0.7.
Since I do not know how the packages/tool-stm32flash/stm32flash` is populated, maybe update sourcecode somewhere would
solve this. This happens also if I use:
platform = https://github.com/platformio/platform-ststm32.git#develop
or
platform = https://github.com/platformio/platform-ststm32.git#develop
Intermediate fix: download compile and copy newer version stm32flash to the tool-stm32flash/
Using Linux, VSCode and pioarduino or platformio extension:
the serial upload via stm32flash says:
It seems in dev_table.c has no definition for
0x497.When git cloned of
https://git.code.sf.net/p/stm32flash/codeand compiled and copied to.platformio/packages/tool-stm32flash/stm32flashit works, still says it is version 0.7.Since I do not know how the packages/tool-stm32flash/stm32flash` is populated, maybe update sourcecode somewhere would
solve this. This happens also if I use:
platform = https://github.com/platformio/platform-ststm32.git#developor
platform = https://github.com/platformio/platform-ststm32.git#developIntermediate fix: download compile and copy newer version
stm32flashto thetool-stm32flash/