|
1 | 1 | # Tools directory for the RP2040 Arduino-Pico
|
2 | 2 |
|
3 |
| -# get.py |
| 3 | +## get.py |
4 | 4 | Downloads and installs the toolchain into a GIT clone of the repo. Run
|
5 | 5 | once after the `git clone` and any time the toolchain JSON file updates.
|
6 | 6 | The `dist` directory caches downloaded toolchain files.
|
7 | 7 |
|
8 |
| -# discovery.py |
| 8 | +## discovery.py |
9 | 9 | Run in the background by the IDE to scan for UF2 drives to show in the
|
10 | 10 | menus. Normally not run manually by the user.
|
11 | 11 |
|
12 |
| -# uf2conv.py |
| 12 | +## uf2conv.py |
13 | 13 | Manages the upload of the UF2 formatted file to the board. Called as part
|
14 | 14 | of the IDE upload process. Will optionally send the serial reset signal
|
15 | 15 | to get the board into update mode (1200bps connection).
|
16 | 16 |
|
17 |
| -# simplesub.py |
| 17 | +## simplesub.py |
18 | 18 | Very dumb `sed`-like tool used by the platform scripts to generate the
|
19 | 19 | linker `.ld` file (replacing the EEPROM location, FS sizes, etc.).
|
20 | 20 | Because we run on Windows, Mac, and Linux, need to provide this and not
|
21 | 21 | rely on existance of `sed` command.
|
22 | 22 |
|
23 |
| -# pyserial |
| 23 | +## pyserial |
24 | 24 | `git clone` of the PySerial Python3 library to be used by the IDE.
|
25 | 25 |
|
26 |
| -# makeboards.py |
| 26 | +## makeboards.py |
27 | 27 | Generates `boards.txt` programmatically. Never edit the `boards.txt` file
|
28 | 28 | manually, use `python3 tools/makeboards.py > boards.py`. Change the script
|
29 | 29 | as necessary to add any add'l fields or menus required. Used because the
|
30 | 30 | `boards.txt` file is very repetitive and it's safer to generate with code
|
31 | 31 | than by hand.
|
32 | 32 |
|
33 |
| -# libpico/make-libpico.sh |
| 33 | +## libpico/make-libpico.sh |
34 | 34 | Builds the libpico.a file as well as the bootloader stage2 binaries.
|
35 | 35 | Run whenever the pico-sdk is updated.
|
0 commit comments