1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-25 06:22:11 +03:00
Commit Graph

5440 Commits

Author SHA1 Message Date
7ece3e436d wiring_digital: fix interrupts, initialize pins to INPUT on startup 2015-05-01 09:53:19 +08:00
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
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
83ed3d5d8f Importing my changes 2015-04-30 20:48:50 +03:00
e0ee5abb79 Merge pull request #3062 from mschlenker/master
Add section BUGS to manual page describing headless operation in Linux
2015-04-30 16:55:23 +02:00
35d31b6277 add section BUGS 2015-04-30 16:44:24 +02:00
f118dee688 Bridge: default baudrate is specified with BRIDGE_BAUDRATE. Fixes #2904 2015-04-30 16:32:32 +02:00
23ad2da560 add function to get flash size based of flash Chip id 2015-04-30 16:06:01 +02:00
a177dc65bf in Arduino.h make some errors by compiling in some cases moved to Esp.cpp 2015-04-30 15:19:36 +02:00
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
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
cdd2fed53d Minor code style changes 2015-04-30 18:54:16 +08:00
c209af0fc2 add back SmartConfig 2015-04-30 11:44:26 +02:00
e8d4353e97 update README.md 2015-04-30 11:42:50 +02:00
9758edec33 fix c&p fail 2015-04-30 11:34:44 +02:00
2d65814451 Added missing license header to tests 2015-04-30 11:26:15 +02:00
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
8cc844f539 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-30 09:58:36 +02:00
c9b5ddeebc Add flash chip size selection to the menu, show baud rates depending on the platform. 2015-04-30 13:10:13 +08:00
cf298fbe14 Update esptool to 0.4.3 2015-04-30 13:08:45 +08:00
80fbebc40b Merge pull request #142 from lemio/patch-1
Update README.md
2015-04-30 11:31:10 +08:00
b0dfb539c1 add ESP.getFlashChipId() 2015-04-29 22:33:15 +02:00
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
2acd06d7f4 Core/Lib manager confirmation dialogs should pop up onto that manager modal 2015-04-29 15:04:10 +02:00
7552636bd1 File.listFiles() can return null 2015-04-29 11:57:27 +02:00
3bb6104bc8 Removed stale static variable 2015-04-29 11:57:06 +02:00
2288f035b9 Removed left over println 2015-04-29 11:07:15 +02:00
74dea286a7 MacOSX: double click on a .ino file works again. Fixes #2888 2015-04-29 09:10:26 +02:00
69eb31a2cf Describe multicast APIs in readme, update keywords. 2015-04-29 07:04:39 +08:00
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
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
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
3665c874f3 UDP multicast APIs fix
fix #74, fix #7
2015-04-29 07:01:46 +08:00
f84f65c109 add _bv macro from avr
see #125
2015-04-29 07:01:34 +08:00
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
bb5543160f add new macro for force function to ram
move uart_interrupt_handler in ram
2015-04-29 07:01:19 +08:00
0e93798455 Bundled package and library index soon become obsolete. Download a fresh copy each time the IDE is built 2015-04-28 14:54:16 +02:00
6303f84949 Logging Verifying/Uploading when using CLI 2015-04-28 14:54:16 +02:00
8d840c5e8a Merge pull request #3042 from facchinm/test_PR3037
SD: allow multiple SD instances
2015-04-27 12:00:27 +02:00
1c25d2432f SD: allow multiple SD instances
The SDClass class makes a reference to "SD.card" instead of just "card". SD is a global instance of SDClass.
This prevents any other instance of SDClass from functioning correctly.
The fix also allows SDClass to be used with an SD card which is removed and replaced, whereas previously, using the global instance SD did not allow this due to the limitation of begin() which cannot be called more than once.
2015-04-27 11:53:02 +02:00
90026f3764 Disabling uncertified warning, leaving vids/pids 2015-04-27 10:55:16 +02:00
6a37b4461c Merge pull request #107 from Makuna/StrNAdditions
missing strn program space wrappers
2015-04-26 17:42:22 +08:00
eab9e873a6 Merge pull request #108 from Makuna/strnlen
strnlen implementation
2015-04-26 17:41:38 +08:00
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
6fe1cc1594 Merge pull request #116 from Toshik/patch-2
Fix Windows build
2015-04-26 07:04:49 +08:00
9cca8e8787 Merge pull request #117 from thomasfla/esp8266
HardwareSerial: add other configs than 8N1
2015-04-26 07:04:00 +08:00
e42ca8ed6c HardwareSerial: add other configs than 8N1 2015-04-26 00:20:39 +02:00
b158e3397a Delete jre-8u31.zip.sha
Not needed anymore
2015-04-26 00:05:54 +03:00
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
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