-
Notifications
You must be signed in to change notification settings - Fork 27
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
ref: use esptool main instead other func #236
ref: use esptool main instead other func #236
Conversation
e166a45
to
5684ea1
Compare
e573fe2
to
1a194de
Compare
Actually, Arduino means Arduino application. I initially thought it was a chip..... 😊 |
Finally passed... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! @radimkarnis PTAL! Thank you
pytest-embedded-serial-esp/pytest_embedded_serial_esp/serial.py
Outdated
Show resolved
Hide resolved
pytest-embedded-serial-esp/pytest_embedded_serial_esp/serial.py
Outdated
Show resolved
Hide resolved
pytest-embedded-serial-esp/pytest_embedded_serial_esp/serial.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The approach of using esptool.main
with esp=esptool.get_default_connected_device
seems like the correct approach to me. From the point of esptool this LGTM!
btw, before merge, please cleanup the commit history. |
8147ee5
to
6040b38
Compare
rebased to run the tests |
9ef242c
to
d59682f
Compare
793710b
to
edfbcc0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got a few more questions. Thank you for the cleanup. Now it looks much better.
pytest-embedded-serial-esp/pytest_embedded_serial_esp/serial.py
Outdated
Show resolved
Hide resolved
pytest-embedded-serial-esp/pytest_embedded_serial_esp/serial.py
Outdated
Show resolved
Hide resolved
22ae602
to
f4141b2
Compare
f4141b2
to
c1ebd5b
Compare
8b82053
to
13496fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you @horw for this nice improvement.
pytest-embedded-serial-esp/pytest_embedded_serial_esp/serial.py
Outdated
Show resolved
Hide resolved
f3a0570
to
53022b9
Compare
6ebe641
to
f137ce0
Compare
cf8a17b
to
51b3086
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Final round. One major comment and a few nitpicks.
besides, regarding the commit message:
let's update it into
- refactor: call esptool.main() instead of implementing on our own (combining your first two commits)
- feat: support
--esp-flash-force
to run esptool.flash with the force flag
then the user could trace the changelog better
ebec9ce
to
8379718
Compare
pytest-embedded-serial-esp/pytest_embedded_serial_esp/serial.py
Outdated
Show resolved
Hide resolved
@hfudev Thanks for your advice on commit messages! The nitpick has already been fixed. |
6f02f0c
to
2e02374
Compare
2e02374
to
9f39de7
Compare
LGTM! let's have a new release! |
esptool.main
.closes #235