stm32-for-vscode: Flashing fails with new update

Build succeeds however, doesnt produce the appropriate build files (build folder is basically empty).

Error:

image

Line in file:

flash: $(BUILD_DIRECTORY)/$(TARGET).elf
	"$(OPENOCD)" -f ./openocd.cfg -c "program $(BUILD_DIRECTORY)/$(TARGET).elf verify reset exit"

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (11 by maintainers)

Most upvoted comments

@DeflateAwning Thanks for pointing that out. Somehow I seem to skip over stuff in the materials provided. So thanks for paying attention. Seems like this is the newest make out there. I feel like I need to run some test to check out what is causing this issue. It is one that kind of baffles me at the moment. I cannot think of a way that the /usr/bin/sh should be injected. @vaibhavkpr as a check could you maybe add the following to the STM32Make.make makefile:

info:
	echo $(OPENOCD)

and then run: make -f STM32Make.make info. This way I can check if it is in the Openocd string or that this originates elsewhere.