#pragma once | #pragma once | ||||
#include <ArduinoOTA.h> | |||||
#include <ESP8266WiFi.h> | #include <ESP8266WiFi.h> | ||||
#include <WiFiUdp.h> | #include <WiFiUdp.h> | ||||
#include <ArduinoOTA.h> | |||||
void ota_setup() { | void ota_setup() { | ||||
ArduinoOTA.setPort(8266); | ArduinoOTA.setPort(8266); | ||||
}); | }); | ||||
ArduinoOTA.begin(); | ArduinoOTA.begin(); | ||||
} | |||||
} |
board = nodemcuv2 | board = nodemcuv2 | ||||
framework = arduino | framework = arduino | ||||
; for pio check | |||||
; check_tool = cppcheck | |||||
check_tool = clangtidy | |||||
check_flags = | |||||
; clangtidy: --fix-errors | |||||
clangtidy: lib/httpserver/* lib/treppe/* lib/PCA9685-Arduino/* | |||||
check_skip_packages = yes | |||||
board_build.filesystem = littlefs | board_build.filesystem = littlefs | ||||
board_build.ldscript = eagle.flash.4m1m.ld | board_build.ldscript = eagle.flash.4m1m.ld | ||||
extra_scripts = pre:create_gz_files.py | extra_scripts = pre:create_gz_files.py |