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

2151 Commits

Author SHA1 Message Date
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
Federico Fissore
90026f3764 Disabling uncertified warning, leaving vids/pids 2015-04-27 10:55:16 +02: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
Thomas Flayols
e42ca8ed6c HardwareSerial: add other configs than 8N1 2015-04-26 00:20:39 +02:00
Markus Sattler
951ab8e482 update SDK to esp_iot_sdk_v1.0.1_15_04_24 2015-04-25 10:52:19 +02:00
Markus Sattler
6a7d94a2df include stdlib_noniso.h in Arduino.h see #110 2015-04-25 10:43:10 +02:00
Makuna
d477c5fdc7 strnlen implementation
since there is no ets_strnlen, provide an implementation
2015-04-24 15:59:34 -07:00
Makuna
64a2f1e197 missing strn program space wrappers 2015-04-24 15:46:02 -07:00
Markus Sattler
00318e56de uart_interrupt_handler is now in ram 2015-04-24 21:15:41 +02:00
Markus Sattler
abdbdb1a5c move libm to flash (.irom0.text)
saves 3544 Byte in ram
see #104
2015-04-24 21:07:16 +02:00
Federico Fissore
d805fb4e1f Renamed compiler.warning_flags pref to compiler.warning_level
Provided a default value for compiler.warning_flags
Releasing avr core 1.6.5
2015-04-24 09:27:28 +02:00
Ivan Grokhotkov
c079ee1cf2 Revert c_types.h
bool, true, and false are defined in stdbool.h
2015-04-23 21:45:34 +08:00
Federico Fissore
2f31b8a80c AVR: upgrading avr core version 2015-04-23 11:10:17 +02:00
Markus Sattler
db86766b36 fix bug #98 2015-04-22 16:44:30 +02:00
Markus Sattler
884b600db6 add INPUT_PULLDOWN support 2015-04-21 19:46:23 +02:00
Markus Sattler
19fccb61ba Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-21 19:25:23 +02:00
Markus Sattler
129175c1bc add prototypes for ets_vsnprintf and ets_vprintf
fix some compiler warnings
2015-04-21 18:34:23 +02:00
Cristian Maglie
c944a4c84d Updated Stream.cpp in SAM core to the latest version 2015-04-21 18:11:05 +02:00
Cristian Maglie
c96c917dd0 Fixed indentation in Stream.cpp, no code change 2015-04-21 18:10:32 +02:00
Cristian Maglie
35fc66c23d Fixed wrong bracket placement (see #3011) 2015-04-21 18:07:42 +02:00
Markus Sattler
af6c4008df update SDK to 1.0.1_b2_15_04_10 + SSL Patch 2015-04-21 17:55:47 +02:00
Markus Sattler
8b311b6bdd update SDK to 1.0.1_b1_15_04_02 2015-04-21 17:47:55 +02:00
Ivan Grokhotkov
307ea87357 Add method to configure softAP IP address
fix #76
2015-04-21 20:52:02 +08:00
Kristian Sloth Lauszus
91489d7ba8 Fixed: warning: comparison between signed and unsigned integer expressions 2015-04-21 00:08:11 +02:00
Kristian Sloth Lauszus
f3e7a3909d Fixed: warning: suggest explicit braces to avoid ambiguous 'else' 2015-04-21 00:08:02 +02:00
Greg Slomin
208a068665 Fix for undefined reference to strtok_r 2015-04-20 01:10:00 -05:00
Markus Sattler
1dd2897097 test for #86 2015-04-19 10:25:25 +02:00
Markus Sattler
1590beb907 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
4c53c81e83 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-19 09:52:08 +02:00
Markus Sattler
c3797ebc50 add EspClass::getFreeHeap see #81 2015-04-19 09:50:58 +02:00
Ivan Grokhotkov
ec4f53e705 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
1a233d6ef9 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.
33f735c15d Use memcpy instead of loop 2015-04-18 22:48:04 +07:00
Bundit J.
7795695c2e 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.
69158c293c 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
Federico Fissore
38d5e916ca Merge pull request #2973 from ffissore/warnings
Reviewed warnings key names and dropdown in Preferences
2015-04-17 23:55:54 +02:00
Csaba Nagy
5e864f1d05 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
55b60674dd add includes for <stddef.h> <stdarg.h> <stdio.h> to Arduino.h
add strtok
2015-04-17 12:19:58 +02:00
Markus Sattler
50a920bf98 add void restart(void) and uint16_t getVCC(void) to Esp class 2015-04-17 11:05:02 +02:00
Markus Sattler
6e223ce67d Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-14 22:09:50 +02:00
Martino Facchin
b41e4a3d7d Merge branch 'jipp-master' 2015-04-14 10:13:58 +02:00
Martino Facchin
3bbdf495f2 Merge pull request #2961 from jan-r/issue292-fix
Tone: fix for ATmega8
2015-04-14 08:36:12 +01:00
Jan
df577bf244 Fix for issue #292
Replaced direct register manipulation with calls to bitWrite(). Fixed TIMSK5 usage on Leonardo (as well as some other preprocessor statements).
2015-04-13 20:36:28 +02:00
Ivan Grokhotkov
ed76e56468 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
Federico Fissore
f7fe11c825 Reviewed warnings key names and dropdown in Preferences 2015-04-13 17:18:23 +02:00