forked from platformio/platformio-core
List embedded boards in docs
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -57,8 +57,7 @@ Embedded Development. *Easier Than Ever.*
|
|||||||
* Cloud compiling and :ref:`ci` with *AppVeyor, Circle CI, Drone, Shippable, Travis CI*
|
* Cloud compiling and :ref:`ci` with *AppVeyor, Circle CI, Drone, Shippable, Travis CI*
|
||||||
* Built-in :ref:`Serial Port Monitor <cmd_serialports_monitor>` and
|
* Built-in :ref:`Serial Port Monitor <cmd_serialports_monitor>` and
|
||||||
configurable build :ref:`-flags/-options <projectconf_build_flags>`
|
configurable build :ref:`-flags/-options <projectconf_build_flags>`
|
||||||
* Pre-built toolchains, :ref:`frameworks` for the
|
* Pre-built toolchains, :ref:`frameworks` for the :ref:`platforms`
|
||||||
:ref:`Development Platforms <platforms>`
|
|
||||||
|
|
||||||
Smart Build System. *Fast and Reliable.*
|
Smart Build System. *Fast and Reliable.*
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
@@ -108,8 +107,11 @@ Contents
|
|||||||
:caption: Instruments
|
:caption: Instruments
|
||||||
:maxdepth: 3
|
:maxdepth: 3
|
||||||
|
|
||||||
Platforms & Boards <platforms/index>
|
platforms/index
|
||||||
|
platforms/embedded_boards
|
||||||
frameworks/index
|
frameworks/index
|
||||||
|
platforms/creating_platform
|
||||||
|
platforms/creating_board
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:caption: Library Manager
|
:caption: Library Manager
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -33,10 +33,9 @@ JSON Structure
|
|||||||
|
|
||||||
The key fields:
|
The key fields:
|
||||||
|
|
||||||
* ``build`` data will be used by :ref:`Platforms <platforms>` and
|
* ``build`` data will be used by :ref:`platforms` and :ref:`frameworks` builders
|
||||||
:ref:`frameworks` builders
|
|
||||||
* ``frameworks`` is the list with supported :ref:`frameworks`
|
* ``frameworks`` is the list with supported :ref:`frameworks`
|
||||||
* ``platform`` main type of :ref:`Platforms <platforms>`
|
* ``platform`` main type of :ref:`platforms`
|
||||||
* ``upload`` upload settings which depend on the ``platform``
|
* ``upload`` upload settings which depend on the ``platform``
|
||||||
|
|
||||||
.. code-block:: json
|
.. code-block:: json
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -27,7 +27,7 @@ different/own build scripts, uploader and etc.
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If you want to change some build flags for the existing
|
If you want to change some build flags for the existing
|
||||||
:ref:`Platforms <platforms>`, you don't need to create (or duplicate) own
|
:ref:`platforms`, you don't need to create (or duplicate) own
|
||||||
development platforms! Please use :ref:`projectconf_build_flags` option.
|
development platforms! Please use :ref:`projectconf_build_flags` option.
|
||||||
|
|
||||||
**Step-by-Step Manual**
|
**Step-by-Step Manual**
|
||||||
|
2670
docs/platforms/embedded_boards.rst
Normal file
2670
docs/platforms/embedded_boards.rst
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
.. _platforms:
|
.. _platforms:
|
||||||
|
|
||||||
Platforms & Embedded Boards
|
Development Platforms
|
||||||
===========================
|
=====================
|
||||||
|
|
||||||
*PlatformIO* has pre-built different development platforms for popular OS
|
*PlatformIO* has pre-built different development platforms for popular OS
|
||||||
(*Mac OS X, Linux (+ARM) and Windows*). Each of them include compiler,
|
(*Mac OS X, Linux (+ARM) and Windows*). Each of them include compiler,
|
||||||
@@ -54,12 +54,3 @@ Desktop
|
|||||||
linux_i686
|
linux_i686
|
||||||
linux_x86_64
|
linux_x86_64
|
||||||
windows_x86
|
windows_x86
|
||||||
|
|
||||||
Custom Platform & Board
|
|
||||||
-----------------------
|
|
||||||
|
|
||||||
.. toctree::
|
|
||||||
:maxdepth: 2
|
|
||||||
|
|
||||||
creating_platform
|
|
||||||
creating_board
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -194,7 +194,7 @@ General options
|
|||||||
``platform``
|
``platform``
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
|
|
||||||
:ref:`Platform <platforms>` type.
|
:ref:`platforms` type.
|
||||||
|
|
||||||
|
|
||||||
.. _projectconf_env_framework:
|
.. _projectconf_env_framework:
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -27,7 +27,7 @@ Usage
|
|||||||
Description
|
Description
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Check or update installed :ref:`Platforms <platforms>` and
|
Check or update installed :ref:`platforms` and
|
||||||
:ref:`Libraries <librarymanager>`
|
:ref:`Libraries <librarymanager>`
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -27,8 +27,7 @@ Usage
|
|||||||
Description
|
Description
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Install pre-built development :ref:`Platforms <platforms>` with related
|
Install pre-built development :ref:`platforms` with related packages.
|
||||||
packages.
|
|
||||||
|
|
||||||
There are several predefined aliases for packages, such as:
|
There are several predefined aliases for packages, such as:
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -27,7 +27,7 @@ Usage
|
|||||||
Description
|
Description
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
List installed :ref:`Platforms <platforms>`
|
List installed :ref:`platforms`
|
||||||
|
|
||||||
Options
|
Options
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -27,7 +27,7 @@ Usage
|
|||||||
Description
|
Description
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Search for development :ref:`Platforms <platforms>`
|
Search for development :ref:`platforms`
|
||||||
|
|
||||||
Options
|
Options
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -27,7 +27,7 @@ Usage
|
|||||||
Description
|
Description
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Show details about the installed :ref:`Platforms <platforms>`
|
Show details about the installed :ref:`platforms`
|
||||||
|
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -27,7 +27,7 @@ Usage
|
|||||||
Description
|
Description
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Uninstall specified :ref:`Platforms <platforms>`
|
Uninstall specified :ref:`platforms`
|
||||||
|
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
.. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -27,7 +27,7 @@ Usage
|
|||||||
Description
|
Description
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Check or update installed :ref:`Platforms <platforms>`
|
Check or update installed :ref:`platforms`
|
||||||
|
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
# Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -35,7 +35,7 @@ def generate_boards(boards):
|
|||||||
|
|
||||||
def _round_memory_size(size):
|
def _round_memory_size(size):
|
||||||
if size == 1:
|
if size == 1:
|
||||||
return 1;
|
return 1
|
||||||
|
|
||||||
size = ceil(size)
|
size = ceil(size)
|
||||||
for b in (64, 32, 16, 8, 4, 2, 1):
|
for b in (64, 32, 16, 8, 4, 2, 1):
|
||||||
@@ -134,7 +134,7 @@ def generate_platform(name):
|
|||||||
print "Processing platform: %s" % name
|
print "Processing platform: %s" % name
|
||||||
lines = []
|
lines = []
|
||||||
|
|
||||||
lines.append(""".. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
lines.append(""".. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -241,7 +241,7 @@ def generate_framework(type_, data):
|
|||||||
print "Processing framework: %s" % type_
|
print "Processing framework: %s" % type_
|
||||||
lines = []
|
lines = []
|
||||||
|
|
||||||
lines.append(""".. Copyright 2014-2016 Ivan Kravets <me@ikravets.com>
|
lines.append(""".. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
@@ -364,10 +364,65 @@ Packages
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def update_embedded_boards():
|
||||||
|
lines = []
|
||||||
|
|
||||||
|
lines.append(""".. Copyright 2014-present Ivan Kravets <me@ikravets.com>
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
""")
|
||||||
|
|
||||||
|
lines.append(".. _embedded_boards:")
|
||||||
|
lines.append("")
|
||||||
|
|
||||||
|
lines.append("Embedded Boards")
|
||||||
|
lines.append("===============")
|
||||||
|
|
||||||
|
lines.append("""
|
||||||
|
Rapid Embedded Development, Continuous and IDE integration in a few
|
||||||
|
steps with PlatformIO thanks to built-in project generator for the most
|
||||||
|
popular embedded boards and IDE.
|
||||||
|
|
||||||
|
* You can list pre-configured boards using :ref:`cmd_boards` command or
|
||||||
|
`PlatformIO Boards Explorer <http://platformio.org/boards>`_
|
||||||
|
* For more detailed ``board`` information please scroll tables below by
|
||||||
|
horizontal.
|
||||||
|
""")
|
||||||
|
|
||||||
|
lines.append(".. contents::")
|
||||||
|
lines.append("")
|
||||||
|
|
||||||
|
vendors = {}
|
||||||
|
for board, data in util.get_boards().items():
|
||||||
|
vendor = data['vendor']
|
||||||
|
if vendor in vendors:
|
||||||
|
vendors[vendor].append({board: data})
|
||||||
|
else:
|
||||||
|
vendors[vendor] = [{board: data}]
|
||||||
|
|
||||||
|
for vendor, boards in sorted(vendors.iteritems()):
|
||||||
|
lines.append(str(vendor))
|
||||||
|
lines.append("~" * len(vendor))
|
||||||
|
lines.append(generate_boards(boards))
|
||||||
|
|
||||||
|
emboards_rst = join(dirname(realpath(__file__)),
|
||||||
|
"..", "docs", "platforms", "embedded_boards.rst")
|
||||||
|
with open(emboards_rst, "w") as f:
|
||||||
|
f.write("\n".join(lines))
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
update_create_platform_doc()
|
update_create_platform_doc()
|
||||||
update_platform_docs()
|
update_platform_docs()
|
||||||
update_framework_docs()
|
update_framework_docs()
|
||||||
|
update_embedded_boards()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
sys_exit(main())
|
sys_exit(main())
|
||||||
|
Reference in New Issue
Block a user