Uploading problem in vscode duo to java, i guess

“‘java’ is not recognized as an internal or external command, operable program or batch file.”

  • this is what appers on terminal

For whicih platformio.ini does this occurr?

the error occurrs in this platformio.ini:

platform = ststm32
framework = arduino
board = genericSTM32F103C8
board_build.core = maple
upload_protocol = dfu
monitor_speed = 9600
build_flags =
-D HSE_VALUE=8000000U
monitor_dtr = 1
lib_deps =

This does use the maple_upload tool, but PlatformIO doesn’t install the dependencies for that automatically. You’ll have to install the JRE.

1 Like