Closed godefroi closed 9 months ago
@microsoft-github-policy-service agree
I have changed the implementation from a generic-arguments system to a specific flash-mode implementation. This is because the generic-arguments system wasn't ideal, because specific arguments must appear in specific positions (mixed with the existing arguments) and therefore it wasn't as general as it appeared to be.
I think most arguments users may want to set, on per-device-type basis, would come right after write_flash
, no? I would rather have the version from previous commit with flash arguments, so we can also set flash frequency etc.
Thank you for the PR!
This pull request adds a simple feature which allows passing arbitrary arguments to
esptool.py
. This is useful for my specific use-case, which requires me to specifydio
flash mode (whereqio
is the more common option). Note that while the board option is present for all boards (or can be, anyway), it is only passed toesptool.py
and therefore would be ineffectual for other architectures (i.e. RP2040).The motivation around this feature was discussed in #592.