File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,27 @@ Try and only change one thing per pull request. That makes it easier to
33
33
review and prioritize. Opening up a separate PR per change also helps keep
34
34
track of them when release messages are generated.
35
35
36
+ Adding a New Board
37
+ ------------------
38
+
39
+ To add a new RP2040 board you will need to update the ``tools/makeboards.py ``
40
+ script. Do *NOT * manually edit ``boards.txt ``, that file is machine generated.
41
+ You will need to add a ``MakeBoard `` call at the end of the file. Please be sure
42
+ to add your board so that it sorts alphabetically, starting with the company name
43
+ and then the board name. Otherwise it is hard to find a specific board in the menu.
44
+
45
+ Run ``python3 tools/makeboards.py `` to update the ``boards.txt `` file and generate
46
+ a Platform.IO JSON file in the ``tools/json `` directory.
47
+
48
+ In your ``git commit `` be sure to add the newly generated ``tools/json/XXX.json ``
49
+ file as well as the modified ``makeboards `` script and ``boards.txt `` and the
50
+ Arduino packaging JSON ``package/package_pico_index.template.json ``. You should
51
+ also add a note in the ``README.md `` file listing your new board.
52
+
53
+ Submit the updated commit as a PR and, if all goes well, your board will be in
54
+ on the next core release.
55
+
56
+
36
57
Porting Libraries and Applications to the Core
37
58
----------------------------------------------
38
59
You can’t perform that action at this time.
0 commit comments