Browse Source

clangtidy cleanups and added checks to platformio.ini

tags/v1.0.0
Simon Schmidt 3 years ago
parent
commit
f2a9ed2888
2 changed files with 11 additions and 2 deletions
  1. 2
    2
      include/ota.h
  2. 9
    0
      templ_platformio_ini

+ 2
- 2
include/ota.h View File

@@ -1,8 +1,8 @@
#pragma once

#include <ArduinoOTA.h>
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>

void ota_setup() {
ArduinoOTA.setPort(8266);
@@ -45,4 +45,4 @@ void ota_setup() {
});
ArduinoOTA.begin();

}
}

+ 9
- 0
templ_platformio_ini View File

@@ -19,6 +19,15 @@ platform = espressif8266
board = nodemcuv2
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.ldscript = eagle.flash.4m1m.ld
extra_scripts = pre:create_gz_files.py

Loading…
Cancel
Save