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

3219 Commits

Author SHA1 Message Date
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
Ivan Grokhotkov
727c61efe2 UDP multicast APIs fix
fix #74, fix #7
2015-04-29 07:01:46 +08:00
Markus Sattler
22f063b913 add _bv macro from avr
see #125
2015-04-29 07:01:34 +08:00
Markus Sattler
2472970933 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
2b3302c714 add new macro for force function to ram
move uart_interrupt_handler in ram
2015-04-29 07:01:19 +08:00
Ivan Grokhotkov
a8658c8f1c Merge pull request #107 from Makuna/StrNAdditions
missing strn program space wrappers
2015-04-26 17:42:22 +08:00
Ivan Grokhotkov
468dff5e73 Merge pull request #108 from Makuna/strnlen
strnlen implementation
2015-04-26 17:41:38 +08:00
Ivan Grokhotkov
5ee2a1e0d0 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
b9f2461cc3 Merge pull request #116 from Toshik/patch-2
Fix Windows build
2015-04-26 07:04:49 +08:00
Ivan Grokhotkov
646a94c4a3 Merge pull request #117 from thomasfla/esp8266
HardwareSerial: add other configs than 8N1
2015-04-26 07:04:00 +08:00
Thomas Flayols
be5f1f83c1 HardwareSerial: add other configs than 8N1 2015-04-26 00:20:39 +02:00
Ivan Grokhotkov
c855c53255 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
Markus Sattler
7f6a588773 include stdlib_noniso.h in Arduino.h see #110 2015-04-25 10:43:10 +02:00
Makuna
ca4c361a58 strnlen implementation
since there is no ets_strnlen, provide an implementation
2015-04-24 15:59:34 -07:00
Makuna
b2fa3d5b1f missing strn program space wrappers 2015-04-24 15:46:02 -07:00
Markus Sattler
1d6fc00fdb uart_interrupt_handler is now in ram 2015-04-24 21:15:41 +02:00
Ivan Grokhotkov
b791c000af Merge branch 'Links2004-esp8266' into esp8266 2015-04-23 21:47:41 +08:00
Markus Sattler
021ca1972b fix bug #98 2015-04-22 16:44:30 +02:00
Markus Sattler
69734ed239 add INPUT_PULLDOWN support 2015-04-21 19:46:23 +02:00
Markus Sattler
f033fe8e6e Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-21 19:25:23 +02:00
Markus Sattler
554233f4d3 add prototypes for ets_vsnprintf and ets_vprintf
fix some compiler warnings
2015-04-21 18:34:23 +02:00
Markus Sattler
41569d3307 add files to ignore
(use hardlink) to get git hardware in arduino dir
2015-04-21 17:34:59 +02:00
Ivan Grokhotkov
4cc06c2100 Add method to configure softAP IP address
fix #76
2015-04-21 20:52:02 +08:00
Ivan Grokhotkov
a5662ff0a9 Merge pull request #89 from gregslomin/esp8266
Fix for undefined reference to strtok_r
2015-04-21 19:46:55 +08:00
Greg Slomin
d6bb217a56 Fix for undefined reference to strtok_r 2015-04-20 01:10:00 -05:00
Markus Sattler
7ceff75e33 test for #86 2015-04-19 10:25:25 +02:00
Markus Sattler
6bcb8198b8 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
eeae4ffd4e Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-19 09:52:08 +02:00
Markus Sattler
8aa93b6bf6 add EspClass::getFreeHeap see #81 2015-04-19 09:50:58 +02:00
Ivan Grokhotkov
809049ff04 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
Ivan Grokhotkov
3ef9f9db54 Merge pull request #80 from boybundit/eeprom-get-put
Add get and put functions to EEPROM
2015-04-19 10:23:06 +08:00
Bundit J
5a4c4c3427 Use memcpy instead of loop 2015-04-18 22:48:04 +07:00
Ivan Grokhotkov
9645fd9cd4 Merge pull request #79 from icnagy/esp8266
Quote port name for esptool
2015-04-18 21:29:07 +08:00
Bundit J
2adda59b6d Add get and put functions to EEPROM
As available in http://www.arduino.cc/en/Reference/EEPROM
2015-04-18 16:08:36 +07:00
Bundit J
8ac5d70b70 Add get and put functions to EEPROM
As available in http://www.arduino.cc/en/Reference/EEPROM
2015-04-18 15:33:45 +07:00
Csaba Nagy
324bbb2965 Merge pull request #1 from icnagy/dev_tty_space
Update platform.txt
2015-04-17 21:52:24 +02:00
Csaba Nagy
4c945af1b4 Update platform.txt
Quoting the serial.port will enable esptool to work for dev/tty devices with spaces in their name. Like in OSX: `/dev/tty.wch ch341 USB=>RS232 fa130`. Without quote the esptool fails silently since it only parses the `/dev/tty.wch`.
2015-04-17 21:51:28 +02:00
Markus Sattler
b6ea1e45af add includes for <stddef.h> <stdarg.h> <stdio.h> to Arduino.h
add strtok
2015-04-17 12:19:58 +02:00
Markus Sattler
6cf87708c5 add void restart(void) and uint16_t getVCC(void) to Esp class 2015-04-17 11:05:02 +02:00
Markus Sattler
0bfd5cb396 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-14 22:09:50 +02:00
Ivan Grokhotkov
da88852693 Fix resource leaks in UDP library
Reference counts were not incremented after creation of UdpContext, so pbufs and pcbs were not freed.
2015-04-14 01:34:52 +08:00
Markus Sattler
4d3d818944 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-12 15:31:59 +02:00
Ivan Grokhotkov
6b593a7978 Add ESP.reset() method 2015-04-12 02:07:56 +08:00
Ivan Grokhotkov
b026daf43b Fix UdpClient semantics, add NTPClient example
UdpClient used to create a new socket for each begin/beginPacket call. This made bidirectional communication impossible.
Fix #64, fix #53.
2015-04-12 01:09:45 +08:00
Markus Sattler
56641b462f Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-11 10:16:19 +02:00
Markus Sattler
273ee1a3b7 fix possible null ptrs in HardwareSerial.cpp 2015-04-11 10:14:38 +02:00
Ivan Grokhotkov
89fe3daa85 Update readme
[ci skip]
2015-04-11 11:07:01 +08:00
Ivan Grokhotkov
1866ef0c98 Move some functions to .irom0.text 2015-04-11 10:59:36 +08:00
Ivan Grokhotkov
5c94d333c5 Add watchdog and deep sleep APIs
requested in #34
2015-04-11 10:58:57 +08:00