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

cargo playdate run --device fails silently if the serial connection is in use #393

Open
paulyoung opened this issue Jun 20, 2024 · 4 comments

Comments

@paulyoung
Copy link
Contributor

I ran cargo playdate run --device and got Running <my project> on a device but nothing was happening. After a while I realized that it's because something was already using the serial connection.

@paulyoung
Copy link
Contributor Author

This was with cargo-playdate 0.5.0-beta.4

@paulyoung
Copy link
Contributor Author

Still an issue on 0.5.0

@boozook
Copy link
Owner

boozook commented Jun 20, 2024

Hmmm 🤔, is it something new or regression? Is it was so in cargo-playdate v0.4.x?

Note, we can't use connection to device that already opened exclusively for other process. It could work with .cu/tty serial-port-fd but not recommended because one process can break it for another.

@boozook
Copy link
Owner

boozook commented Jun 20, 2024

Okay, we need good errors for that part of the system.
rel.: #359

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants