Add support for the new ESP8266-based boards (ESPDuino, ESP-WROOM-02, ESPresso Lite 1.0 & 2.0, SparkFun ESP8266 Thing Dev, ThaiEasyElec ESPino) to Espressif development platform

This commit is contained in:
Ivan Kravets
2016-02-11 00:16:43 +02:00
parent 7e5f6fe22a
commit d0d292b80f
7 changed files with 358 additions and 20 deletions

View File

@ -7,6 +7,10 @@ PlatformIO 2.0
2.8.4 (2016-02-??) 2.8.4 (2016-02-??)
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
* Added support for the new ESP8266-based boards (ESPDuino, ESP-WROOM-02,
ESPresso Lite 1.0 & 2.0, SparkFun ESP8266 Thing Dev, ThaiEasyElec ESPino) to
`Espressif <http://docs.platformio.org/en/latest/platforms/espressif.html>`__
development platform
* Added ``board_f_flash`` option to `Project Configuration File platformio.ini <http://docs.platformio.org/en/latest/projectconf.html>`__ * Added ``board_f_flash`` option to `Project Configuration File platformio.ini <http://docs.platformio.org/en/latest/projectconf.html>`__
which allows to specify `custom flash chip frequency <http://docs.platformio.org/en/latest/platforms/espressif.html#custom-flash-frequency>`_ which allows to specify `custom flash chip frequency <http://docs.platformio.org/en/latest/platforms/espressif.html#custom-flash-frequency>`_
for Espressif development platform for Espressif development platform

View File

@ -482,6 +482,26 @@ Digistump
- 512 Kb - 512 Kb
- 28 Kb - 28 Kb
Doit
~~~~
.. list-table::
:header-rows: 1
* - Type ``board``
- Name
- Microcontroller
- Frequency
- Flash
- RAM
* - ``espduino``
- `ESPDuino (ESP-13 Module) <https://www.tindie.com/products/doit/espduinowifi-uno-r3/>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
ESPino ESPino
~~~~~~ ~~~~~~
@ -570,6 +590,27 @@ Espressif
- 4096 Kb - 4096 Kb
- 80 Kb - 80 Kb
* - ``esp_wroom_02``
- `ESP-WROOM-02 <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 50 Kb
* - ``espresso_lite_v1``
- `ESPresso Lite 1.0 <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
* - ``espresso_lite_v2``
- `ESPresso Lite 2.0 <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
LightUp LightUp
~~~~~~~ ~~~~~~~
@ -707,7 +748,14 @@ NodeMCU
- RAM - RAM
* - ``nodemcu`` * - ``nodemcu``
- `NodeMCU 0.9 / 1.0 <http://www.nodemcu.com/>`_ - `NodeMCU 0.9 (ESP-12 Module) <http://www.nodemcu.com/>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
* - ``nodemcuv2``
- `NodeMCU 1.0 (ESP-12E Module) <http://www.nodemcu.com/>`_
- ESP8266 - ESP8266
- 80 MHz - 80 MHz
- 4096 Kb - 4096 Kb
@ -1025,6 +1073,13 @@ SparkFun
- 512 Kb - 512 Kb
- 80 Kb - 80 Kb
* - ``thingdev``
- `SparkFun ESP8266 Thing Dev <https://www.sparkfun.com/products/13231>`_
- ESP8266
- 80 MHz
- 512 Kb
- 80 Kb
* - ``uview`` * - ``uview``
- `SparkFun MicroView <https://www.sparkfun.com/products/12923>`_ - `SparkFun MicroView <https://www.sparkfun.com/products/12923>`_
- ATMEGA328P - ATMEGA328P
@ -1100,6 +1155,26 @@ Teensy
- 64 Kb - 64 Kb
- 8 Kb - 8 Kb
ThaiEasyElec
~~~~~~~~~~~~
.. list-table::
:header-rows: 1
* - Type ``board``
- Name
- Microcontroller
- Frequency
- Flash
- RAM
* - ``espinotee``
- `ThaiEasyElec ESPino <http://www.thaieasyelec.com/products/wireless-modules/wifi-modules/espino-wifi-development-board-detail.html>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
TinyCircuits TinyCircuits
~~~~~~~~~~~~ ~~~~~~~~~~~~
@ -1141,14 +1216,14 @@ WeMos
- RAM - RAM
* - ``d1`` * - ``d1``
- `WeMos D1 <http://www.wemos.cc/wiki/doku.php?id=en:d1>`_ - `WeMos D1(Retired) <http://www.wemos.cc/wiki/doku.php?id=en:d1>`_
- ESP8266 - ESP8266
- 80 MHz - 80 MHz
- 4096 Kb - 4096 Kb
- 80 Kb - 80 Kb
* - ``d1_mini`` * - ``d1_mini``
- `WeMos D1 mini <http://www.wemos.cc/wiki/doku.php?id=en:d1_mini>`_ - `WeMos D1 R2 & mini <http://www.wemos.cc/wiki/doku.php?id=en:d1_mini>`_
- ESP8266 - ESP8266
- 80 MHz - 80 MHz
- 4096 Kb - 4096 Kb

View File

@ -27,6 +27,9 @@ Platforms
* - Name * - Name
- Description - Description
* - :ref:`platform_atmelsam`
- Atmel | SMART offers Flash- based ARM products based on the ARM Cortex-M0+, Cortex-M3 and Cortex-M4 architectures, ranging from 8KB to 2MB of Flash including a rich peripheral and feature mix.
* - :ref:`platform_freescalekinetis` * - :ref:`platform_freescalekinetis`
- Freescale Kinetis Microcontrollers is family of multiple hardware- and software-compatible ARM Cortex-M0+, Cortex-M4 and Cortex-M7-based MCU series. Kinetis MCUs offer exceptional low-power performance, scalability and feature integration. - Freescale Kinetis Microcontrollers is family of multiple hardware- and software-compatible ARM Cortex-M0+, Cortex-M4 and Cortex-M7-based MCU series. Kinetis MCUs offer exceptional low-power performance, scalability and feature integration.
@ -295,7 +298,7 @@ NXP
- LPC1768 - LPC1768
- 96 MHz - 96 MHz
- 512 Kb - 512 Kb
- 32 Kb - 64 Kb
Nordic Nordic
~~~~~~ ~~~~~~
@ -605,7 +608,7 @@ SeeedStudio
- LPC1768 - LPC1768
- 96 MHz - 96 MHz
- 512 Kb - 512 Kb
- 32 Kb - 64 Kb
Silicon Labs Silicon Labs
~~~~~~~~~~~~ ~~~~~~~~~~~~
@ -740,6 +743,6 @@ u-blox
- LPC1768 - LPC1768
- 96 MHz - 96 MHz
- 512 Kb - 512 Kb
- 32 Kb - 64 Kb
.. include:: mbed_extra.rst .. include:: mbed_extra.rst

View File

@ -28,17 +28,20 @@ Packages
* - Name * - Name
- Contents - Contents
* - ``toolchain-gccarmnoneeabi``
- `gcc-arm-embedded <https://launchpad.net/gcc-arm-embedded>`_, `GDB <http://www.gnu.org/software/gdb/>`_
* - ``framework-arduinosam`` * - ``framework-arduinosam``
- `Arduino Wiring-based Framework (SAM Core, 1.6) <http://arduino.cc/en/Reference/HomePage>`_ - `Arduino Wiring-based Framework (SAM Core, 1.6) <http://arduino.cc/en/Reference/HomePage>`_
* - ``ldscripts``
- `Linker Scripts <https://sourceware.org/binutils/docs/ld/Scripts.html>`_
* - ``tool-openocd`` * - ``tool-openocd``
- `OpenOCD <http://openocd.org>`_ - `OpenOCD <http://openocd.org>`_
* - ``toolchain-gccarmnoneeabi`` * - ``framework-mbed``
- `gcc-arm-embedded <https://launchpad.net/gcc-arm-embedded>`_, `GDB <http://www.gnu.org/software/gdb/>`_ - `mbed Framework <http://mbed.org>`_
* - ``ldscripts``
- `Linker Scripts <https://sourceware.org/binutils/docs/ld/Scripts.html>`_
* - ``tool-bossac`` * - ``tool-bossac``
- `BOSSA CLI <https://sourceforge.net/projects/b-o-s-s-a/>`_ - `BOSSA CLI <https://sourceforge.net/projects/b-o-s-s-a/>`_
@ -63,6 +66,9 @@ Frameworks
* - :ref:`framework_arduino` * - :ref:`framework_arduino`
- Arduino Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences. - Arduino Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.
* - :ref:`framework_mbed`
- The mbed framework The mbed SDK has been designed to provide enough hardware abstraction to be intuitive and concise, yet powerful enough to build complex projects. It is built on the low-level ARM CMSIS APIs, allowing you to code down to the metal if needed. In addition to RTOS, USB and Networking libraries, a cookbook of hundreds of reusable peripheral and module libraries have been built on top of the SDK by the mbed Developer Community.
Boards Boards
------ ------

View File

@ -95,6 +95,26 @@ Adafruit
- 4096 Kb - 4096 Kb
- 80 Kb - 80 Kb
Doit
~~~~
.. list-table::
:header-rows: 1
* - Type ``board``
- Name
- Microcontroller
- Frequency
- Flash
- RAM
* - ``espduino``
- `ESPDuino (ESP-13 Module) <https://www.tindie.com/products/doit/espduinowifi-uno-r3/>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
ESPino ESPino
~~~~~~ ~~~~~~
@ -149,6 +169,27 @@ Espressif
- 4096 Kb - 4096 Kb
- 80 Kb - 80 Kb
* - ``esp_wroom_02``
- `ESP-WROOM-02 <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 50 Kb
* - ``espresso_lite_v1``
- `ESPresso Lite 1.0 <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
* - ``espresso_lite_v2``
- `ESPresso Lite 2.0 <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
NodeMCU NodeMCU
~~~~~~~ ~~~~~~~
@ -163,7 +204,14 @@ NodeMCU
- RAM - RAM
* - ``nodemcu`` * - ``nodemcu``
- `NodeMCU 0.9 / 1.0 <http://www.nodemcu.com/>`_ - `NodeMCU 0.9 (ESP-12 Module) <http://www.nodemcu.com/>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
* - ``nodemcuv2``
- `NodeMCU 1.0 (ESP-12E Module) <http://www.nodemcu.com/>`_
- ESP8266 - ESP8266
- 80 MHz - 80 MHz
- 4096 Kb - 4096 Kb
@ -209,6 +257,13 @@ SparkFun
- 512 Kb - 512 Kb
- 80 Kb - 80 Kb
* - ``thingdev``
- `SparkFun ESP8266 Thing Dev <https://www.sparkfun.com/products/13231>`_
- ESP8266
- 80 MHz
- 512 Kb
- 80 Kb
SweetPea SweetPea
~~~~~~~~ ~~~~~~~~
@ -229,6 +284,26 @@ SweetPea
- 4096 Kb - 4096 Kb
- 80 Kb - 80 Kb
ThaiEasyElec
~~~~~~~~~~~~
.. list-table::
:header-rows: 1
* - Type ``board``
- Name
- Microcontroller
- Frequency
- Flash
- RAM
* - ``espinotee``
- `ThaiEasyElec ESPino <http://www.thaieasyelec.com/products/wireless-modules/wifi-modules/espino-wifi-development-board-detail.html>`_
- ESP8266
- 80 MHz
- 4096 Kb
- 80 Kb
WeMos WeMos
~~~~~ ~~~~~
@ -243,14 +318,14 @@ WeMos
- RAM - RAM
* - ``d1`` * - ``d1``
- `WeMos D1 <http://www.wemos.cc/wiki/doku.php?id=en:d1>`_ - `WeMos D1(Retired) <http://www.wemos.cc/wiki/doku.php?id=en:d1>`_
- ESP8266 - ESP8266
- 80 MHz - 80 MHz
- 4096 Kb - 4096 Kb
- 80 Kb - 80 Kb
* - ``d1_mini`` * - ``d1_mini``
- `WeMos D1 mini <http://www.wemos.cc/wiki/doku.php?id=en:d1_mini>`_ - `WeMos D1 R2 & mini <http://www.wemos.cc/wiki/doku.php?id=en:d1_mini>`_
- ESP8266 - ESP8266
- 80 MHz - 80 MHz
- 4096 Kb - 4096 Kb

View File

@ -169,7 +169,7 @@ NXP
- LPC1768 - LPC1768
- 96 MHz - 96 MHz
- 512 Kb - 512 Kb
- 32 Kb - 64 Kb
Outrageous Circuits Outrageous Circuits
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
@ -209,7 +209,7 @@ SeeedStudio
- LPC1768 - LPC1768
- 96 MHz - 96 MHz
- 512 Kb - 512 Kb
- 32 Kb - 64 Kb
Solder Splash Labs Solder Splash Labs
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
@ -269,4 +269,4 @@ u-blox
- LPC1768 - LPC1768
- 96 MHz - 96 MHz
- 512 Kb - 512 Kb
- 32 Kb - 64 Kb

View File

@ -74,7 +74,57 @@
"vendor": "Espressif" "vendor": "Espressif"
}, },
"espduino": {
"build": {
"core": "esp8266",
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP13",
"f_cpu": "80000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"ldscript": "esp8266.flash.4m1m.ld",
"mcu": "esp8266",
"variant": "ESPDuino"
},
"frameworks": ["arduino"],
"name": "ESPDuino (ESP-13 Module)",
"platform": "espressif",
"upload": {
"maximum_ram_size": 81920,
"maximum_size": 4194304,
"resetmethod": "nodemcu",
"require_upload_port" : true,
"speed": 115200
},
"url": "https://www.tindie.com/products/doit/espduinowifi-uno-r3/",
"vendor": "Doit"
},
"nodemcu": { "nodemcu": {
"build": {
"core": "esp8266",
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12",
"f_cpu": "80000000L",
"f_flash": "40000000L",
"flash_mode": "qio",
"ldscript": "esp8266.flash.4m1m.ld",
"mcu": "esp8266",
"variant": "nodemcu"
},
"frameworks": ["arduino"],
"name": "NodeMCU 0.9 (ESP-12 Module)",
"platform": "espressif",
"upload": {
"maximum_ram_size": 81920,
"maximum_size": 4194304,
"resetmethod": "nodemcu",
"require_upload_port" : true,
"speed": 115200
},
"url": "http://www.nodemcu.com/",
"vendor": "NodeMCU"
},
"nodemcuv2": {
"build": { "build": {
"core": "esp8266", "core": "esp8266",
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12", "extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12",
@ -86,7 +136,7 @@
"variant": "nodemcu" "variant": "nodemcu"
}, },
"frameworks": ["arduino"], "frameworks": ["arduino"],
"name": "NodeMCU 0.9 / 1.0", "name": "NodeMCU 1.0 (ESP-12E Module)",
"platform": "espressif", "platform": "espressif",
"upload": { "upload": {
"maximum_ram_size": 81920, "maximum_ram_size": 81920,
@ -124,6 +174,56 @@
"vendor": "Adafruit" "vendor": "Adafruit"
}, },
"espresso_lite_v1": {
"build": {
"core": "esp8266",
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESPRESSO_LITE_V1",
"f_cpu": "80000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"ldscript": "esp8266.flash.4m1m.ld",
"mcu": "esp8266",
"variant": "espresso_lite_v1"
},
"frameworks": ["arduino"],
"name": "ESPresso Lite 1.0",
"platform": "espressif",
"upload": {
"maximum_ram_size": 81920,
"maximum_size": 4194304,
"resetmethod": "nodemcu",
"require_upload_port" : true,
"speed": 115200
},
"url": "http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family",
"vendor": "Espressif"
},
"espresso_lite_v2": {
"build": {
"core": "esp8266",
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESPRESSO_LITE_V2",
"f_cpu": "80000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"ldscript": "esp8266.flash.4m1m.ld",
"mcu": "esp8266",
"variant": "espresso_lite_v2"
},
"frameworks": ["arduino"],
"name": "ESPresso Lite 2.0",
"platform": "espressif",
"upload": {
"maximum_ram_size": 81920,
"maximum_size": 4194304,
"resetmethod": "nodemcu",
"require_upload_port" : true,
"speed": 115200
},
"url": "http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family",
"vendor": "Espressif"
},
"modwifi": { "modwifi": {
"build": { "build": {
"core": "esp8266", "core": "esp8266",
@ -163,6 +263,31 @@
"frameworks": ["arduino"], "frameworks": ["arduino"],
"name": "SparkFun ESP8266 Thing", "name": "SparkFun ESP8266 Thing",
"platform": "espressif", "platform": "espressif",
"upload": {
"maximum_ram_size": 81920,
"maximum_size": 524288,
"resetmethod": "ck",
"require_upload_port" : true,
"speed": 921600
},
"url": "https://www.sparkfun.com/products/13231",
"vendor": "SparkFun"
},
"thingdev": {
"build": {
"core": "esp8266",
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_THING",
"f_cpu": "80000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"ldscript": "esp8266.flash.512k64.ld",
"mcu": "esp8266",
"variant": "thing"
},
"frameworks": ["arduino"],
"name": "SparkFun ESP8266 Thing Dev",
"platform": "espressif",
"upload": { "upload": {
"maximum_ram_size": 81920, "maximum_ram_size": 81920,
"maximum_size": 524288, "maximum_size": 524288,
@ -211,7 +336,7 @@
"variant": "d1" "variant": "d1"
}, },
"frameworks": ["arduino"], "frameworks": ["arduino"],
"name": "WeMos D1", "name": "WeMos D1(Retired)",
"platform": "espressif", "platform": "espressif",
"upload": { "upload": {
"maximum_ram_size": 81920, "maximum_ram_size": 81920,
@ -236,7 +361,7 @@
"variant": "d1_mini" "variant": "d1_mini"
}, },
"frameworks": ["arduino"], "frameworks": ["arduino"],
"name": "WeMos D1 mini", "name": "WeMos D1 R2 & mini",
"platform": "espressif", "platform": "espressif",
"upload": { "upload": {
"maximum_ram_size": 81920, "maximum_ram_size": 81920,
@ -272,5 +397,55 @@
}, },
"url": "http://www.espino.io", "url": "http://www.espino.io",
"vendor": "ESPino" "vendor": "ESPino"
},
"espinotee": {
"build": {
"core": "esp8266",
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP13",
"f_cpu": "80000000L",
"f_flash": "40000000L",
"flash_mode": "qio",
"ldscript": "esp8266.flash.4m1m.ld",
"mcu": "esp8266",
"variant": "espinotee"
},
"frameworks": ["arduino"],
"name": "ThaiEasyElec ESPino",
"platform": "espressif",
"upload": {
"maximum_ram_size": 81920,
"maximum_size": 4194304,
"resetmethod": "ck",
"require_upload_port" : true,
"speed": 115200
},
"url": "http://www.thaieasyelec.com/products/wireless-modules/wifi-modules/espino-wifi-development-board-detail.html",
"vendor": "ThaiEasyElec"
},
"esp_wroom_02": {
"build": {
"core": "esp8266",
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP_WROOM_02",
"f_cpu": "80000000L",
"f_flash": "40000000L",
"flash_mode": "qio",
"ldscript": "esp8266.flash.4m1m.ld",
"mcu": "esp8266",
"variant": "nodemcu"
},
"frameworks": ["arduino"],
"name": "ESP-WROOM-02",
"platform": "espressif",
"upload": {
"maximum_ram_size": 51200,
"maximum_size": 4194304,
"resetmethod": "nodemcu",
"require_upload_port" : true,
"speed": 115200
},
"url": "http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family",
"vendor": "Espressif"
} }
} }