1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-07 00:04:36 +03:00
Commit Graph

5447 Commits

Author SHA1 Message Date
Cristian Maglie
6a22efef7c Merge pull request #3011 from Lauszus/warnings
Fixed some warnings
2015-04-21 08:54:41 +02: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
Ivan Grokhotkov
23938bb671 Merge pull request #79 from icnagy/esp8266
Quote port name for esptool
2015-04-18 21:29:07 +08: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
55fb030a8c Merge pull request #1 from icnagy/dev_tty_space
Update platform.txt
2015-04-17 21:52:24 +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
Federico Fissore
d201069172 Merge pull request #2980 from ffissore/delete_on_exit
Delete temporary files on exit
2015-04-15 17:15:21 +02:00
Federico Fissore
dabd6e4903 Tests weren't deleting temporary files: fixed 2015-04-15 11:00:23 +02:00
Federico Fissore
96c4576962 Added --preserve-temp-files command line option 2015-04-15 11:00:01 +02:00
Federico Fissore
e7dc30dae4 Update revisions.txt 2015-04-15 10:21:37 +02:00
Federico Fissore
3465fcf97b File.deleteOnExit is not recursive. Replaced by DeleteFilesOnShutdown shutdown hook. Fixes #2971 2015-04-15 10:21:37 +02:00
Martino Facchin
d72bc63d6e Merge pull request #2974 from facchinm/test_2659_2
SD: remove any reference to pinMode(10, OUTPUT) in the examples
2015-04-15 08:57:32 +01:00
Martino Facchin
d3a6c37980 increase version number 2015-04-15 09:55:37 +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
cbd6812e98 Merge branch 'master' of https://github.com/jipp/Arduino into jipp-master 2015-04-14 10:12:11 +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
Martino Facchin
a57d390499 SD: remove any reference to pinMode(10, OUTPUT) in the examples
correct SS pin setup is already handled by SPI subsystem.
this should prevent future issues like #2868

current implementation assures that:
* pin10 is OUTPUT HIGH if SPI.begin() is called and the pin was unconfigured
* pin10 state is not modified if pinMode(10, OUTPUT) is called before SPI.begin()
* pin10 is INPUT HI-Z if nor pinMode(10, OUTPUT) nor SPI.begin() are called
2015-04-13 18:08:31 +02:00
Federico Fissore
25aeb68fd6 Windows: build_pull_request needed to be upgraded as well 2015-04-13 17:43:41 +02:00
Federico Fissore
f7fe11c825 Reviewed warnings key names and dropdown in Preferences 2015-04-13 17:18:23 +02:00
Federico Fissore
890c2ada1c Update revisions.txt 2015-04-13 16:32:47 +02:00
Federico Fissore
34d2f08118 Windows: JRE is chosen at build time via WINDOWS_BUNDLED_JVM property 2015-04-13 16:28:26 +02:00
jipp
b5cc55ec3e Update Tone.cpp
Tone.cpp stops compile when TCCR0A/TCCR0B defined and WGM01 not defined #2923
2015-04-13 16:18:18 +02:00
Federico Fissore
818dc19553 Update revisions.txt 2015-04-13 15:36:34 +02:00
Federico Fissore
eacddd6120 Block discovery threads until packages is not null, otherwise boards discovered during startup will miss model name 2015-04-13 15:36:17 +02:00
Federico Fissore
350adb99cb Also SerialDiscovery was affected by bug found at 40535dfc55. Fixes #2892 2015-04-13 13:38:55 +02:00
Federico Fissore
40535dfc55 NetworkDiscovery was silently failing because packages werenìt ready yet. Fixes #2837 2015-04-13 13:29:05 +02:00
Federico Fissore
b42c6667e1 Better preference for setting warnings level. See 61592d78fa (commitcomment-10668365) 2015-04-13 12:22:37 +02:00
Federico Fissore
c740f251f4 SAM boards stop compiling due to way of handling params with spaces on different OSs. Fixed 2015-04-13 12:05:00 +02:00
Markus Sattler
0c30b21a3e Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-12 15:31:59 +02:00
Ivan Grokhotkov
7b70acf337 Add ESP.reset() method 2015-04-12 02:07:56 +08:00
Ivan Grokhotkov
00247bb294 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
5533d1445f Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-11 10:16:19 +02:00
Markus Sattler
f94574142d fix possible null ptrs in HardwareSerial.cpp 2015-04-11 10:14:38 +02:00
Ivan Grokhotkov
5ba3a5951f Update readme
[ci skip]
2015-04-11 11:07:01 +08:00