clangtidy cleanups and added checks to platformio.ini
This commit is contained in:
parent
1662079547
commit
f2a9ed2888
@ -1,8 +1,8 @@
|
|||||||
#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);
|
||||||
@ -45,4 +45,4 @@ void ota_setup() {
|
|||||||
});
|
});
|
||||||
ArduinoOTA.begin();
|
ArduinoOTA.begin();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,15 @@ platform = espressif8266
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user