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

267 Commits

Author SHA1 Message Date
ficeto
38b2bb7037 overflow at 160MHz 2015-05-03 17:53:24 +03:00
ficeto
3d0dafcbc0 fix UART RX PullUps and TWI 2015-05-03 17:51:06 +03:00
ficeto
fcbd7dbed0 Change UART register access methods 2015-05-03 16:44:19 +03:00
ficeto
c3b559b6e0 Merge pull request #8 from esp8266/esp8266
pull todays OneWire fix
2015-05-02 23:57:26 +03:00
Ivan Grokhotkov
2ea70fc49a Merge pull request #160 from Links2004/esp8266
fix bug #159
2015-05-02 22:10:59 +08:00
Markus Sattler
8bc63d2bf5 fix bug #159 (broken Onewire)
thx to support from ficeto
2015-05-02 15:57:31 +02:00
Markus Sattler
851f07cdf5 replease digitalPinToPort, digitalPinToBitMask, portOutputRegister, portInputRegister, portModeRegister by macros 2015-05-02 15:54:45 +02:00
Markus Sattler
7e6ee374a8 undef __STRICT_ANSI__ to allow usage of functions like strcasecmp, strtok_r and so on 2015-05-02 13:34:35 +02:00
ficeto
f437db35eb Merge pull request #7 from esp8266/esp8266
Merge pull request #155 from ficeto/esp8266
2015-05-02 07:47:33 +03:00
Ivan Grokhotkov
6504546ffe Merge pull request #155 from ficeto/esp8266 2015-05-02 05:54:06 +08:00
ficeto
66ded562f3 Revert "Revert "disable debug on Serial.end() if debug on this interface.""
This reverts commit b2d41697340ca11273c9a66b13a6c1f0d1d9bcc2.
2015-05-01 16:15:58 +03:00
ficeto
bbba691cac Revert "disable debug on Serial.end() if debug on this interface."
This reverts commit 28a868d6dd5e6e92fac5998f53dcd2256e9292f7.
2015-05-01 16:09:46 +03:00
ficeto
bc3d847c4c Merge pull request #5 from Links2004/esp8266
merging some changes
2015-05-01 16:06:18 +03:00
Markus Sattler
a250492c20 disable debug on Serial.end() if debug on this interface. 2015-05-01 14:58:48 +02:00
ficeto
c94128c02d disable UART before making all pins INPUTs 2015-05-01 15:52:30 +03:00
Markus Sattler
d4e6561b52 add back pull-down support 2015-05-01 14:46:08 +02:00
Markus Sattler
0a712e78c7 fix 160Mhz mode
add missing 0
16000000L != 160000000L
2015-05-01 14:11:09 +02:00
Markus Sattler
dd844fc0f3 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
344eb6e8db 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
9e4594dc3e Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-05-01 13:57:13 +02:00
ficeto
3a7846a574 missed led and fixed output to make more sense 2015-05-01 13:00:17 +03:00
ficeto
d6ae950c26 Add led to WebServer example
This reverts commit 43be35c4de9618c21d04fe1d5056143b9b55ffd3.
2015-05-01 12:32:37 +03:00
ficeto
517b234e2a Merge pull request #1 from esp8266/esp8266
pull changes from master
2015-05-01 12:28:56 +03:00
ficeto
29a8c57ff5 Revert "fixed typos, brought back LED to blink"
This reverts commit 6014297bf2e6e9eff1c4a695cf37b8723b8487cc.
2015-05-01 12:28:20 +03:00
ficeto
6f4ba91698 Revert "fix typo preventing interrupts and leading to exception"
This reverts commit 43be35c4de9618c21d04fe1d5056143b9b55ffd3.
2015-05-01 12:27:30 +03:00
ficeto
09a0ff8750 fix typo preventing interrupts and leading to exception 2015-05-01 12:14:07 +03:00
ficeto
978dbebd70 fixed typos, brought back LED to blink 2015-05-01 11:51:06 +03:00
Ivan Grokhotkov
435f59f771 ESP8266WebServer code review, fix indentation, add keywords 2015-05-01 11:17:45 +08:00
Ivan Grokhotkov
9fd686b853 wiring_digital: fix interrupts, initialize pins to INPUT on startup 2015-05-01 09:53:19 +08:00
ficeto
dbbd047980 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
81af3a061e 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
fbec557ddb Importing my changes 2015-04-30 20:48:50 +03:00
Markus Sattler
1d2d8f8dd2 add function to get flash size based of flash Chip id 2015-04-30 16:06:01 +02:00
Markus Sattler
55b2d88d07 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
fab5104cff 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
cf9da93b61 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
a4536d5935 Minor code style changes 2015-04-30 18:54:16 +08:00
Markus Sattler
483533ac4c add back SmartConfig 2015-04-30 11:44:26 +02:00
Markus Sattler
b5679b10ef update README.md 2015-04-30 11:42:50 +02:00
Markus Sattler
3d25914302 fix c&p fail 2015-04-30 11:34:44 +02:00
Markus Sattler
724baf7910 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
b4610462d1 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-30 09:58:36 +02:00
Ivan Grokhotkov
21629fb723 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
efce7f7b3b Merge pull request #142 from lemio/patch-1
Update README.md
2015-04-30 11:31:10 +08:00
Markus Sattler
8cb330eadf add ESP.getFlashChipId() 2015-04-29 22:33:15 +02:00
Geert Roumen
6812a65e03 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
70ade65582 Describe multicast APIs in readme, update keywords. 2015-04-29 07:04:39 +08:00
Bob van der Linden
021b8b61e7 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
bd8e118aa9 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
5354464a01 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