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

4577 Commits

Author SHA1 Message Date
ficeto
7ae56fe04c Merge pull request #5 from Links2004/esp8266
merging some changes
2015-05-01 16:06:18 +03:00
Markus Sattler
28a868d6dd disable debug on Serial.end() if debug on this interface. 2015-05-01 14:58:48 +02:00
ficeto
9ec5d20b67 disable UART before making all pins INPUTs 2015-05-01 15:52:30 +03:00
Markus Sattler
0b14e44cfd add back pull-down support 2015-05-01 14:46:08 +02:00
Markus Sattler
209b74256f fix 160Mhz mode
add missing 0
16000000L != 160000000L
2015-05-01 14:11:09 +02:00
Markus Sattler
b72e083766 remove libg
libg is debugging version of libc,
no sense to link both at the same time!
2015-05-01 14:08:01 +02:00
Markus Sattler
37c47e25bf move digitalWrite and digitalRead to ram
if in flash it can produce uncalculated lag.

fix warning
2015-05-01 14:04:56 +02:00
Markus Sattler
48288e3d1a Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-05-01 13:57:13 +02:00
ficeto
b4c937788d missed led and fixed output to make more sense 2015-05-01 13:00:17 +03:00
ficeto
17131e133c Add led to WebServer example
This reverts commit 43be35c4de.
2015-05-01 12:32:37 +03:00
ficeto
6157495c5a Merge pull request #1 from esp8266/esp8266
pull changes from master
2015-05-01 12:28:56 +03:00
ficeto
1da4b20a61 Revert "fixed typos, brought back LED to blink"
This reverts commit 6014297bf2.
2015-05-01 12:28:20 +03:00
ficeto
54bff7cc63 Revert "fix typo preventing interrupts and leading to exception"
This reverts commit 43be35c4de.
2015-05-01 12:27:30 +03:00
ficeto
43be35c4de fix typo preventing interrupts and leading to exception 2015-05-01 12:14:07 +03:00
ficeto
6014297bf2 fixed typos, brought back LED to blink 2015-05-01 11:51:06 +03:00
Ivan Grokhotkov
f7209e31b4 Merge pull request #153 from tsrman/patch-1
Update build.xml
2015-05-01 13:18:26 +08:00
tsrman
f0bc116ebb Update build.xml
fix launch4j download url
2015-05-01 11:49:57 +07:00
Ivan Grokhotkov
2ccfb32a5a ESP8266WebServer code review, fix indentation, add keywords 2015-05-01 11:17:45 +08:00
Ivan Grokhotkov
7ece3e436d wiring_digital: fix interrupts, initialize pins to INPUT on startup 2015-05-01 09:53:19 +08:00
ficeto
5a9d4e676e Updated HelloServer with mDNS and NotFound catcher with custom page
the not found handler should be used in conjunction with other means of
getting data, like SD card
2015-05-01 02:51:59 +03:00
ficeto
b48158ab07 adding extra finctionaity the the web server
void onNotFound(bool(void)) handler routes and errors not in the
defined handlers
int args() returns nubmer of currentarguments
String arg(int i) returns the "i" argument value
String argName(int i) returns the "i" argument name(key)
bool hasArg(const char * name) looks up if an argument exist by
seraching for it's key
2015-05-01 02:43:51 +03:00
ficeto
83ed3d5d8f Importing my changes 2015-04-30 20:48:50 +03:00
Markus Sattler
23ad2da560 add function to get flash size based of flash Chip id 2015-04-30 16:06:01 +02:00
Markus Sattler
a177dc65bf in Arduino.h make some errors by compiling in some cases moved to Esp.cpp 2015-04-30 15:19:36 +02:00
Markus Sattler
d36d36789b use User-defined literals for kHz, MHz, GHz, kBit, MBit, GBit, kB, MB and GB
see #145
2015-04-30 15:04:10 +02:00
Ivan Grokhotkov
7e40b9f11e Remove some definitions from global namespace
Names like kB, MB and kHz are likely to collide with variable names in user sketches.
Nowadays this should be implemented using c++14 user-defined literals (http://en.cppreference.com/w/cpp/language/user_literal)
2015-04-30 19:06:11 +08:00
Ivan Grokhotkov
cdd2fed53d Minor code style changes 2015-04-30 18:54:16 +08:00
Markus Sattler
c209af0fc2 add back SmartConfig 2015-04-30 11:44:26 +02:00
Markus Sattler
e8d4353e97 update README.md 2015-04-30 11:42:50 +02:00
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