1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +03:00
Commit Graph

24 Commits

Author SHA1 Message Date
ee1ef4a795 restore HardwareSerial::write(str) (#4564)
* restore HardwareSerial::write(str)

* restore HardwareSerial::write(str) (this time checked)
2018-03-26 12:15:29 -03:00
479f1b3fed HardwareSerial: one more duplicate test missing the call (#4547) 2018-03-21 22:26:34 -03:00
f8f205d54a Inefficient Print::write(data,len) shows message if used (only in debug mode) (#4537)
* inefficient Print::write(data,len) shows message if used (only in debug mode)
* make HardwareSerial's write(data,len) efficient
* HardwareSerial: remove duplicate tests, move trivial code from .cpp to .h
2018-03-22 01:23:58 +01:00
6580bf3477 uart: fix wdt input overrun (#4536)
* uart: fix wdt on uart input overrun, expose in HardwareSerial::hasOverrun()
2018-03-21 13:28:34 +01:00
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
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
16c0f3f1d5 Implement HardwareSerial::peek 2016-01-26 22:58:00 +03:00
7960b63357 Move UART HAL into separate file, clean up code 2016-01-26 22:57:59 +03:00
e255f25cfd Bufferless and Interruptless HardwareSerial
Let's use the onboard buffers :)
2016-01-26 22:57:59 +03:00
d68b9717b5 Use explicit TX pin number and add pins setting method 2016-01-14 17:55:57 +02:00
e97bc80cee Allow setting alternate TX for UART 0, so GPIO1 is available as SPI_CS1 2016-01-14 14:18:52 +02:00
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
ca8ebdbb97 Enable Serial RX/TX Only mode (needed by I2S) 2015-06-20 23:26:26 +03:00
34b09f7e23 small clean up of HardwareSerial 2015-05-05 13:27:28 +03:00
be5f1f83c1 HardwareSerial: add other configs than 8N1 2015-04-26 00:20:39 +02:00
f165a0afcd use Eclipse auto Format to get rip auf the tab, space and code style inconsistency 2015-04-06 19:33:50 +02:00
1ee7ecdaa2 rewrite HardwareSerial code for UART0 + UART1 support in ESP8266 2015-04-01 22:47:13 +02:00
5c362798f9 Add method to use GPIO13 and GPIO15 as UART RX and TX 2015-01-09 02:33:42 +03:00
4cf6737823 More license headers 2014-12-19 01:43:18 +03:00
43b9dd9edf Clean up unused stuff 2014-12-19 01:39:27 +03:00
2a77249147 Implement tx and rx buffers and interrupts for HardwareSerial 2014-12-18 18:49:14 +03:00
39e087a19e Fix initialisation, fix HardwareSerial, add esptool.py flashing 2014-11-25 09:58:14 +03:00
15b434f5e2 Fix build errors 2014-11-21 12:15:50 +03:00
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