8000 Make Building CircuitPython guide easier to find · EternityForest/circuitpython@a853788 · GitHub
[go: up one dir, main page]

Skip to content

Commit a853788

Browse files
committed
Make Building CircuitPython guide easier to find
These documentation edits are meant to steer new CircuitPython core developers towards the Building CircuitPython Learn Guide.
1 parent 88e8a3c commit a853788

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

CONTRIBUTING.md

Copy file name to clipboard
Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,32 @@ As CircuitPython grows, there are more and more ways to contribute. Here are som
2828
* Contribute Python code to CircuitPython libraries that support new devices or features of an existing device.
2929
* Contribute C code to CircuitPython which fixes an open issue or adds a new feature.
3030

31-
## Getting started with C
32-
CircuitPython developer Dan Halbert (@dhalbert) has written up build instructions using native build
33-
tools [here](https://learn.adafruit.com/building-circuitpython).
31+
## Building CircuitPython: Getting started with C
3432

35-
For SAMD21 debugging workflow tips check out [this learn guide](https://learn.adafruit.com/debugging-the-samd21-with-gdb) from Scott (@tannewt).
33+
The CircuitPython core is implemented mostly in C, along with some "frozen"
34+
Python modules that provide commonly needed functionality. Some C code, like
35+
the Python virtual machine (VM), is shared between all supported development
36+
boards. Other code is specific to a family of microcontrollers (ports) or to
37+
individual boards.
38+
39+
If you want to add suport for new boards, add features to the core, fix bugs in
40+
the core, or compile with special options (perhaps to make a debug build with
41+
UART logging), you will need to install a development environment with build
42+
tools.
43+
44+
Build Documentation:
45+
46+
- [Building CircuitPython Learn Guide](https://learn.adafruit.com/building-circuitpython):
47+
CircuitPython developer Dan Halbert (@dhalbert) wrote this guide with build
48+
instructions for using native build tools. **This is the primary getting
49+
started documentation for building CircuitPython.**
50+
51+
- For SAMD21 debugging workflow tips check out [this learn guide](https://learn.adafruit.com/debugging-the-samd21-with-gdb) from Scott (@tannewt).
52+
53+
- There are some additional links and notes in [BUILDING.md](BUILDING.md) and
54+
port-specific README files under the [ports/](ports) directory. But, those
55+
files may be out of date. It's best to begin with the Building CircuitPython
56+
learn guide.
3657

3758
## Developer contacts
3859
Scott Shawcroft ([@tannewt](https://github.com/tannewt)) is the lead developer of CircuitPython

ports/espressif/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ Before building or flashing the, you must `install the ESP-IDF <https://docs.esp
155155

156156
Note: This must be re-done every time the ESP-IDF is updated, but not every time you build.
157157

158+
Note: The ``./esp-idf/install.sh`` script is part of a submodule. Please refer to the `Building CircuitPython Learn Guide <https://learn.adafruit.com/building-circuitpython>`_ for instructions about using ``make fetch-port-submodules``.
159+
158160
Run ``cd ports/espressif`` from ``circuitpython/`` to move to the espressif port root, and run:
159161

160162
.. code-block::

0 commit comments

Comments
 (0)
0