Skip to content

Conversation

@Gaweringo
Copy link
Contributor

serverargs.push('-m', `this.targetProcessor`);

This added the string "this.TargetProcessor" as the argument of the -m flag:

"C:\\ST\\STM32CubeCLT_1.20.0\\STLink-gdb-server\\bin\\ST-LINK_gdbserver.exe" -p 50000 -cp "C:\\ST\\STM32CubeCLT_1.20.0\\STM32CubeProgrammer\\bin" --swd --halt -m this.targetProcessor

I think this should be something like this, to pass the (string) value instead.

serverargs.push('-m', `${this.targetProcessor}`);

Sorry for creating a comment on the commit e00cc71 before. Don't know who or if that notified someone, but I deleted it and created this pr instead.

@haneefdm haneefdm merged commit cf84183 into Marus:master Jan 2, 2026
3 checks passed
@haneefdm
Copy link
Collaborator

haneefdm commented Jan 2, 2026

You are absolutely correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants