|
|
@@ -19,25 +19,20 @@ platform = espressif8266 |
|
|
|
; board = nodemcuv2 |
|
|
|
board = huzzah |
|
|
|
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 |
|
|
|
|
|
|
|
; build_unflags = -Os |
|
|
|
; build_flags = -O2 |
|
|
|
|
|
|
|
board_build.filesystem = littlefs |
|
|
|
board_build.ldscript = eagle.flash.4m1m.ld |
|
|
|
extra_scripts = pre:create_gz_files.py |
|
|
|
monitor_speed = 76800 |
|
|
|
|
|
|
|
[env:serial] |
|
|
|
extends = env:hardware |
|
|
|
upload_protocol = esptool |
|
|
|
upload_speed = 921600 |
|
|
|
upload_port = COM23 |
|
|
|
monitor_port = COM23 |
|
|
|
monitor_speed = 76800 |
|
|
|
|
|
|
|
[env:ota] |
|
|
|
extends = env:hardware |
|
|
@@ -45,7 +40,7 @@ extends = env:hardware |
|
|
|
upload_protocol = espota |
|
|
|
upload_port = <!! IP ADDRESS !!> |
|
|
|
upload_flags = |
|
|
|
--port=8266 |
|
|
|
--port=8266 |
|
|
|
--host_port=<!! PORT !!> |
|
|
|
--auth=admin |
|
|
|
|
|
|
@@ -56,7 +51,15 @@ extends = env:hardware |
|
|
|
build_flags = -DWITH_DEBUGGING_ON -Os -g3 -ggdb3 |
|
|
|
upload_protocol = esptool |
|
|
|
upload_speed = 921600 |
|
|
|
upload_port = COM23 |
|
|
|
|
|
|
|
; for pio check |
|
|
|
; check_tool = cppcheck |
|
|
|
check_tool = clangtidy |
|
|
|
check_flags = |
|
|
|
clangtidy: --fix-errors lib/httpserver/* |
|
|
|
; clangtidy: lib/httpserver/* lib/treppe/* lib/treppe/FSMTreppe3/* lib/PCA9685-Arduino/* |
|
|
|
check_skip_packages = yes |
|
|
|
|
|
|
|
# This file is used compile and run tests located in the `unit` directory. |
|
|
|
# For more info, see: |