Add board-id and cpy-version params #182
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
``I added two more parameters to circup to override board_id a CPY_VERSION detection.
The motivation is the ability to manage the version of libraries in local projects on the computer's filesystem.
I maintain several dozen CircuitPython projects, and with these parameters I can easily keep all the project's libs up to date without having to keep uploading them to the development boards.
Without these parameters, it is necessary to add a boot_out.txt file to the projects to emulate the board. With these parameters, management is much more convenient.
Example:
circup --path d:\cpy\picopad\demo1 --board-id pajenicko_picopad --cpy-version 8.2.6 list
Help message: