Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No source file named... #24

Closed
dzid26 opened this issue Apr 14, 2024 · 1 comment
Closed

No source file named... #24

dzid26 opened this issue Apr 14, 2024 · 1 comment

Comments

@dzid26
Copy link

dzid26 commented Apr 14, 2024

The motor.c exists in the given path. I don't understand what is this error saying:

==================== Initialize ====================

Load SVD: .vscode\stm8s105k4.svd.json

==================== Connect ====================

[SEND]: set print elements 0

[END]
[SEND]: set width 0

[END]
[SEND]: file "C:/Users/dzidm/Repos/TSDZ2-Smart-EBike-1/bin/main.elf"
	Reading symbols from C:/Users/dzidm/Repos/TSDZ2-Smart-EBike-1/bin/main.elf...
	done.
[SEND]: continue&
	No source file named c:\Users\dzidm\Repos\TSDZ2-Smart-EBike-1\src\controller\motor.c.
[END]

Configuration:

{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "stm8-debug",
			"type": "stm8-debug",
			"request": "launch",
			"serverType": "stm8-sdcc",
			"executable": "${workspaceFolder}\\bin\\main.elf",
			"cpu": "STM8S105S6",
			"port": "3333",
			"svdFile": ".vscode\\stm8s105k4.svd.json",

			"openOcdConfigs": [
				"interface/stlink-v2.cfg",
				"target/stm8s105.cfg"
			]
		}
	]
}

main.elf

@dzid26
Copy link
Author

dzid26 commented Jun 4, 2024

I think this was due to a breakpoint pointing to a wrong location.

@dzid26 dzid26 closed this as completed Jun 4, 2024
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

No branches or pull requests

1 participant