boozook / playdate

Playdate Build Tools and API
https://mastodon.gamedev.place/@pd
MIT License
133 stars 8 forks source link

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

Open paulyoung opened 2 months ago

paulyoung commented 2 months ago

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 commented 2 months ago

This was with cargo-playdate 0.5.0-beta.4

paulyoung commented 2 months ago

Still an issue on 0.5.0

boozook commented 2 months ago

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 commented 2 months ago

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