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

Add port "auto" config - that enables auto detect of port #31

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

petermm
Copy link
Contributor

@petermm petermm commented Jul 22, 2024

similar/equivalent to atomvm/exatomvm#12

Existing behaviour is kept - no defaults changed.

Esptool has auto-detect port features (when --port is left out), where it enumerates serial ports and finds the first port with esp32 connected.

Setting port to "auto" - (in combination with chip auto) - enables huge DX increase - where one can swap devices, and rebar3 atomvm esp32_flash - without having to figure out and configure the port.

Also avoids funny stuff like a macbook pro having different name for left/right side usb respectively.

similar to atomvm/exatomvm#12

Existing behaviour is kept - no defaults changed.

Signed-off-by: Peter M <petermm@gmail.com>
Copy link
Collaborator

@UncleGrumpy UncleGrumpy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@UncleGrumpy UncleGrumpy merged commit 8ab3e77 into atomvm:master Jul 22, 2024
3 checks passed
@petermm petermm deleted the auto-port-param branch July 22, 2024 21:21
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.

2 participants