1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-22 08:22:04 +03:00

Merge pull request #12 from esp8266/esp8266

master
This commit is contained in:
Me No Dev
2015-06-30 23:55:24 +03:00
9 changed files with 84 additions and 6 deletions

View File

@ -177,7 +177,7 @@ ADC_MODE(ADC_VCC);
``` ```
TOUT pin has to be disconnected in this mode. TOUT pin has to be disconnected in this mode.
Note that by default ADC is configured to read from TOUT pin using ```analogRead(A0)```, and Note that by default ADC is configured to read from TOUT pin using ```analogRead(A0)```, and
```ESP.getVCC()``` is not available. ```ESP.getVCC()``` is not available.
#### OneWire (from https://www.pjrc.com/teensy/td_libs_OneWire.html) #### #### OneWire (from https://www.pjrc.com/teensy/td_libs_OneWire.html) ####
@ -210,7 +210,7 @@ Libraries that don't rely on low-level access to AVR registers should work well.
- [aREST](https://github.com/marcoschwartz/aREST) REST API handler library. - [aREST](https://github.com/marcoschwartz/aREST) REST API handler library.
- [Blynk](https://github.com/blynkkk/blynk-library) - easy IoT framework for Makers (check out the [Kickstarter page](http://tiny.cc/blynk-kick)). - [Blynk](https://github.com/blynkkk/blynk-library) - easy IoT framework for Makers (check out the [Kickstarter page](http://tiny.cc/blynk-kick)).
- [DallasTemperature](https://github.com/milesburton/Arduino-Temperature-Control-Library.git) - [DallasTemperature](https://github.com/milesburton/Arduino-Temperature-Control-Library.git)
- [DHT11](https://github.com/adafruit/DHT-sensor-library) - initialize DHT as follows: ```DHT dht(DHTPIN, DHTTYPE, 15);``` - [DHT11](https://github.com/adafruit/DHT-sensor-library) - Download latest v1.1.0 library and no changes are necessary. Older versions should initialize DHT as follows: ```DHT dht(DHTPIN, DHTTYPE, 15);```
- [NeoPixelBus](https://github.com/Makuna/NeoPixelBus) - Arduino NeoPixel library compatible with esp8266. - [NeoPixelBus](https://github.com/Makuna/NeoPixelBus) - Arduino NeoPixel library compatible with esp8266.
- [PubSubClient](https://github.com/Imroy/pubsubclient) MQTT library by @Imroy. - [PubSubClient](https://github.com/Imroy/pubsubclient) MQTT library by @Imroy.
- [RTC](https://github.com/Makuna/Rtc) - Arduino Library for Ds1307 & Ds3231 compatible with esp8266. - [RTC](https://github.com/Makuna/Rtc) - Arduino Library for Ds1307 & Ds3231 compatible with esp8266.

View File

@ -330,6 +330,54 @@ huzzah.menu.UploadSpeed.256000.upload.speed=256000
huzzah.menu.UploadSpeed.921600=921600 huzzah.menu.UploadSpeed.921600=921600
huzzah.menu.UploadSpeed.921600.upload.speed=921600 huzzah.menu.UploadSpeed.921600.upload.speed=921600
##############################################################
esp210.name=SweetPea ESP-210
esp210.upload.tool=esptool
esp210.upload.speed=115200
esp210.upload.resetmethod=ck
esp210.upload.maximum_size=1044464
esp210.upload.wait_for_upload_port=true
esp210.serial.disableDTR=true
esp210.serial.disableRTS=true
esp210.build.mcu=esp8266
esp210.build.f_cpu=80000000L
esp210.build.board=ESP8266_ESP210
esp210.build.core=esp8266
esp210.build.variant=generic
esp210.build.flash_mode=qio
esp210.build.flash_size=4M
esp210.build.flash_freq=40
esp210.build.flash_ld=eagle.flash.4m.ld
esp210.build.spiffs_start=0x100000
esp210.build.spiffs_end=0x3FB000
esp210.build.spiffs_pagesize=256
esp210.build.spiffs_blocksize=8192
esp210.menu.CpuFrequency.80=80 MHz
esp210.menu.CpuFrequency.80.build.f_cpu=80000000L
esp210.menu.CpuFrequency.160=160 MHz
esp210.menu.CpuFrequency.160.build.f_cpu=160000000L
esp210.menu.UploadSpeed.57600=57600
esp210.menu.UploadSpeed.57600.upload.speed=57600
esp210.menu.UploadSpeed.115200=115200
esp210.menu.UploadSpeed.115200.upload.speed=115200
esp210.menu.UploadSpeed.256000.windows=256000
esp210.menu.UploadSpeed.256000.upload.speed=256000
esp210.menu.UploadSpeed.230400.linux=230400
esp210.menu.UploadSpeed.230400.macosx=230400
esp210.menu.UploadSpeed.230400.macosx=230400
esp210.menu.UploadSpeed.230400.upload.speed=230400
esp210.menu.UploadSpeed.460800.linux=460800
esp210.menu.UploadSpeed.460800.macosx=460800
esp210.menu.UploadSpeed.460800.upload.speed=460800
esp210.menu.UploadSpeed.512000.windows=512000
esp210.menu.UploadSpeed.512000.upload.speed=512000
esp210.menu.UploadSpeed.921600=921600
esp210.menu.UploadSpeed.921600.upload.speed=921600
############################################################## ##############################################################
# wifio.name=Wifio # wifio.name=Wifio
# #

View File

@ -173,7 +173,7 @@ void ESP8266WiFiClass::softAP(const char* ssid)
} }
void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int channel) void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int channel, int ssid_hidden)
{ {
_useApMode = true; _useApMode = true;
if(_useClientMode) { if(_useClientMode) {
@ -199,7 +199,7 @@ void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int chan
strcpy(reinterpret_cast<char*>(conf.ssid), ssid); strcpy(reinterpret_cast<char*>(conf.ssid), ssid);
conf.channel = channel; conf.channel = channel;
conf.ssid_len = strlen(ssid); conf.ssid_len = strlen(ssid);
conf.ssid_hidden = 0; conf.ssid_hidden = ssid_hidden;
conf.max_connection = 4; conf.max_connection = 4;
conf.beacon_interval = 100; conf.beacon_interval = 100;

View File

@ -75,8 +75,9 @@ public:
* param ssid: Pointer to the SSID string. * param ssid: Pointer to the SSID string.
* param passphrase: Pointer to passphrase, 8 characters min. * param passphrase: Pointer to passphrase, 8 characters min.
* param channel: WiFi channel number, 1 - 13. * param channel: WiFi channel number, 1 - 13.
* param ssid_hidden: Network cloaking? 0 = broadcast SSID, 1 = hide SSID
*/ */
void softAP(const char* ssid, const char* passphrase, int channel = 1); void softAP(const char* ssid, const char* passphrase, int channel = 1, int ssid_hidden = 0);
/* Change Ip configuration settings disabling the dhcp client /* Change Ip configuration settings disabling the dhcp client
* *

View File

@ -1,3 +1,32 @@
esp_iot_sdk_1.1.2_15_06_25_p2 Release Note
-------------------------------------------
Here is a patch based on SDK_v1.1.2 solved problem of abnormal current during modem-sleep.
Please replace the lib in \esp_iot_sdk_v1.1.2\lib
Sorry for the inconvenience.
esp_iot_sdk_v1.1.2_15_06_24_p1.1 Release Note
-------------------------------------------
Here is a patch for AT firmware based on SDK_v1.1.2 resolved issue that AT user parameter area was located in wrong addressit may cause WiFi configuration goes wrong.
Please update to this new AT bin files and call "AT+RESTORE" to factory reset. If you call “AT+CIPUPDATE” to upgradeplease also call "AT+RESTORE" to factory reset once.
“AT_bin_v0.25_1024+KB_flash_can_upgrade.zip”
- normal AT binruns with boot.bincan FOTA upgradeneed to use 1024KB flash
“AT_bin_v0.25_for_512KB_flash_cannot_upgrade.zip”
- for old version module which flash size is 512KB
eagle.flash.bin downloads to flash 0x00000
eagle.irom0text.bin downloads to flash 0x40000
can not FOTA upgradeplease dont call “AT+CIPUPDATE”
"SDK_v1.1.2_AT_patch_01.zip"
- libs for users who need to compile their own AT firmwarereplace libs in \esp_iot_sdk_v1.1.2\lib
So sorry for the inconvenience.
esp_iot_sdk_v1.1.2_15_06_16_p1 Release Note esp_iot_sdk_v1.1.2_15_06_16_p1 Release Note
------------------------------------------- -------------------------------------------
Here is a patch based on SDK_v1.1.2 resolved issue that "wifi_station_scan" cause loss of wireless connectivity. Here is a patch based on SDK_v1.1.2 resolved issue that "wifi_station_scan" cause loss of wireless connectivity.

View File

@ -1 +1 @@
1.1.2_15_06_16_p1 1.1.2_15_06_25_p2