Greedily grab as much RMT memory as we can. It blocks other RMT transmit channels but we only use it temporarily anyway. The more we can grab, the fewer interrupts are needed to keep the transmit going. Flickers may still happen due to file system writes but most of the time the animation just pauses. On ESP32, move CircuitPython to the second core. This helps NeoPixel by moving the RMT interrupt to the second core as well. When testing ESP32 I noticed that settings.toml writes won't apply until after hard reset. This removes that constraint but still requires the password to enable the web workflow. Fixes #3835 |
||
|---|---|---|
| .. | ||
| autoapi/templates/python | ||
| library | ||
| readthedocs/settings | ||
| reference | ||
| static | ||
| templates | ||
| common_hal.md | ||
| design_guide.rst | ||
| environment.rst | ||
| index.rst | ||
| libraries.rst | ||
| LICENSE.md | ||
| pdf.rst | ||
| porting.rst | ||
| README.md | ||
| redirects.txt | ||
| rstjinja.py | ||
| shared_bindings_matrix.py | ||
| supported_ports.rst | ||
| troubleshooting.rst | ||
| workflows.md | ||
Adafruit's CircuitPython Documentation
The latest documentation can be found at: http://circuitpython.readthedocs.io/en/latest/
The documentation you see there is generated from the files in the whole tree: https://github.com/adafruit/circuitpython/tree/main
Building the documentation locally
If you're making changes to the documentation, you should build the documentation locally so that you can preview your changes.
Install the necessary packages, preferably in a virtualenv, in circuitpython/:
pip install -r requirements-doc.txt
In circuitpython/, build the docs:
make html
You'll find the index page at _build/html/index.html.
More flexibility
Running make by itself will list out the multiple doc generating commands available.
All commands will, by default, run with -E (forces a rebuild from scratch of docs) and -v (verbosity level 1). This can be customized as desired:
# will turn OFF the force rebuild
make html FORCE=
# will turn OFF the verbosity
make html VERBOSE=
# will turn OFF the force rebuild and make it doubly verbose when running
make html FORCE= VERBOSE="-v -v"
You can also pass other options to sphinx by using SPHINXOPTS.
make html SPHINXOPTS="-T"
For more flexibility and customization, take a look at the Makefile for all variables you can pass in and overwrite.