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

20 Commits

Author SHA1 Message Date
Me No Dev
f8a8a2a359 Implement Serial RX Buffer (#2239)
In connection with:
https://github.com/esp8266/Arduino/issues/2237
https://github.com/esp8266/Arduino/issues/2037
https://github.com/esp8266/Arduino/issues/1683
2016-07-08 10:11:14 +08:00
Charles
44d27228c5 Added Serial.baudRate() to get current baud rate (#2079)
* Changed WifInfo settings and WeMos board name

* Added board name to have in sketch and MDNS/OTA

* board naming convention

https://github.com/esp8266/Arduino/pull/2054

* Added Serial.baudRate() to get current baud rate

* Added more description

- Added note about Software Serial Implementation
- Indicate this will works on ESP8266 boards only
2016-06-15 18:35:33 +08:00
Ivan Grokhotkov
16c0f3f1d5 Implement HardwareSerial::peek 2016-01-26 22:58:00 +03:00
Ivan Grokhotkov
7960b63357 Move UART HAL into separate file, clean up code 2016-01-26 22:57:59 +03:00
Me No Dev
e255f25cfd Bufferless and Interruptless HardwareSerial
Let's use the onboard buffers :)
2016-01-26 22:57:59 +03:00
Kaloyan Kovachev
d68b9717b5 Use explicit TX pin number and add pins setting method 2016-01-14 17:55:57 +02:00
Kaloyan Kovachev
e97bc80cee Allow setting alternate TX for UART 0, so GPIO1 is available as SPI_CS1 2016-01-14 14:18:52 +02:00
Christopher Pascoe
bc9493e690 Remove tracking of whether write() was called.
Tracking _written was required on AVR devices to work around a hardware
limitation when implementing flush().  The ESP8266 doesn't have the same
issue, so we can remove the tracking and make write() more lightweight.

The cost is a minor increase in work done in flush() when write() was not
previously called, but this should be much rarer than individual character
writes.
2015-12-29 12:46:25 -05:00
John Doe
ca8ebdbb97 Enable Serial RX/TX Only mode (needed by I2S) 2015-06-20 23:26:26 +03:00
Ivan Grokhotkov
34b09f7e23 small clean up of HardwareSerial 2015-05-05 13:27:28 +03:00
Thomas Flayols
be5f1f83c1 HardwareSerial: add other configs than 8N1 2015-04-26 00:20:39 +02:00
Markus Sattler
f165a0afcd use Eclipse auto Format to get rip auf the tab, space and code style inconsistency 2015-04-06 19:33:50 +02:00
Markus Sattler
1ee7ecdaa2 rewrite HardwareSerial code for UART0 + UART1 support in ESP8266 2015-04-01 22:47:13 +02:00
Ivan Grokhotkov
5c362798f9 Add method to use GPIO13 and GPIO15 as UART RX and TX 2015-01-09 02:33:42 +03:00
Ivan Grokhotkov
4cf6737823 More license headers 2014-12-19 01:43:18 +03:00
Ivan Grokhotkov
43b9dd9edf Clean up unused stuff 2014-12-19 01:39:27 +03:00
Ivan Grokhotkov
2a77249147 Implement tx and rx buffers and interrupts for HardwareSerial 2014-12-18 18:49:14 +03:00
Ivan Grokhotkov
39e087a19e Fix initialisation, fix HardwareSerial, add esptool.py flashing 2014-11-25 09:58:14 +03:00
Ivan Grokhotkov
15b434f5e2 Fix build errors 2014-11-21 12:15:50 +03:00
Ivan Grokhotkov
04fe8e8b58 Basic support for esp8266 platform
This includes empty stubs for most core Arduino functions.
Need to actually implement all those digital reads writes whatever.
Need to prebuild toolchains (xtensa-elf-lx106) for 3 platforms and put them on some download server.
Need to do the same with esptool.
Need to fix 0x40000 binary generation and add correct upload commands.
Maybe even implement uploads over WiFi.
2014-11-15 10:45:08 +03:00