VSCode STM32 error: ld returned 1 exit status
Hello,
I'm working on a project for a Nucleo board for which I'm trying to use VSCode. I've installed the relevant extensions, and building and running the project had been working, but suddenly (after changing the .ioc file in CubeMX) it stopped working (even when I undid my change); now, every time I build or clean build, I get the error:
collect2.exe: error: ld returned 1 exit status
MAKE.EXE: *** [STM32Make.make:211: build/CTS-SAT-1_FW.elf] Error 1
The file in question here seems to say this:
$(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) STM32Make.make
$(CC) $(OBJECTS) $(LDFLAGS) -o $@
$(SZ) $@
Alas, this is entirely incomprehensible to me.
Can anyone help me figure this out?
Thank you!
