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

Tools: add --upload-port option to waf #12404

Merged
merged 1 commit into from
Oct 1, 2019

Conversation

andyp1per
Copy link
Collaborator

On windows WSL at least, autodetect on upload does not work well and specifying a port is necessary. This allows this be done from the waf command-line

@peterbarker FYI

Tools/ardupilotwaf/chibios.py Outdated Show resolved Hide resolved
@magicrub
Copy link
Contributor

I've done changes to improve this on WSL and it works for me fine. Are you still having problems with the latest master implementation?

@kd0aij
Copy link
Contributor

kd0aij commented Sep 30, 2019

It's been working well for me on WSL too

@andyp1per
Copy link
Collaborator Author

Yes, it basically hangs for me, whereas if I specify the tty it works instantly. I think it depends what devices you have connected to the other serial ports. There are also a lot of ports (192 in my case) so to get to ttyS14 say you have to look at 46 other ports first. Given that the uploader has this option (and I wouldn't be able to use it if it didn't) what's the issue in adding the option?

@tridge
Copy link
Contributor

tridge commented Oct 1, 2019

@andyp1per this should be merged, but can you add the default=None?

@andyp1per
Copy link
Collaborator Author

Yes certainly

@andyp1per
Copy link
Collaborator Author

@tridge ok done

@tridge
Copy link
Contributor

tridge commented Oct 1, 2019

thanks!

@tridge tridge merged commit 1d11fe5 into ArduPilot:master Oct 1, 2019
@andyp1per andyp1per deleted the pr-waf-upload-port branch October 1, 2019 08:25
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.

None yet

6 participants