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

[Feature Request] - Automatic Parsing of 'boot_out.txt' for Board Selection #127

Open
xgpt opened this issue Nov 14, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@xgpt
Copy link

xgpt commented Nov 14, 2023

Not a bug, just a request for a feature.

Expected behavior
It would be nice if the extension could parse the first line or the "Board ID:" line of the boot_out.txt file and try and automatically select the board if we're working directly on a board's files instead of working locally (on host computer's) filesystem.

I'm not sure how stable this boot_out.txt information will be between boards, or even between CircuitPython releases. If upstream CircuitPython changes their boot_out.txt output that would be a breaking change for this feature.

Allow manual setting in settings.json under .vscode for override of this helper function.

Screenshots

#boot_out.txt

Adafruit CircuitPython 8.2.7 on 2023-10-19; LOLIN S3 16MB Flash 8MB PSRAM with ESP32S3
Board ID:lolin_s3
UID:4F21AFBC0286

Additional context
This would be very helpful for newbies who might not select the correct board on first use, and thus get frustrated while editing pins which are offering variations of similar concepts such as board.D0 vs. board.GP0 and so on. Having one less step to sliding into seamless editing and intellisense would be very nice to have, not a necessity, but very nice.

Love this extension! I use it almost daily.

Please let me know if I can help with this feature, I'd very much so like to see it integrated. I've never written a vscode extension before, but there's a first time for everything. If someone could help with the actual logic I'd be able to help out with any sort of admin work like writing up a table for matching things up.

@xgpt xgpt added the bug Something isn't working label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant