Custom boards per project with `boards_dir` option in platformio.ini // Resolve #515

This commit is contained in:
Ivan Kravets
2016-10-31 17:41:01 +02:00
parent e4a91b8343
commit 7b4d94ccfb
6 changed files with 74 additions and 36 deletions
+4 -1
View File
@@ -72,13 +72,16 @@ Installation
1. Create ``boards`` directory in :ref:`projectconf_pio_home_dir` if it
doesn't exist.
2. Create ``myboard.json`` file and put to ``boards`` directory.
2. Create ``myboard.json`` file in this ``boards`` directory.
3. Search available boards via :ref:`cmd_boards` command. You should see
``myboard`` board.
Now, you can use ``myboard`` for the :ref:`projectconf_env_board` option in
:ref:`projectconf`.
.. note::
You can have custom boards per project. In this case, please put your
board's JSON files to :ref:`projectconf_pio_boards_dir`.
Examples
--------