From 2e3e1d5e98e3bb8bf5270efbbcd577a086554942 Mon Sep 17 00:00:00 2001 From: "Dirk O. Kaar" <19971886+dok-net@users.noreply.github.com> Date: Mon, 24 Jun 2019 14:32:59 +0200 Subject: [PATCH] EspSoftwareSerial release 5.2.1 (#6219) * Track breaking API chance in EspSoftwareSerial. * Revert "Track breaking API chance in EspSoftwareSerial." This reverts commit 78aa3e84321935dcc3cfb7ebe8c293ccb0c06a79. * Track breaking API chance in EspSoftwareSerial. * Bug fix in EspSoftwareSerial * EspSoftwareSerial: improved memory fences * Refactoring upstream * EspSoftwareSerial fixed a high-bitrate error source, probably caused by end-bit detection without checking for same-level timestamps from the IRQ * EspSoftwareSerial examples updates * Fix to stop bit detection in EspSoftwareSerial * Latest bit timings fix in EspSoftwareSerial. * EspSoftwareSerial examples * EspSoftwareSerial latest throughput results in comments of loopback.ino * Lastest EspSoftwareSerial, dependent on a few as yet unmerged PRs, tho * Submodule EspSoftwareSerial release 5.2.0 with workaround for as yet missing attachInterruptArg in Arduino.h * EspSoftwareSerial release 5.2.0, includes workaround for missing attachInterruptArg in ESP8266 Arduino * EspSoftwareSerial: CI failed on examples - defines for Wemos board GPIOs. --- libraries/SoftwareSerial | 2 +- libraries/esp8266/examples/SerialStress/SerialStress.ino | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/SoftwareSerial b/libraries/SoftwareSerial index d4ae180f3..8e45d18d5 160000 --- a/libraries/SoftwareSerial +++ b/libraries/SoftwareSerial @@ -1 +1 @@ -Subproject commit d4ae180f33347c851dc2e51ce1779f02b4d3fa11 +Subproject commit 8e45d18d5a1c9d9f6a9a6a9b4923690117117d45 diff --git a/libraries/esp8266/examples/SerialStress/SerialStress.ino b/libraries/esp8266/examples/SerialStress/SerialStress.ino index 1412abd2b..5500b10a6 100644 --- a/libraries/esp8266/examples/SerialStress/SerialStress.ino +++ b/libraries/esp8266/examples/SerialStress/SerialStress.ino @@ -72,8 +72,8 @@ void setup() { // using HardwareSerial0 pins, // so we can still log to the regular usbserial chips - SoftwareSerial* ss = new SoftwareSerial(3, 1); - ss->begin(SSBAUD); + SoftwareSerial* ss = new SoftwareSerial; + ss->begin(SSBAUD, 3, 1); ss->enableIntTx(false); logger = ss; logger->println();