mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
Case change and and 'none' reset option for Digistump Oak (#4143)
* Case change and and 'none' reset option for Digistump Oak The logo is 'digiStump', but is always written in text form as 'Digistump'. The generator fixed an issue with the release version of 2.4.0 not having a resetMethod for the Digistump Oak, and hence not being able to be uploaded to without modifying the boards.txt file. However, the Oak doesn't support auto-reset via serial - it was primarily designed to be a cloud-programmed board. * Regenerated boards.txt * Regeneration of doc/boards.rst
This commit is contained in:
parent
ca25068733
commit
12f336fa5f
@ -3320,7 +3320,7 @@ gen4iod.menu.UploadSpeed.921600=921600
|
||||
gen4iod.menu.UploadSpeed.921600.upload.speed=921600
|
||||
|
||||
##############################################################
|
||||
oak.name=DigiStump Oak
|
||||
oak.name=Digistump Oak
|
||||
oak.build.board=ESP8266_OAK
|
||||
oak.build.variant=oak
|
||||
oak.upload.maximum_size=1040368
|
||||
@ -3338,7 +3338,7 @@ oak.menu.CpuFrequency.80=80 MHz
|
||||
oak.menu.CpuFrequency.80.build.f_cpu=80000000L
|
||||
oak.menu.CpuFrequency.160=160 MHz
|
||||
oak.menu.CpuFrequency.160.build.f_cpu=160000000L
|
||||
oak.upload.resetmethod=ck
|
||||
oak.upload.resetmethod=none
|
||||
oak.build.flash_mode=dio
|
||||
oak.build.flash_freq=40
|
||||
oak.menu.FlashSize.4M1M=4M (1M SPIFFS)
|
||||
|
301
doc/boards.rst
301
doc/boards.rst
@ -1,148 +1,9 @@
|
||||
Boards
|
||||
======
|
||||
|
||||
|
||||
Adafruit HUZZAH ESP8266 (ESP-12)
|
||||
--------------------------------
|
||||
|
||||
*TODO: add notes*
|
||||
|
||||
ESPresso Lite 1.0
|
||||
-----------------
|
||||
|
||||
ESPresso Lite 1.0 (beta version) is an Arduino-compatible Wi-Fi development board powered by Espressif System's own ESP8266 WROOM-02 module. It has breadboard-friendly breakout pins with in-built LED, two reset/flash buttons and a user programmable button . The operating voltage is 3.3VDC, regulated with 800mA maximum current. Special distinctive features include on-board I2C pads that allow direct connection to OLED LCD and sensor boards.
|
||||
|
||||
ESPresso Lite 2.0
|
||||
-----------------
|
||||
|
||||
ESPresso Lite 2.0 is an Arduino-compatible Wi-Fi development board based on an earlier V1 (beta version). Re-designed together with Cytron Technologies, the newly-revised ESPresso Lite V2.0 features the auto-load/auto-program function, eliminating the previous need to reset the board manually before flashing a new program. It also feature two user programmable side buttons and a reset button. The special distinctive features of on-board pads for I2C sensor and actuator is retained.
|
||||
|
||||
Phoenix 1.0
|
||||
-----------
|
||||
|
||||
Product page: http://www.espert.co
|
||||
|
||||
Phoenix 2.0
|
||||
-----------
|
||||
|
||||
Product page: http://www.espert.co
|
||||
|
||||
NodeMCU 0.9
|
||||
-----------
|
||||
|
||||
Pin mapping
|
||||
~~~~~~~~~~~
|
||||
|
||||
Pin numbers written on the board itself do not correspond to ESP8266 GPIO pin numbers. Constants are defined to make using this board easier:
|
||||
|
||||
.. code:: c++
|
||||
|
||||
static const uint8_t D0 = 16;
|
||||
static const uint8_t D1 = 5;
|
||||
static const uint8_t D2 = 4;
|
||||
static const uint8_t D3 = 0;
|
||||
static const uint8_t D4 = 2;
|
||||
static const uint8_t D5 = 14;
|
||||
static const uint8_t D6 = 12;
|
||||
static const uint8_t D7 = 13;
|
||||
static const uint8_t D8 = 15;
|
||||
static const uint8_t D9 = 3;
|
||||
static const uint8_t D10 = 1;
|
||||
|
||||
If you want to use NodeMCU pin 5, use D5 for pin number, and it will be translated to 'real' GPIO pin 14.
|
||||
|
||||
NodeMCU 1.0
|
||||
-----------
|
||||
|
||||
This module is sold under many names for around $6.50 on AliExpress and it's one of the cheapest, fully integrated ESP8266 solutions.
|
||||
|
||||
It's an open hardware design with an ESP-12E core and 4 MB of SPI flash.
|
||||
|
||||
According to the manufacturer, "with a micro USB cable, you can connect NodeMCU devkit to your laptop and flash it without any trouble". This is more or less true: the board comes with a CP2102 onboard USB to serial adapter which just works, well, the majority of the time. Sometimes flashing fails and you have to reset the board by holding down FLASH +
|
||||
RST, then releasing FLASH, then releasing RST. This forces the CP2102 device to power cycle and to be re-numbered by Linux.
|
||||
|
||||
The board also features a NCP1117 voltage regulator, a blue LED on GPIO16 and a 220k/100k Ohm voltage divider on the ADC input pin.
|
||||
|
||||
Full pinout and PDF schematics can be found `here <https://github.com/nodemcu/nodemcu-devkit-v1.0>`__
|
||||
|
||||
Olimex MOD-WIFI-ESP8266-DEV
|
||||
---------------------------
|
||||
|
||||
This board comes with 2 MB of SPI flash and optional accessories (e.g. evaluation board ESP8266-EVB or BAT-BOX for batteries).
|
||||
|
||||
The basic module has three solder jumpers that allow you to switch the operating mode between SDIO, UART and FLASH.
|
||||
|
||||
The board is shipped for FLASH operation mode, with jumpers TD0JP=0, IO0JP=1, IO2JP=1.
|
||||
|
||||
Since jumper IO0JP is tied to GPIO0, which is PIN 21, you'll have to ground it before programming with a USB to serial adapter and reset the board by power cycling it.
|
||||
|
||||
UART pins for programming and serial I/O are GPIO1 (TXD, pin 3) and GPIO3 (RXD, pin 4).
|
||||
|
||||
You can find the board schematics `here <https://github.com/OLIMEX/ESP8266/blob/master/HARDWARE/MOD-WIFI-ESP8266-DEV/MOD-WIFI-ESP8266-DEV_schematic.pdf>`__
|
||||
|
||||
Olimex MOD-WIFI-ESP8266
|
||||
-----------------------
|
||||
|
||||
This is a stripped down version of the above. Behaves identically in terms of jumpers but has less pins readily available for I/O. Still 2 MB of SPI flash.
|
||||
|
||||
Olimex ESP8266-EVB
|
||||
------------------
|
||||
|
||||
It's an Olimex MOD-WIFI-ESP8266-DEV module installed on the headers of a development board which features some breakout connectors, a button (GPIO0) and a relay (GPIO5).
|
||||
|
||||
To download a program you have to connect GND/RX/TX from a serial/USB adapter to the UEXT connector and press the only button before applying power to enter UART mode.
|
||||
|
||||
Don't connect 5V from the serial/USB adapter to the board or you won't be able to power cycle it for UART mode.
|
||||
|
||||
You can find the board schematics `here <https://github.com/OLIMEX/ESP8266/blob/master/HARDWARE/ESP8266-EVB/ESP8266-EVB_Rev_A.pdf>`__.
|
||||
|
||||
`This guide <https://www.olimex.com/Products/IoT/ESP8266-EVB/resources/ESP8266-EVB-how-to-use-Arduino.pdf>`__ is also useful for the first setup, since it contains the UEXT connector pinout.
|
||||
|
||||
Board variants include:
|
||||
|
||||
* ESP8266-EVB-BAT: comes with built-in LiPo charger and step-up converter
|
||||
* ESP8266-EVB-BAT-BOX: as above, but enclosd in a plastic box (non-weatherproof)
|
||||
|
||||
SparkFun ESP8266 Thing
|
||||
Generic ESP8266 Module
|
||||
----------------------
|
||||
|
||||
Product page: https://www.sparkfun.com/products/13231
|
||||
|
||||
*TODO: add notes*
|
||||
|
||||
SweetPea ESP-210
|
||||
----------------
|
||||
|
||||
*TODO: add notes*
|
||||
|
||||
ESPino
|
||||
------
|
||||
|
||||
ESPino integrates the ESP-12 module with a 3.3v regulator, CP2104 USB-Serial bridge and a micro USB connector for easy programming. It is designed for fitting in a breadboard and has an RGB Led and two buttons for easy prototyping.
|
||||
|
||||
For more information about the hardware, pinout diagram and programming procedures, please see the `datasheet <https://github.com/makerlabmx/ESPino-tools/raw/master/Docs/ESPino-Datasheet-EN.pdf>`__.
|
||||
|
||||
Product page: http://www.espino.io/en
|
||||
|
||||
WifInfo
|
||||
-------
|
||||
|
||||
WifInfo integrates the ESP-12 or ESP-07+Ext antenna module with a 3.3v regulator and the hardware to be able to measure French telemetry issue from ERDF powering meter serial output. It has a USB connector for powering, an RGB WS2812 Led, 4 pins I2C connector to fit OLED or sensor, and two buttons + FTDI connector and auto reset feature.
|
||||
|
||||
For more information, please see WifInfo related `blog <http://hallard.me/category/wifinfo/>`__ entries, `github <https://github.com/hallard/WifInfo>`__ and `community <https://community.hallard.me/category/16/wifinfo>`__ forum.
|
||||
|
||||
DigiStump Oak
|
||||
-------------
|
||||
|
||||
The Oak requires an [adapter](#serial-adapter) for a serial connection or flashing; its micro USB port is only for power.
|
||||
|
||||
To make a serial connection, wire the adapter's **TX to P3**, **RX to P4**, and **GND** to **GND**. Supply 3.3v from the serial adapter if not already powered via USB.
|
||||
|
||||
To put the board into bootloader mode, configure a serial connection as above, connect **P2 to GND**, then re-apply power. Once flashing is complete, remove the connection from P2 to GND, then re-apply power to boot into normal mode.
|
||||
|
||||
Generic ESP8266 modules
|
||||
-----------------------
|
||||
|
||||
These modules come in different form factors and pinouts. See the page at ESP8266 community wiki for more info: `ESP8266 Module Family <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`__.
|
||||
|
||||
Usually these modules have no bootstapping resistors on board, insufficient decoupling capacitors, no voltage regulator, no reset circuit, and no USB-serial adapter. This makes using them somewhat tricky, compared to development boards which add these features.
|
||||
@ -339,25 +200,144 @@ the first value respects the pin setup of the Pins 0, 2 and 15.
|
||||
|
||||
note: - number = ((GPIO15 << 2) \| (GPIO0 << 1) \| GPIO2);
|
||||
|
||||
Generic ESP8285 modules
|
||||
-----------------------
|
||||
Generic ESP8285 Module
|
||||
----------------------
|
||||
|
||||
ESP8285 (`datasheet <http://www.espressif.com/sites/default/files/0a-esp8285_datasheet_en_v1.0_20160422.pdf>`__) is a multi-chip package which contains ESP8266 and 1MB flash. All points related to bootstrapping resistors and recommended circuits listed above apply to ESP8285 as well.
|
||||
|
||||
Note that since ESP8285 has SPI flash memory internally connected in DOUT mode, pins 9 and 10 may be used as GPIO / I2C / PWM pins.
|
||||
|
||||
WeMos D1
|
||||
--------
|
||||
ESPDuino (ESP-13 Module)
|
||||
------------------------
|
||||
|
||||
*TODO*
|
||||
|
||||
Adafruit Feather HUZZAH ESP8266
|
||||
-------------------------------
|
||||
|
||||
The Adafruit Feather HUZZAH ESP8266 is an Arduino-compatible Wi-Fi development board powered by Ai-Thinker's ESP-12S, clocked at 80 MHz at 3.3V logic. A high-quality SiLabs CP2104 USB-Serial chip is included so that you can upload code at a blistering 921600 baud for fast development time. It also has auto-reset so no noodling with pins and reset button pressings. A 3.7V Lithium polymer battery connector is included, making it ideal for portable projects. The Adafruit Feather HUZZAH ESP8266 will automatically recharge a connected battery when USB power is available.
|
||||
|
||||
Product page: https://www.adafruit.com/product/2821
|
||||
|
||||
ESPresso Lite 1.0
|
||||
-----------------
|
||||
|
||||
ESPresso Lite 1.0 (beta version) is an Arduino-compatible Wi-Fi development board powered by Espressif System's own ESP8266 WROOM-02 module. It has breadboard-friendly breakout pins with in-built LED, two reset/flash buttons and a user programmable button . The operating voltage is 3.3VDC, regulated with 800mA maximum current. Special distinctive features include on-board I2C pads that allow direct connection to OLED LCD and sensor boards.
|
||||
|
||||
ESPresso Lite 2.0
|
||||
-----------------
|
||||
|
||||
ESPresso Lite 2.0 is an Arduino-compatible Wi-Fi development board based on an earlier V1 (beta version). Re-designed together with Cytron Technologies, the newly-revised ESPresso Lite V2.0 features the auto-load/auto-program function, eliminating the previous need to reset the board manually before flashing a new program. It also feature two user programmable side buttons and a reset button. The special distinctive features of on-board pads for I2C sensor and actuator is retained.
|
||||
|
||||
Phoenix 1.0
|
||||
-----------
|
||||
|
||||
Product page: http://www.espert.co
|
||||
|
||||
Phoenix 2.0
|
||||
-----------
|
||||
|
||||
Product page: http://www.espert.co
|
||||
|
||||
NodeMCU 0.9 (ESP-12 Module)
|
||||
---------------------------
|
||||
|
||||
Pin mapping
|
||||
~~~~~~~~~~~
|
||||
|
||||
Pin numbers written on the board itself do not correspond to ESP8266 GPIO pin numbers. Constants are defined to make using this board easier:
|
||||
|
||||
.. code:: c++
|
||||
|
||||
static const uint8_t D0 = 16;
|
||||
static const uint8_t D1 = 5;
|
||||
static const uint8_t D2 = 4;
|
||||
static const uint8_t D3 = 0;
|
||||
static const uint8_t D4 = 2;
|
||||
static const uint8_t D5 = 14;
|
||||
static const uint8_t D6 = 12;
|
||||
static const uint8_t D7 = 13;
|
||||
static const uint8_t D8 = 15;
|
||||
static const uint8_t D9 = 3;
|
||||
static const uint8_t D10 = 1;
|
||||
|
||||
If you want to use NodeMCU pin 5, use D5 for pin number, and it will be translated to 'real' GPIO pin 14.
|
||||
|
||||
NodeMCU 1.0 (ESP-12E Module)
|
||||
----------------------------
|
||||
|
||||
This module is sold under many names for around $6.50 on AliExpress and it's one of the cheapest, fully integrated ESP8266 solutions.
|
||||
|
||||
It's an open hardware design with an ESP-12E core and 4 MB of SPI flash.
|
||||
|
||||
According to the manufacturer, "with a micro USB cable, you can connect NodeMCU devkit to your laptop and flash it without any trouble". This is more or less true: the board comes with a CP2102 onboard USB to serial adapter which just works, well, the majority of the time. Sometimes flashing fails and you have to reset the board by holding down FLASH +
|
||||
RST, then releasing FLASH, then releasing RST. This forces the CP2102 device to power cycle and to be re-numbered by Linux.
|
||||
|
||||
The board also features a NCP1117 voltage regulator, a blue LED on GPIO16 and a 220k/100k Ohm voltage divider on the ADC input pin.
|
||||
|
||||
Full pinout and PDF schematics can be found `here <https://github.com/nodemcu/nodemcu-devkit-v1.0>`__
|
||||
|
||||
Olimex MOD-WIFI-ESP8266(-DEV)
|
||||
-----------------------------
|
||||
|
||||
This board comes with 2 MB of SPI flash and optional accessories (e.g. evaluation board ESP8266-EVB or BAT-BOX for batteries).
|
||||
|
||||
The basic module has three solder jumpers that allow you to switch the operating mode between SDIO, UART and FLASH.
|
||||
|
||||
The board is shipped for FLASH operation mode, with jumpers TD0JP=0, IO0JP=1, IO2JP=1.
|
||||
|
||||
Since jumper IO0JP is tied to GPIO0, which is PIN 21, you'll have to ground it before programming with a USB to serial adapter and reset the board by power cycling it.
|
||||
|
||||
UART pins for programming and serial I/O are GPIO1 (TXD, pin 3) and GPIO3 (RXD, pin 4).
|
||||
|
||||
You can find the board schematics `here <https://github.com/OLIMEX/ESP8266/blob/master/HARDWARE/MOD-WIFI-ESP8266-DEV/MOD-WIFI-ESP8266-DEV_schematic.pdf>`__
|
||||
|
||||
SparkFun ESP8266 Thing
|
||||
----------------------
|
||||
|
||||
Product page: https://www.sparkfun.com/products/13231
|
||||
|
||||
SparkFun ESP8266 Thing Dev
|
||||
--------------------------
|
||||
|
||||
Product page: https://www.sparkfun.com/products/13711
|
||||
|
||||
SweetPea ESP-210
|
||||
----------------
|
||||
|
||||
*TODO*
|
||||
|
||||
WeMos D1 R2 & mini
|
||||
------------------
|
||||
|
||||
Product page: https://www.wemos.cc/
|
||||
|
||||
WeMos D1 mini
|
||||
-------------
|
||||
WeMos D1 mini Pro
|
||||
-----------------
|
||||
|
||||
Product page: https://www.wemos.cc/
|
||||
|
||||
ESPino (WROOM-02 Module) by ThaiEasyElec
|
||||
----------------------------------------
|
||||
WeMos D1 mini Lite
|
||||
------------------
|
||||
|
||||
Product page: https://www.wemos.cc/
|
||||
|
||||
WeMos D1 R1
|
||||
-----------
|
||||
|
||||
Product page: https://www.wemos.cc/
|
||||
|
||||
ESPino (ESP-12 Module)
|
||||
----------------------
|
||||
|
||||
ESPino integrates the ESP-12 module with a 3.3v regulator, CP2104 USB-Serial bridge and a micro USB connector for easy programming. It is designed for fitting in a breadboard and has an RGB Led and two buttons for easy prototyping.
|
||||
|
||||
For more information about the hardware, pinout diagram and programming procedures, please see the `datasheet <https://github.com/makerlabmx/ESPino-tools/raw/master/Docs/ESPino-Datasheet-EN.pdf>`__.
|
||||
|
||||
Product page: http://www.espino.io/en
|
||||
|
||||
ThaiEasyElec's ESPino
|
||||
---------------------
|
||||
|
||||
ESPino by ThaiEasyElec using WROOM-02 module from Espressif Systems with 4 MB Flash.
|
||||
|
||||
@ -370,9 +350,20 @@ http://thaieasyelec.com/downloads/ETEE052/ETEE052\_ESPino\_Dimension.pdf
|
||||
- Pinouts:
|
||||
http://thaieasyelec.com/downloads/ETEE052/ETEE052\_ESPino\_User\_Manual\_TH\_v1\_0\_20160204.pdf (Please see pg. 8)
|
||||
|
||||
WifInfo
|
||||
-------
|
||||
|
||||
gen4-IoD Range by 4D Systems
|
||||
----------------------------
|
||||
WifInfo integrates the ESP-12 or ESP-07+Ext antenna module with a 3.3v regulator and the hardware to be able to measure French telemetry issue from ERDF powering meter serial output. It has a USB connector for powering, an RGB WS2812 Led, 4 pins I2C connector to fit OLED or sensor, and two buttons + FTDI connector and auto reset feature.
|
||||
|
||||
For more information, please see WifInfo related `blog <http://hallard.me/category/wifinfo/>`__ entries, `github <https://github.com/hallard/WifInfo>`__ and `community <https://community.hallard.me/category/16/wifinfo>`__ forum.
|
||||
|
||||
Arduino
|
||||
-------
|
||||
|
||||
*TODO*
|
||||
|
||||
4D Systems gen4 IoD Range
|
||||
-------------------------
|
||||
|
||||
gen4-IoD Range of ESP8266 powered Display Modules by 4D Systems.
|
||||
|
||||
@ -383,3 +374,13 @@ Datasheet and associated downloads can be found on the 4D Systems product page.
|
||||
The gen4-IoD range can be programmed using the Arduino IDE and also the 4D Systems Workshop4 IDE, which incorporates many additional graphics benefits. GFX4d library is available, along with a number of demo applications.
|
||||
|
||||
- Product page: http://www.4dsystems.com.au/product/gen4-IoD
|
||||
|
||||
Digistump Oak
|
||||
-------------
|
||||
|
||||
The Oak requires an `Serial Adapter`_ for a serial connection or flashing; its micro USB port is only for power.
|
||||
|
||||
To make a serial connection, wire the adapter's **TX to P3**, **RX to P4**, and **GND** to **GND**. Supply 3.3v from the serial adapter if not already powered via USB.
|
||||
|
||||
To put the board into bootloader mode, configure a serial connection as above, connect **P2 to GND**, then re-apply power. Once flashing is complete, remove the connection from P2 to GND, then re-apply power to boot into normal mode.
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
# opts: specific entries dicts (overrides same entry in macros)
|
||||
# macro: common entries
|
||||
# unmodifiable parameters:
|
||||
# resetmethod_ck/_nodemcu: fixed reset method
|
||||
# resetmethod_ck/_nodemcu/_none: fixed reset method
|
||||
# flashmode_qio/_dio/_qout/_dout: fixed flash mode
|
||||
# flashfreq_40/_80: fixed flash frequency
|
||||
# selection menu:
|
||||
@ -689,20 +689,20 @@ boards = collections.OrderedDict([
|
||||
],
|
||||
}),
|
||||
( 'oak', {
|
||||
'name': 'DigiStump Oak',
|
||||
'name': 'Digistump Oak',
|
||||
'opts': {
|
||||
'.build.board': 'ESP8266_OAK',
|
||||
'.build.variant': 'oak',
|
||||
'.upload.maximum_size': '1040368',
|
||||
},
|
||||
'macro': [
|
||||
'resetmethod_ck',
|
||||
'resetmethod_none',
|
||||
'flashmode_dio',
|
||||
'flashfreq_40',
|
||||
'4M',
|
||||
],
|
||||
'serial': '921',
|
||||
'desc': [ 'The Oak requires an [adapter](#serial-adapter) for a serial connection or flashing; its micro USB port is only for power.',
|
||||
'desc': [ 'The Oak requires an `Serial Adapter`_ for a serial connection or flashing; its micro USB port is only for power.',
|
||||
'',
|
||||
'To make a serial connection, wire the adapter\'s **TX to P3**, **RX to P4**, and **GND** to **GND**. Supply 3.3v from the serial adapter if not already powered via USB.',
|
||||
'',
|
||||
@ -777,6 +777,10 @@ macros = {
|
||||
( '.upload.resetmethod', 'nodemcu' ),
|
||||
]),
|
||||
|
||||
'resetmethod_none': collections.OrderedDict([
|
||||
( '.upload.resetmethod', 'none' ),
|
||||
]),
|
||||
|
||||
####################### menu.FlashMode
|
||||
|
||||
'flashmode_menu': collections.OrderedDict([
|
||||
|
Loading…
x
Reference in New Issue
Block a user