Browse Source

templ ini update

tags/v1.0.1
Simon Schmidt 3 years ago
parent
commit
8c45c65d00
1 changed files with 14 additions and 11 deletions
  1. 14
    11
      templ_platformio_ini

+ 14
- 11
templ_platformio_ini View File

; 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:

Loading…
Cancel
Save