1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-11 09:43:08 +03:00
Commit Graph

1724 Commits

Author SHA1 Message Date
Markus Sattler
9e306d706c add Patch for station+softAP issue based on SDK_v1.0.1 from espressif
esp_iot_sdk_v1.0.1_15_05_04_p1
-------------------------------------------
Here is a patch for station+softAP issue that users may have, based on SDK_v1.0.1,
solved problem that connect to ESP8266 softAP may fail in station+softAP mode.

Sorry for the inconvenience.
2015-05-06 17:38:00 +02:00
Ivan Grokhotkov
4e387e4ffe Merge pull request #187 from biohazardxxx/esp8266
Mode missed
2015-05-06 15:38:03 +03:00
biohazardxxx
a20d32902a Mode missed 2015-05-06 14:28:05 +02:00
Ivan Grokhotkov
8dc2570c58 Merge pull request #181 from onkelfunny/esp8266
set correct flash size
2015-05-05 23:49:33 +03:00
onkelfunny
4feb11c839 remove unused flash size 2015-05-05 18:56:52 +02:00
onkelfunny
f4632d9426 remove unused flash size 2015-05-05 18:55:11 +02:00
onkelfunny
907546bf15 set correct flash size 2015-05-05 18:49:33 +02:00
Markus Sattler
d0600480cb add Winbond flash chip Ids 2015-05-05 18:41:38 +02:00
Ivan Grokhotkov
edaa914203 fix HelloServer sample
close #168
2015-05-05 13:57:35 +03:00
Ivan Grokhotkov
218202241e fix Wire::pins compatibility (#167) 2015-05-05 13:27:28 +03:00
Ivan Grokhotkov
9a466e8d7d small clean up of HardwareSerial 2015-05-05 13:27:28 +03:00
ficeto
236d967790 add OUTPUT_OPEN_DRAIN
disabling pulls on pinMode is not needed, since they are cleared 2
lines above.
2015-05-05 13:07:48 +03:00
Ivan Grokhotkov
0db3dcf31c Merge pull request #173 from onkelfunny/esp8266
add nodemcu board
2015-05-05 09:25:08 +03:00
Waldemar Zahn
3c9d606a52 add nodemcu board 2015-05-04 22:31:00 +02:00
Markus Sattler
a7364b515c add SPIClass::transfer16 (needed by some display libs) 2015-05-04 18:11:46 +02:00
Markus Sattler
434c15891d add macro cli() and sei() for more AVR compatibility 2015-05-04 18:10:51 +02:00
Ivan Grokhotkov
63610b3f09 revert Wire::pins, mark as deprecated 2015-05-04 11:08:07 +08:00
Ivan Grokhotkov
748d6a60ec Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266 2015-05-04 09:03:03 +08:00
ficeto
0687225031 fix UART clock divider
UART clock is constant
2015-05-03 20:56:58 +03:00
ficeto
d18dd0d7fd ACK is actually 0 2015-05-03 20:35:01 +03:00
Markus Sattler
8272e877f7 add EEPROM.getDataPtr()
fix all warnings in EEPROMClass
2015-05-03 18:15:54 +02:00
Markus Sattler
5d2cc7db7f increase irom0 from 0x3C000 to 0x6B000 (+192KB) space 2015-05-03 17:44:20 +02:00
ficeto
f4a34e1962 dumb me 2015-05-03 18:06:46 +03:00
ficeto
346ae20dd4 overflow at 160MHz 2015-05-03 17:53:24 +03:00
ficeto
2e3e98beec fix UART RX PullUps and TWI 2015-05-03 17:51:06 +03:00
ficeto
58c03c3472 Change UART register access methods 2015-05-03 16:44:19 +03:00
Markus Sattler
f1ae1ba267 replease digitalPinToPort, digitalPinToBitMask, portOutputRegister, portInputRegister, portModeRegister by macros 2015-05-02 15:54:45 +02:00
Markus Sattler
b475c01e1a undef __STRICT_ANSI__ to allow usage of functions like strcasecmp, strtok_r and so on 2015-05-02 13:34:35 +02:00
ficeto
24879ec182 Revert "Revert "disable debug on Serial.end() if debug on this interface.""
This reverts commit b2d4169734.
2015-05-01 16:15:58 +03:00
ficeto
b2d4169734 Revert "disable debug on Serial.end() if debug on this interface."
This reverts commit 28a868d6dd.
2015-05-01 16:09:46 +03:00
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
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