From 8c45c65d00ea11d52531f715e51cb5aadad66a18 Mon Sep 17 00:00:00 2001 From: Simon Schmidt Date: Mon, 6 Sep 2021 00:46:07 +0200 Subject: [PATCH] templ ini update --- templ_platformio_ini | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/templ_platformio_ini b/templ_platformio_ini index 3d4b22b..7d23b1b 100644 --- a/templ_platformio_ini +++ b/templ_platformio_ini @@ -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 = upload_flags = - --port=8266 + --port=8266 --host_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: