Fix reset method for Espressif NodeMCU (ESP-12E Module) // Resolve #380

This commit is contained in:
Ivan Kravets
2015-12-17 00:02:22 +02:00
parent d3b7fc7ddb
commit 34a5d366d5
9 changed files with 27 additions and 50 deletions

View File

@@ -4,6 +4,13 @@ Release History
PlatformIO 2.0
--------------
2.6.1 (2015-12-??)
~~~~~~~~~~~~~~~~~~
* Fixed reset method for Espressif NodeMCU (ESP-12E Module)
(`issue #380 <https://github.com/platformio/platformio/issues/380>`_)
2.6.0 (2015-12-15)
~~~~~~~~~~~~~~~~~~

View File

@@ -363,7 +363,7 @@ BQ
- RAM
* - ``zumbt328``
- `BQ ZUM BT-328 board <http://www.bq.com/gb/products/zum.html>`_
- `BQ ZUM BT-328 <http://www.bq.com/gb/products/zum.html>`_
- ATMEGA328P
- 16 MHz
- 32 Kb
@@ -485,21 +485,14 @@ Espressif
- RAM
* - ``esp01``
- `Espressif ESP8266 ESP-01 board <https://nurdspace.nl/ESP8266>`_
- `Espressif Generic ESP8266 ESP-01 <https://nurdspace.nl/ESP8266>`_
- ESP8266
- 80 MHz
- 512 Kb
- 32 Kb
* - ``esp01_1m``
- `Espressif ESP8266 ESP-01-1MB board <https://nurdspace.nl/ESP8266>`_
- ESP8266
- 80 MHz
- 1024 Kb
- 32 Kb
* - ``esp12e``
- `Espressif ESP8266 ESP-12E board (NodeMCU) <https://nurdspace.nl/ESP8266>`_
- `Espressif NodeMCU (ESP-12 Module) <https://nurdspace.nl/ESP8266>`_
- ESP8266
- 80 MHz
- 4096 Kb

View File

@@ -368,7 +368,7 @@ BQ
- RAM
* - ``zumbt328``
- `BQ ZUM BT-328 board <http://www.bq.com/gb/products/zum.html>`_
- `BQ ZUM BT-328 <http://www.bq.com/gb/products/zum.html>`_
- ATMEGA328P
- 16 MHz
- 32 Kb

View File

@@ -86,21 +86,14 @@ Espressif
- RAM
* - ``esp01``
- `Espressif ESP8266 ESP-01 board <https://nurdspace.nl/ESP8266>`_
- `Espressif Generic ESP8266 ESP-01 <https://nurdspace.nl/ESP8266>`_
- ESP8266
- 80 MHz
- 512 Kb
- 32 Kb
* - ``esp01_1m``
- `Espressif ESP8266 ESP-01-1MB board <https://nurdspace.nl/ESP8266>`_
- ESP8266
- 80 MHz
- 1024 Kb
- 32 Kb
* - ``esp12e``
- `Espressif ESP8266 ESP-12E board (NodeMCU) <https://nurdspace.nl/ESP8266>`_
- `Espressif NodeMCU (ESP-12 Module) <https://nurdspace.nl/ESP8266>`_
- ESP8266
- 80 MHz
- 4096 Kb

View File

@@ -17,7 +17,12 @@
# Automatic targets - enable auto-uploading
# targets = upload
[env:esp01_8266]
[env:esp01]
platform = espressif
framework = arduino
board = esp01
[env:esp12e]
platform = espressif
framework = arduino
board = esp12e

View File

@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
VERSION = (2, 6, 0)
VERSION = (2, 6, "1.dev0")
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio"

View File

@@ -9,40 +9,19 @@
"variant": "generic"
},
"frameworks": ["arduino"],
"name": "Espressif ESP8266 ESP-01 board",
"name": "Espressif Generic ESP8266 ESP-01",
"platform": "espressif",
"upload": {
"maximum_ram_size": 32768,
"maximum_size": 524288,
"protocol": "arduino",
"require_upload_port" : true,
"speed": 115200
},
"url": "https://nurdspace.nl/ESP8266",
"vendor": "Espressif"
},
"esp01_1m": {
"build": {
"core": "esp8266",
"extra_flags": "-DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266",
"f_cpu": "80000000L",
"ldscript": "esp8266.flash.1m128.ld",
"mcu": "esp8266",
"variant": "generic"
},
"frameworks": ["arduino"],
"name": "Espressif ESP8266 ESP-01-1MB board",
"platform": "espressif",
"upload": {
"maximum_ram_size": 32768,
"maximum_size": 1048576,
"protocol": "arduino",
"resetmethod": "ck",
"require_upload_port" : true,
"speed": 115200
},
"url": "https://nurdspace.nl/ESP8266",
"vendor": "Espressif"
},
"esp12e": {
"build": {
"core": "esp8266",
@@ -53,12 +32,12 @@
"variant": "nodemcu"
},
"frameworks": ["arduino"],
"name": "Espressif ESP8266 ESP-12E board (NodeMCU)",
"name": "Espressif NodeMCU (ESP-12 Module)",
"platform": "espressif",
"upload": {
"maximum_ram_size": 32768,
"maximum_size": 4194304,
"protocol": "arduino",
"resetmethod": "nodemcu",
"require_upload_port" : true,
"speed": 115200
},

View File

@@ -459,7 +459,7 @@
"variant": "eightanaloginputs"
},
"frameworks": ["arduino"],
"name": "BQ ZUM BT-328 board",
"name": "BQ ZUM BT-328",
"platform": "atmelavr",
"upload": {
"disable_flushing": true,

View File

@@ -87,7 +87,7 @@ env.Replace(
UPLOADER=join("$PIOPACKAGES_DIR", "tool-esptool", "esptool"),
UPLOADERFLAGS=[
"-vv",
"-cd", "ck",
"-cd", "${BOARD_OPTIONS['upload']['resetmethod']}",
"-cb", "$UPLOAD_SPEED",
"-cp", "$UPLOAD_PORT",
"-ca", "0x00000",