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

Potential out-of-date instruction when working with [vscode-hello-go] #122

Open
ls-jingbo-jin opened this issue Dec 2, 2024 · 1 comment

Comments

@ls-jingbo-jin
Copy link

ls-jingbo-jin commented Dec 2, 2024

Describe the bug
Potential out-of-date instruction when working with vscode-hello-go.
Step "Press F5 to download the program and run it" doesn't work.

Getting error:

  1. No files selected for download.
  2. go -o hello flag provided but not defined: -o

To Reproduce
Steps to reproduce the behavior:
Following the steps described here.

Expected behavior
It should be able to upload to EV3 and execute the demo program successfully.

Screenshots
error 1
error

recording.mov

Desktop (please complete the following information):

  • MacOs Sonoma Version 14.6.1
  • Vs code: 1.95.3
  • Go: go1.23.3 darwin/arm64
  • EV3DEV: ev3dev-stretch
  • EV3 wifi connection mode, can successfully ssh and connect with vscode-ev3dev-browser

PS: I am a GO learner, I made sure my current VS code setup can run go successfully, like this one.
Files under .vscode are unchanged, eg: using default launch.json and settings.json.

Additional context
I recently came across this fascinating extension project. The functionality enabling EV3 owners to code, run, and debug in a live IDE environment is truly exciting.
I understand that neither vscode-hello-go nor this project is under active development, but I’m eager to test it out nonetheless.
My current suspicions are: 1. The Go version might not be supported. 2. VS code security setting.
Any assistance or guidance would be greatly appreciated 🙏!

@dlech
Copy link
Member

dlech commented Dec 15, 2024

Does it work if you change the command to go build -o hello?

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

2 participants