mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 20:19:12 +08:00
update SSDP lib
simplify platormio.ini
This commit is contained in:
parent
1a100a06f4
commit
24ec62fa7a
@ -21,7 +21,7 @@ before_script:
|
|||||||
- git clone https://github.com/espressif/arduino-esp32.git esp32
|
- git clone https://github.com/espressif/arduino-esp32.git esp32
|
||||||
- cd esp32/tools
|
- cd esp32/tools
|
||||||
- python get.py
|
- 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/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/DHT_sensor_library_for_ESPx $HOME/arduino_ide/libraries/
|
||||||
- mv $TRAVIS_BUILD_DIR/libraries/oled-ssd1306 $HOME/arduino_ide/libraries/
|
- mv $TRAVIS_BUILD_DIR/libraries/oled-ssd1306 $HOME/arduino_ide/libraries/
|
||||||
@ -42,5 +42,5 @@ script:
|
|||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: change
|
on_success: always
|
||||||
on_failure: change
|
on_failure: always
|
||||||
|
@ -25,7 +25,7 @@ License (MIT license):
|
|||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
#ifdef ARDUINO_ARCH_ESP32
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include "ESP32SSDP.h"
|
#include "ESP32SSDP.h"
|
||||||
#include "WiFiUdp.h"
|
#include "WiFiUdp.h"
|
||||||
@ -475,3 +475,5 @@ void SSDPClass::_stopTimer() {
|
|||||||
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SSDP)
|
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SSDP)
|
||||||
SSDPClass SSDP;
|
SSDPClass SSDP;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -25,7 +25,7 @@ License (MIT license):
|
|||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
#ifdef ARDUINO_ARCH_ESP32
|
||||||
#ifndef ESP32SSDP_H
|
#ifndef ESP32SSDP_H
|
||||||
#define ESP32SSDP_H
|
#define ESP32SSDP_H
|
||||||
|
|
||||||
@ -126,3 +126,4 @@ extern SSDPClass SSDP;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
@ -1,9 +1,9 @@
|
|||||||
name=ESP32SSPD
|
name=ESP32SSPD
|
||||||
version=1.0
|
version=1.0.1
|
||||||
author=Me-No-Dev
|
author=Me-No-Dev
|
||||||
maintainer=Me-No-Dev
|
maintainer=luc-github
|
||||||
sentence=Simple SSDP library for ESP32
|
sentence=Simple SSDP library for ESP32
|
||||||
paragraph=Only for ESP32
|
paragraph=Only for ESP32
|
||||||
category=Communication
|
category=Communication
|
||||||
url=
|
url=https://github.com/luc-github/ESP32SSDP
|
||||||
architectures=esp32
|
architectures=esp32
|
@ -30,8 +30,7 @@ board_build.flash_mode = qio
|
|||||||
build_flags = -DCORE_DEBUG_LEVEL=0
|
build_flags = -DCORE_DEBUG_LEVEL=0
|
||||||
board_build.partitions = min_spiffs.csv
|
board_build.partitions = min_spiffs.csv
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
lib_ignore =
|
|
||||||
ESPAsyncTCP
|
|
||||||
|
|
||||||
[env:esp8266]
|
[env:esp8266]
|
||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
@ -51,7 +50,4 @@ build_flags =
|
|||||||
-DNDEBUG
|
-DNDEBUG
|
||||||
-DVTABLES_IN_FLASH
|
-DVTABLES_IN_FLASH
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
lib_ignore =
|
|
||||||
AsyncTCP
|
|
||||||
ESP32NetBIOS
|
|
||||||
ESP32SSPD
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user