-
Notifications
You must be signed in to change notification settings - Fork 1.3k
docs: Add beginnings of troubleshooting doc. #220
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
Conversation
Fixes micropython#172. Related to micropython#214.
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.
@tannewt A few suggestions for cleaning up the rst style.
docs/troubleshooting.rst
Outdated
@@ -0,0 +1,40 @@ | |||
Troubleshooting | |||
============================== |
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.
With rst, the underlines should match the length of the text above.
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.
kk
docs/troubleshooting.rst
Outdated
File system issues | ||
------------------------------ | ||
|
||
If your host computer starts complaining that your CIRCUITPY drive is corrupted |
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.
Let's put CIRCUITPY
inside of ``
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.
Done.
docs/troubleshooting.rst
Outdated
before being reset by the button or being disconnected from USB. This can also | ||
happen on Linux and Mac OSX but its less likely. | ||
|
||
.. danger:: This will erase all your files in CIRCUITPY! |
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:
.. caution:: Delete ``CIRCUITPY`` filesystem and reload CircuitPython.
To reload CircuitPython (for example, to correct a corrupted filesystem),
follow the process below. It's important to note that **any files stored on the
``CIRCUITPY`` drive will be erased**.
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.
Done.
docs/troubleshooting.rst
Outdated
#. After about 15 seconds, the NexoPixel will start flashing green. If it flashes red, the erase failed. | ||
#. Double-click again and load the appropriate `CircuitPython .uf2 <https://github.com/adafruit/circuitpython/releases/latest>`_. | ||
|
||
ValueError: Incompatible .mpy file. |
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.
`` around .mpy
docs/troubleshooting.rst
Outdated
ValueError: Incompatible .mpy file. | ||
------------------------------------- | ||
|
||
This error occurs when importing a module that is stored as a `mpy` binary file |
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.
`` around mypy and py
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.
done
docs/troubleshooting.rst
Outdated
but, rarely they aren't. In particular, the `mpy` binary format changed between | ||
CircuitPython versions 1.x and 2.x. | ||
|
||
So, if you just upgraded to 2.x from 1.x you'll need to download a newer version |
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.
upgraded to CircuitPython 2.x..
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.
done
docs/troubleshooting.rst
Outdated
CircuitPython versions 1.x and 2.x. | ||
|
||
So, if you just upgraded to 2.x from 1.x you'll need to download a newer version | ||
of the library. They are all available in the |
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.
library Adafruit or Community bundle of libraries.
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.
I reworded this to make it clearer.
Thanks for the suggestions! |
I'm going to pull this now so I can get the link setup. I'll be happy to fix any further comments in a follow up. |
Fixes #172. Related to #214.