update SSDP lib

simplify platormio.ini
This commit is contained in:
Luc 2019-07-01 08:32:00 +02:00
parent 1a100a06f4
commit 24ec62fa7a
8 changed files with 13 additions and 14 deletions

View File

@ -21,7 +21,7 @@ before_script:
- git clone https://github.com/espressif/arduino-esp32.git esp32
- cd esp32/tools
- python get.py
- mv $TRAVIS_BUILD_DIR/libraries/ESP32SSDP $HOME/arduino_ide/libraries/
- mv $TRAVIS_BUILD_DIR/libraries/ESP32SSDP-1.0.1 $HOME/arduino_ide/libraries/
- mv $TRAVIS_BUILD_DIR/libraries/arduinoWebSockets-2.1.4 $HOME/arduino_ide/libraries/
- mv $TRAVIS_BUILD_DIR/libraries/DHT_sensor_library_for_ESPx $HOME/arduino_ide/libraries/
- mv $TRAVIS_BUILD_DIR/libraries/oled-ssd1306 $HOME/arduino_ide/libraries/
@ -42,5 +42,5 @@ script:
notifications:
email:
on_success: change
on_failure: change
on_success: always
on_failure: always

View File

@ -25,7 +25,7 @@ License (MIT license):
THE SOFTWARE.
*/
#ifdef ARDUINO_ARCH_ESP32
#include <functional>
#include "ESP32SSDP.h"
#include "WiFiUdp.h"
@ -475,3 +475,5 @@ void SSDPClass::_stopTimer() {
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SSDP)
SSDPClass SSDP;
#endif
#endif

View File

@ -25,7 +25,7 @@ License (MIT license):
THE SOFTWARE.
*/
#ifdef ARDUINO_ARCH_ESP32
#ifndef ESP32SSDP_H
#define ESP32SSDP_H
@ -126,3 +126,4 @@ extern SSDPClass SSDP;
#endif
#endif
#endif

View File

@ -1,9 +1,9 @@
name=ESP32SSPD
version=1.0
version=1.0.1
author=Me-No-Dev
maintainer=Me-No-Dev
maintainer=luc-github
sentence=Simple SSDP library for ESP32
paragraph=Only for ESP32
category=Communication
url=
url=https://github.com/luc-github/ESP32SSDP
architectures=esp32

View File

@ -30,8 +30,7 @@ board_build.flash_mode = qio
build_flags = -DCORE_DEBUG_LEVEL=0
board_build.partitions = min_spiffs.csv
upload_speed = 115200
lib_ignore =
ESPAsyncTCP
[env:esp8266]
platform = espressif8266
@ -51,7 +50,4 @@ build_flags =
-DNDEBUG
-DVTABLES_IN_FLASH
upload_speed = 115200
lib_ignore =
AsyncTCP
ESP32NetBIOS
ESP32SSPD