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

Local Directory (Non-Device) Commands Are Broken #218

Closed
FoamyGuy opened this issue May 20, 2024 · 0 comments · Fixed by #219
Closed

Local Directory (Non-Device) Commands Are Broken #218

FoamyGuy opened this issue May 20, 2024 · 0 comments · Fixed by #219

Comments

@FoamyGuy
Copy link
Contributor

#182 added --board-id and --cpy-version arguments for the purpose of using circup to install / remove libraries in a local project directory on a host PC rather than a microcontroller device. Before these arguments were added it was necessary to have a fake boot_out.txt file in the project directory in order to use circup, but these arguments allow you to override the values that are ordinarily read from boot_out.txt

This functionality is currently broken, likely from changes during one of the recent refactors of this library.

When you specify the override values:

circup --path fake_project/ --cpy-version 8.0.0 --board-id hello install adafruit_display_text

The utility reports finding the device and gets ready to install libraries on it, but then quits with an error about not being able to find boot_out.txt:

Found device at fake_project/, running CircuitPython 8.0.0.
A newer version of CircuitPython (9.0.4) is available.
Get it here: https://circuitpython.org/board/hello
Searching for dependencies for: ['adafruit_display_text']
Ready to install: ['adafruit_bitmap_font', 'adafruit_display_text']

Missing file boot_out.txt on the device: wrong path or drive corrupted.

I'm working on a fix for this.

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 a pull request may close this issue.

1 participant