Skip to content

Commit 96b0dde

Browse files
committed
Add SoftwareSerial library when building boards manager package.
1 parent 2366e60 commit 96b0dde

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build/build_board_manager_package.sh

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ cp -R ../libraries/SD $outdir/libraries/
1717
cp -R ../libraries/Adafruit_ILI9341 $outdir/libraries/
1818
cp -R ../libraries/OneWire $outdir/libraries/
1919

20+
wget -O SoftwareSerial.zip https://github.com/plerup/espsoftwareserial/archive/38259afcab9c291dbb6216f827d9a3738abf1868.zip
21+
unzip SoftwareSerial.zip
22+
rm -rf SoftwareSerial.zip
23+
mv espsoftwareserial-* SoftwareSerial
24+
mv SoftwareSerial $outdir/libraries
25+
2026
cat $srcdir/platform.txt | \
2127
gsed 's/runtime.tools.xtensa-lx106-elf-gcc.path={runtime.platform.path}\/tools\/xtensa-lx106-elf//g' | \
2228
gsed 's/runtime.tools.esptool.path={runtime.platform.path}\/tools//g' | \

hardware/esp8266com/esp8266/doc/reference.md

+5
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ title: Reference
3131
* [EEPROM](#eeprom)
3232
* [I2C (Wire library)](#i2c-wire-library)
3333
* [SPI](#spi)
34+
* [SoftwareSerial](#softwareserial)
3435
* [ESP-specific APIs](#esp-specific-apis)
3536
* [OneWire (from <a href="https://www.pjrc.com/teensy/td_libs_OneWire.html">https://www.pjrc.com/teensy/td_libs_OneWire.html</a>)](#onewire-from-httpswwwpjrccomteensytd_libs_onewirehtml)
3637
* [mDNS and DNS-SD responder (ESP8266mDNS library)](#mdns-and-dns-sd-responder-esp8266mdns-library)
@@ -398,6 +399,10 @@ else they default to pins 4(SDA) and 5(SCL).
398399
SPI library supports the entire Arduino SPI API including transactions, including setting phase (CPHA).
399400
Setting the Clock polarity (CPOL) is not supported, yet (SPI_MODE2 and SPI_MODE3 not working).
400401

402+
## SoftwareSerial
403+
404+
An ESP8266 port of SoftwareSerial library done by Peter Lerup (@plerup) supports baud rate up to 115200 and multiples SoftwareSerial instances. See the https://github.com/plerup/espsoftwareserial if you want to suggest an improvement or open an issue related to SoftwareSerial.
405+
401406
## ESP-specific APIs
402407

403408
APIs related to deep sleep and watchdog timer are available in the `ESP` object, only available in Alpha version.

0 commit comments

Comments
 (0)