|
|
|
|
|
|
|
|
; board = nodemcuv2 |
|
|
; board = nodemcuv2 |
|
|
board = huzzah |
|
|
board = huzzah |
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; build_unflags = -Os |
|
|
|
|
|
; build_flags = -O2 |
|
|
|
|
|
|
|
|
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 |
|
|
monitor_speed = 76800 |
|
|
|
|
|
|
|
|
|
|
|
[env:serial] |
|
|
[env:serial] |
|
|
extends = env:hardware |
|
|
extends = env:hardware |
|
|
upload_protocol = esptool |
|
|
upload_protocol = esptool |
|
|
upload_speed = 921600 |
|
|
upload_speed = 921600 |
|
|
|
|
|
upload_port = COM23 |
|
|
|
|
|
monitor_port = COM23 |
|
|
|
|
|
monitor_speed = 76800 |
|
|
|
|
|
|
|
|
[env:ota] |
|
|
[env:ota] |
|
|
extends = env:hardware |
|
|
extends = env:hardware |
|
|
|
|
|
|
|
|
upload_protocol = espota |
|
|
upload_protocol = espota |
|
|
upload_port = <!! IP ADDRESS !!> |
|
|
upload_port = <!! IP ADDRESS !!> |
|
|
upload_flags = |
|
|
upload_flags = |
|
|
--port=8266 |
|
|
|
|
|
|
|
|
--port=8266 |
|
|
--host_port=<!! PORT !!> |
|
|
--host_port=<!! PORT !!> |
|
|
--auth=admin |
|
|
--auth=admin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build_flags = -DWITH_DEBUGGING_ON -Os -g3 -ggdb3 |
|
|
build_flags = -DWITH_DEBUGGING_ON -Os -g3 -ggdb3 |
|
|
upload_protocol = esptool |
|
|
upload_protocol = esptool |
|
|
upload_speed = 921600 |
|
|
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. |
|
|
# This file is used compile and run tests located in the `unit` directory. |
|
|
# For more info, see: |
|
|
# For more info, see: |