1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

1733 Commits

Author SHA1 Message Date
Markus Sattler
8b161ecf16 add http codes as enum t_http_codes 2015-12-09 12:47:23 +01:00
Ivan Grokhotkov
5cd42a0316 WiFiClientSecure: don't trash certificate and private key on stop() 2015-12-09 09:23:47 +03:00
Ivan Grokhotkov
8f5a6fdf69 Merge pull request #1148 from Rodmg/espino-support
added ESPino to supported boards
2015-12-08 23:41:42 +03:00
Markus
0a9767d594 Merge pull request #1173 from Links2004/master
add define RANDOM_REG32 + update libraries.md
2015-12-08 12:04:44 +01:00
Markus Sattler
10967816e2 Merge remote-tracking branch 'remotes/esp8266/master' 2015-12-08 11:41:01 +01:00
Markus
2c38159c95 Merge pull request #1172 from tzapu/patch-1
Update libraries.md
2015-12-08 11:40:51 +01:00
Markus Sattler
22af40af18 add note about Adafruit_ILI9341 2015-12-08 11:35:14 +01:00
Markus Sattler
44af3d5e89 Merge remote-tracking branch 'remotes/esp8266/master' 2015-12-08 11:33:25 +01:00
Markus Sattler
02e22b38cb add define RANDOM_REG32 ESP8266_DREG(0x20E44) 2015-12-08 11:33:15 +01:00
tzapu
a3c3c934bc Update libraries.md
Added link to WiFiManager
2015-12-08 08:49:40 +02:00
Rodrigo Méndez
5163391492 Merge branch 'master' into espino-support 2015-12-07 17:42:44 -06:00
Rodrigo Mendez
8847d7ab1a added ESPino to dox/boards.md and package_esp8266com_index.template.json. removed flash speed selection 2015-12-07 17:35:30 -06:00
Ivan Grokhotkov
93aaa8667d Merge pull request #1166 from alltheblinkythings/SerialStuff
Always arm the "TX FIFO Empty" interrupt after we write into _tx_buffer.
2015-12-07 22:10:41 +03:00
Ivan Grokhotkov
6d32c6743e Merge pull request #1170 from jensh/jens/patch-pgmspace-c
Make pgm_read_byte() and pgm_read_word() usable from c.
2015-12-07 22:09:14 +03:00
Jens Hauke
dd89de4dad Make pgm_read_byte() and pgm_read_word() usable from c files.
The two defines used reinterpret_cast<> which is only available when
compiling with c++. Now using plain old c casts instead.
2015-12-07 18:01:15 +01:00
Christopher Pascoe
d8417c2855 Remove a check in room() for (_begin == _end). It's covered by the (_end >= _begin) case. 2015-12-07 00:31:46 -08:00
Christopher Pascoe
7133a6c1f9 Ensure that we never write an out of bounds value (_bufend) to _begin or _end, even temporarily.
Testing:
  - Boot tested, ran basic serial I/O code

Notes:
  - Before this change, there are instruction like "s32i.n <reg>, <this>, <_begin>" in the
    disassembled output, followed by an overwrite if <reg> turns out to be _bufend.
    After this change, there is only one store instruction to <_begin> per function.
2015-12-07 00:23:46 -08:00
Christopher Pascoe
cc0a8ead55 Always arm the "TX FIFO Empty" interrupt after we write into _tx_buffer.
This avoids a race where the interrupt handler detects an empty _tx_buffer
just before we write data into it.

Note that commit d6f62943d4b511e7d5fe6147096c8979890416f5 works around
this race when data is continually added to _tx_buffer in the hung state.
We revert that change here as the race should no longer occur.

Testing performed:
 - set UART_CONF1.txfifo_empty_thrhd=0x70 (which exacerbates the issue)
 - generate a ~240 byte burst of data, sent in back-to-back Serial1.write(, 4)
   calls, optionally followed by a Serial1.flush()
Test results:
 - before this change, observe occasional unsent data and hang in flush()
   (if used).
 - after this change, data is sent as expected.
2015-12-06 21:03:05 -08:00
Ivan Grokhotkov
ee314f2cdc fix portInput(Output, Mode)Register definitions to return pointers (#1110) 2015-12-06 20:54:35 +03:00
Ivan Grokhotkov
c6c7d24750 Add __throw_logic_error (#1136) 2015-12-06 20:39:54 +03:00
Ivan Grokhotkov
3d1fbc60ab Replace chain of UDP pbufs with a single pbuf before sending (#1009)
Packets up to 1492 bytes may be sent this way.
Also reduced pbuf_unit_size to 128 bytes.
2015-12-06 20:22:54 +03:00
Ivan Grokhotkov
c4436d8d04 Merge pull request #1160 from martinayotte/master
replace delay() with a while loop in WiFiClient.ino
2015-12-06 19:52:41 +03:00
Martin Ayotte
e166e85f73 oupps ! I forgot to set the timout value 2015-12-06 09:47:00 -05:00
Martin Ayotte
6fa70bda01 replace delay with while loop in WiFiClient.ino 2015-12-06 09:42:51 -05:00
Markus Sattler
d8e3c766a3 ESP8266HTTPUpdate - improve error displaying 2015-12-06 11:07:25 +01:00
Markus Sattler
95d53c37c3 add httpUpdateSPIFFS.ino example 2015-12-05 20:47:58 +01:00
Markus Sattler
ecce35d240 allow SPIFFS 2015-12-05 20:33:08 +01:00
Markus
1368a82a82 Merge pull request #1154 from Links2004/master
fix #1151 + eclipse makefile example
2015-12-05 20:01:04 +01:00
Markus Sattler
d06b9105d5 fix C&P... 2015-12-05 17:22:28 +01:00
Markus Sattler
0173749ef2 Merge remote-tracking branch 'remotes/esp8266/master' 2015-12-05 17:19:05 +01:00
Markus Sattler
02366bb935 add example makefile.init file for eclipse 2015-12-05 17:17:59 +01:00
Markus Sattler
68a406274a add parameter name to h for better reading 2015-12-05 17:16:53 +01:00
Ivan Grokhotkov
f7bbea407e Fix failure when trying to open empty file (#1126) 2015-12-05 16:29:37 +03:00
Markus Sattler
ac0264767a #1151 SPI definition correction - SPILADDR 2015-12-05 13:04:24 +01:00
Markus
053de36223 Merge pull request #1144 from Links2004/master
add a simple TCP example
2015-12-05 11:41:34 +01:00
Rodrigo Mendez
d076012cc8 variant and maxium_size for ESPino board wasn't correct, fixed 2015-12-04 18:40:21 -06:00
Rodrigo Mendez
e3137a0b55 added ESPino to supported boards 2015-12-04 18:24:08 -06:00
Markus Sattler
cedce24bf3 rename to WiFiClientBasic 2015-12-04 19:07:51 +01:00
Markus Sattler
34571a0e9d typo 2015-12-04 18:20:40 +01:00
Markus Sattler
2ebc7c9dc1 Merge remote-tracking branch 'remotes/esp8266/master' 2015-12-04 18:18:57 +01:00
Markus Sattler
8cec66b23b add a simple TCP example 2015-12-04 18:18:23 +01:00
Ivan Grokhotkov
14b70e9328 Allow setting client side TLS key and certificate 2015-12-04 19:02:46 +03:00
Me No Dev
bd81ec9d5d Merge remote-tracking branch 'esp8266/master' 2015-12-03 18:48:48 +02:00
Ivan Grokhotkov
655437752b Update axTLS to 34ff442
Use hardware RNG
2015-12-03 09:09:47 +03:00
Ivan Grokhotkov
6620ec6e36 Set CPU frequency before running setup 2015-12-03 09:09:47 +03:00
Ivan Grokhotkov
7e51ea874c Merge pull request #1128 from gnulabis/master
add UTFT-ESP8266 to the list of compatible third-party libraries
2015-12-02 23:51:42 +03:00
Dimitris Lampridis
c12fc967f7 added UTFT-ESP8266 to the list of compatible third-party libraries 2015-12-02 16:12:41 +02:00
per1234
f2949c1ee1 Unique Built-In libraries library.properties name
Use unique name values in library.properties for the esp8266 libraries
that are also Arduino IDE Built-In libraries. This solves the issue of
SD and Servo libraries always appearing as Type: Updatable in the
Arduino IDE 1.6.6 Library Manager when an esp8266 board is selected.
2015-12-01 13:07:34 -08:00
Markus
9b13040182 Merge pull request #1125 from Links2004/master
improve docs
2015-12-01 18:17:17 +01:00
Markus Sattler
6a9f044f87 relative link 2015-12-01 17:26:45 +01:00