Skip to content

Commit 56e437b

Browse files
author
ficeto
committed
Merge pull request #13 from esp8266/esp8266
pull latest changes
2 parents c71f198 + 102c824 commit 56e437b

File tree

6 files changed

+99
-4
lines changed

6 files changed

+99
-4
lines changed

README.md

+43-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This project brings support for ESP8266 chip to the Arduino environment. ESP8266
88
| OS | Build status | Latest release | Alpha Version |
99
| --- | ------------ | -------------- | --------------- |
1010
| Linux | [![Linux build status](http://img.shields.io/travis/igrr/Arduino.svg)](https://travis-ci.org/igrr/Arduino) | [arduino-1.6.1-linux64.tar.xz](../../releases/download/1.6.1-esp8266-1/arduino-1.6.1-linux64.tar.xz) | |
11-
| Windows | [![Windows build status](http://img.shields.io/appveyor/ci/igrr/Arduino.svg)](https://ci.appveyor.com/project/igrr/Arduino) | [arduino-1.6.1-p1-windows.zip](https://github.com/igrr/Arduino/releases/download/1.6.1-esp8266-1/arduino-1.6.1-p1-windows.zip) | [appveyor Build](https://ci.appveyor.com/project/igrr/Arduino/build/artifacts) |
11+
| Windows | [![Windows build status](http://img.shields.io/appveyor/ci/igrr/Arduino.svg)](https://ci.appveyor.com/project/igrr/Arduino) | [arduino-1.6.1-p1-windows.zip](https://github.com/igrr/Arduino/releases/download/1.6.1-esp8266-1/arduino-1.6.1-p1-windows.zip) | [appveyor 64Bit Build](https://ci.appveyor.com/project/igrr/Arduino/build/artifacts) |
1212
| OS X | | [arduino-1.6.1-macosx-java-latest-signed.zip](../../releases/download/1.6.1-esp8266-1/arduino-1.6.1-macosx-java-latest-signed.zip) | |
1313

1414

@@ -181,8 +181,48 @@ Libraries that don't rely on low-level access to AVR registers should work well.
181181

182182
#### Upload via serial port ####
183183
Pick the correct serial port.
184-
You need to put ESP8266 into bootloader mode before uploading code (pull GPIO0 low and
185-
toggle power).
184+
You need to put ESP8266 into bootloader mode before uploading code.
185+
186+
#### Minimal hardware Setup for Bootloading and usage ####
187+
188+
ESPxx Hardware
189+
190+
| PIN | Resistor | Serial Adapter |
191+
| ------------- | -------- | -------------- |
192+
| VCC | | VCC (3.3V) |
193+
| GND | | GND |
194+
| TX or GPIO2* | | RX |
195+
| RX | | TX |
196+
| GPIO0 | PullUp | DTR |
197+
| Reset* | | RTS |
198+
| GPIO15* | PullDown | |
199+
| CH_PD | PullUp | |
200+
201+
* Note
202+
- GPIO15 is also named MTDO
203+
- Reset is also named RSBT or REST (adding PullUp improves the stability of the Module)
204+
- GPIO2 is alternative TX for the boot loader mode
205+
206+
ESP01 example:
207+
208+
![ESP01 connect](https://raw.githubusercontent.com/Links2004/Arduino/esp8266/docs/ESP01_connect.jpg)
209+
210+
#### Minimal hardware Setup for Bootloading only ####
211+
ESPxx Hardware
212+
213+
| PIN | Resistor | Serial Adapter |
214+
| ------------- | -------- | -------------- |
215+
| VCC | | VCC (3.3V) |
216+
| GND | | GND |
217+
| TX or GPIO2 | | RX |
218+
| RX | | TX |
219+
| GPIO0 | | GND |
220+
| Reset | | RTS* |
221+
| GPIO15 | PullDown | |
222+
| CH_PD | PullUp | |
223+
224+
* Note
225+
- if no RTS is used a manual power toggle is needed
186226

187227
### Issues and support ###
188228

hardware/esp8266com/esp8266/boards.txt

+47
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
menu.UploadSpeed=Upload Speed
22
menu.CpuFrequency=CPU Frequency
33
menu.FlashSize=Flash size
4+
45
##############################################################
56
generic.name=Generic ESP8266 Module
67

@@ -56,6 +57,52 @@ generic.menu.FlashSize.2M.build.flash_size=2M
5657
generic.menu.FlashSize.4M=4M
5758
generic.menu.FlashSize.4M.build.flash_size=4M
5859

60+
##############################################################
61+
modwifi.name=Olimex MOD-WIFI-ESP8266(-DEV)
62+
63+
modwifi.upload.tool=esptool
64+
modwifi.upload.speed=115200
65+
modwifi.upload.resetmethod=ck
66+
modwifi.upload.maximum_size=2097152
67+
modwifi.upload.wait_for_upload_port=true
68+
modwifi.serial.disableDTR=true
69+
modwifi.serial.disableRTS=true
70+
71+
modwifi.build.mcu=esp8266
72+
modwifi.build.f_cpu=80000000L
73+
modwifi.build.board=MOD_WIFI_ESP8266
74+
modwifi.build.core=esp8266
75+
modwifi.build.variant=generic
76+
# Winbond W25Q16 flash
77+
modwifi.build.flash_mode=qio
78+
modwifi.build.flash_size=2M
79+
modwifi.build.flash_freq=40
80+
81+
modwifi.menu.CpuFrequency.80=80 MHz
82+
modwifi.menu.CpuFrequency.80.build.f_cpu=80000000L
83+
modwifi.menu.CpuFrequency.160=160 MHz
84+
modwifi.menu.CpuFrequency.160.build.f_cpu=160000000L
85+
86+
modwifi.menu.UploadSpeed.115200=115200
87+
modwifi.menu.UploadSpeed.115200.upload.speed=115200
88+
modwifi.menu.UploadSpeed.9600=9600
89+
modwifi.menu.UploadSpeed.9600.upload.speed=9600
90+
modwifi.menu.UploadSpeed.57600=57600
91+
modwifi.menu.UploadSpeed.57600.upload.speed=57600
92+
modwifi.menu.UploadSpeed.256000.windows=256000
93+
modwifi.menu.UploadSpeed.256000.upload.speed=256000
94+
modwifi.menu.UploadSpeed.230400.linux=230400
95+
modwifi.menu.UploadSpeed.230400.macosx=230400
96+
modwifi.menu.UploadSpeed.230400.macosx=230400
97+
modwifi.menu.UploadSpeed.230400.upload.speed=230400
98+
modwifi.menu.UploadSpeed.460800.linux=460800
99+
modwifi.menu.UploadSpeed.460800.macosx=460800
100+
modwifi.menu.UploadSpeed.460800.upload.speed=460800
101+
modwifi.menu.UploadSpeed.512000.windows=512000
102+
modwifi.menu.UploadSpeed.512000.upload.speed=512000
103+
modwifi.menu.UploadSpeed.921600=921600
104+
modwifi.menu.UploadSpeed.921600.upload.speed=921600
105+
59106
##############################################################
60107
nodemcu.name=NodeMCU (ESP8266 ESP-12 Module)
61108

hardware/esp8266com/esp8266/libraries/EEPROM/examples/eeprom_clear/eeprom_clear.ino

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ void setup()
1616
EEPROM.write(i, 0);
1717

1818
// turn the LED on when we're done
19+
pinMode(13, OUTPUT);
1920
digitalWrite(13, HIGH);
2021
EEPROM.end();
2122
}

hardware/tools/esp8266/sdk/changelog.txt

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
esp_iot_sdk_v1.0.1_15_05_04_p1
2+
-------------------------------------------
3+
Here is a patch for station+softAP issue that users may have, based on SDK_v1.0.1,
4+
solved problem that connect to ESP8266 softAP may fail in station+softAP mode.
5+
6+
Sorry for the inconvenience.
7+
18
esp_iot_sdk_v1.0.1_15_04_24 Release Note
29
-------------------------------------------
310

52 Bytes
Binary file not shown.

hardware/tools/esp8266/sdk/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1_15_04_24
1+
1.0.1_15_05_04_p1

0 commit comments

Comments
 (0)