-
Notifications
You must be signed in to change notification settings - Fork 24
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
Update install doc #37
base: master
Are you sure you want to change the base?
Conversation
1. Change to atx headings instead of Setext 2. Remove <a> anchors -- not needed 3. Updated install instructions a. Changed the order of doing things to be more logical b. Added more detail about downloading micropython c. Updated virtual env setup to use current Python `venv` tool d. Added info about PowerShell example scripts e. Add image from Windows device Manager
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.
Not for me to approve, but I'm glad to see these changes, and I've got a couple suggestions.
* Added suggestions by @garthk -- thanks * Updated for mpfshell 0.9.2 1. Added requirements file with correct version of mpfshell 2. More help on venv for novices 3. Added more details and links
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.
Looking sharper! Trying the “Approve” option this time, too.
ReadMe.md
Outdated
``` | ||
. .venv/bin/activate # Linux and macOS | ||
. .venv\Scripts\activate.ps1 # Windows | ||
``` |
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.
It's a little fiddly, but there'll be at least one indent level at which you can put the fenced code block inside the list item instead of stopping the list and starting a new one afterward.
- On Windows, use the command `change port /query` to discover the COM port. | ||
|
||
- Export the serial port to an environment variable, so helpder sripts can use it, | ||
e.g `export AMPY_PORT=<port>` or `$env:AMPY_PORT = COM<n>` where `port` is the device address shown |
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.
Perhaps note they can get straight to the badge REPL then with mpfshell -o ${AMPY_PORT:4}
, at least with a POSIXish shell?
Made a lot of changes to the install doc.
Re ordering, adding details, more info about Windows