1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-05 13:16:13 +03:00
Commit Graph

4598 Commits

Author SHA1 Message Date
Markus Sattler
9758edec33 fix c&p fail 2015-04-30 11:34:44 +02:00
Markus Sattler
d2ca7d0854 add functions to read out the flash config
Serial.print(F("Flash Chip Size: "));
Serial.println(ESP.getFlashChipSize());

Serial.print(F("Flash Chip Speed: "));
Serial.println(ESP.getFlashChipSpeed());

Serial.print(F("Flash Chip Mode: 0x"));
Serial.println(ESP.getFlashChipMode(), HEX);
2015-04-30 10:42:17 +02:00
Markus Sattler
8cc844f539 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-30 09:58:36 +02:00
Ivan Grokhotkov
c9b5ddeebc Add flash chip size selection to the menu, show baud rates depending on the platform. 2015-04-30 13:10:13 +08:00
Ivan Grokhotkov
cf298fbe14 Update esptool to 0.4.3 2015-04-30 13:08:45 +08:00
Ivan Grokhotkov
80fbebc40b Merge pull request #142 from lemio/patch-1
Update README.md
2015-04-30 11:31:10 +08:00
Markus Sattler
b0dfb539c1 add ESP.getFlashChipId() 2015-04-29 22:33:15 +02:00
Geert Roumen
bfe14d1f83 Update README.md
Added the 8 characters limit, and changed the paraphrase in password (because the libraries use password as term)
2015-04-29 16:56:08 +02:00
Ivan Grokhotkov
69eb31a2cf Describe multicast APIs in readme, update keywords. 2015-04-29 07:04:39 +08:00
Bob van der Linden
1e0bfa7439 ESP8266WiFi: made connected() return true if data is available
WiFiClient::connected() should return true if the connection is disconnected, but there is still data available. This is specified in the Arduino docs: http://www.arduino.cc/en/Reference/WiFiClientConnected
2015-04-29 07:02:19 +08:00
linagee
75b6e1cf29 Ability to wake from .deepSleep
This was not immediately apparent to me. I don't think it would be apparent to anyone else just playing around with ESP8266/Arduino either. GPIO16 and RST (REST) need to be tied together or you can "never wake from .deepSleep"

It must be GPIO16 and it must be RST, no other GPIO pin will wake it from deepSleep.
2015-04-29 07:02:03 +08:00
Ivan Grokhotkov
d2f9cced7a Add destinationIP method to WiFiUDP
Might be useful to distinguish between normal and multicast packets arriving at the same port (#105)
2015-04-29 07:01:54 +08:00
Ivan Grokhotkov
3665c874f3 UDP multicast APIs fix
fix #74, fix #7
2015-04-29 07:01:46 +08:00
Markus Sattler
f84f65c109 add _bv macro from avr
see #125
2015-04-29 07:01:34 +08:00
Markus Sattler
34e49f8b72 fix some warnings
warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
warning: defined but not used [-Wunused-variable]
warning: declared 'static' but never defined [-Wunused-function]
warning: suggest parentheses around '&&' within '||' [-Wparentheses}
2015-04-29 07:01:28 +08:00
Markus Sattler
bb5543160f add new macro for force function to ram
move uart_interrupt_handler in ram
2015-04-29 07:01:19 +08:00
Ivan Grokhotkov
6a37b4461c Merge pull request #107 from Makuna/StrNAdditions
missing strn program space wrappers
2015-04-26 17:42:22 +08:00
Ivan Grokhotkov
eab9e873a6 Merge pull request #108 from Makuna/strnlen
strnlen implementation
2015-04-26 17:41:38 +08:00
Ivan Grokhotkov
f804afe66f Merge pull request #114 from Chris--A/patch-2
Add boot loader compatible speed of 74880 to serial
2015-04-26 12:44:26 +08:00
Ivan Grokhotkov
6fe1cc1594 Merge pull request #116 from Toshik/patch-2
Fix Windows build
2015-04-26 07:04:49 +08:00
Ivan Grokhotkov
9cca8e8787 Merge pull request #117 from thomasfla/esp8266
HardwareSerial: add other configs than 8N1
2015-04-26 07:04:00 +08:00
Thomas Flayols
e42ca8ed6c HardwareSerial: add other configs than 8N1 2015-04-26 00:20:39 +02:00
Toshik
b158e3397a Delete jre-8u31.zip.sha
Not needed anymore
2015-04-26 00:05:54 +03:00
Toshik
05c08a78f5 Fix Windows build
Fix Windows build.
According to official Arduino build process now it is required to install JDK and point JAVA_HOME to it's location
2015-04-25 23:58:20 +03:00
Ivan Grokhotkov
eb2bbfa8f6 Merge pull request #113 from Links2004/esp8266
update the SDK to 1.0.1_15_04_24, and some more
2015-04-25 17:43:16 +08:00
Christopher Andrews
348d03d242 Add boot loader compatible speed of 74880 to serial. 2015-04-25 19:16:03 +10:00
Markus Sattler
951ab8e482 update SDK to esp_iot_sdk_v1.0.1_15_04_24 2015-04-25 10:52:19 +02:00
Markus Sattler
6a7d94a2df include stdlib_noniso.h in Arduino.h see #110 2015-04-25 10:43:10 +02:00
Makuna
d477c5fdc7 strnlen implementation
since there is no ets_strnlen, provide an implementation
2015-04-24 15:59:34 -07:00
Makuna
64a2f1e197 missing strn program space wrappers 2015-04-24 15:46:02 -07:00
Ivan Grokhotkov
86bf0104fd Merge pull request #106 from Links2004/esp8266
move libm to flash (.irom0.text)
2015-04-25 06:15:35 +08:00
Markus Sattler
00318e56de uart_interrupt_handler is now in ram 2015-04-24 21:15:41 +02:00
Markus Sattler
abdbdb1a5c move libm to flash (.irom0.text)
saves 3544 Byte in ram
see #104
2015-04-24 21:07:16 +02:00
Ivan Grokhotkov
ad74beec4d Merge branch 'Links2004-esp8266' into esp8266 2015-04-23 21:47:41 +08:00
Ivan Grokhotkov
c079ee1cf2 Revert c_types.h
bool, true, and false are defined in stdbool.h
2015-04-23 21:45:34 +08:00
Markus Sattler
db86766b36 fix bug #98 2015-04-22 16:44:30 +02:00
Markus Sattler
884b600db6 add INPUT_PULLDOWN support 2015-04-21 19:46:23 +02:00
Markus Sattler
19fccb61ba Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-21 19:25:23 +02:00
Markus Sattler
129175c1bc add prototypes for ets_vsnprintf and ets_vprintf
fix some compiler warnings
2015-04-21 18:34:23 +02:00
Markus Sattler
af6c4008df update SDK to 1.0.1_b2_15_04_10 + SSL Patch 2015-04-21 17:55:47 +02:00
Markus Sattler
8b311b6bdd update SDK to 1.0.1_b1_15_04_02 2015-04-21 17:47:55 +02:00
Markus Sattler
b2ee187e93 add files to ignore
(use hardlink) to get git hardware in arduino dir
2015-04-21 17:34:59 +02:00
Ivan Grokhotkov
307ea87357 Add method to configure softAP IP address
fix #76
2015-04-21 20:52:02 +08:00
Ivan Grokhotkov
2edc5227b4 Merge pull request #89 from gregslomin/esp8266
Fix for undefined reference to strtok_r
2015-04-21 19:46:55 +08:00
Greg Slomin
208a068665 Fix for undefined reference to strtok_r 2015-04-20 01:10:00 -05:00
Markus Sattler
1dd2897097 test for #86 2015-04-19 10:25:25 +02:00
Markus Sattler
1590beb907 add to ESP class:
getChipId
getSDKversion
getBootVersion
getBootMode
getCPUfreqMHz

add some defines for AVR like WDT control
2015-04-19 10:20:33 +02:00
Markus Sattler
4c53c81e83 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-19 09:52:08 +02:00
Markus Sattler
c3797ebc50 add EspClass::getFreeHeap see #81 2015-04-19 09:50:58 +02:00
Ivan Grokhotkov
ec4f53e705 Merge pull request #77 from Links2004/esp8266
Add Esp.restart and Esp.getVCC, add standard includes to Arduino.h
2015-04-19 10:23:59 +08:00