bouton_ouverture_V2/platformio.ini
2023-08-04 19:34:51 +02:00

74 lines
1.7 KiB
INI

; PlatformIO Project Configuration File
; WARNING: Items containing version number MUST be the version NOT A RANGE
; Additionnal files
; `secrets.ini`: Secret Build Flags that will be ignored in git (content: `[secrets]\nbuild_flags = `)
; `envs.ini`: Build environments
; `config.ini`: Global Configuration File
; Defaults
[secrets]
build_flags =
[platformio]
default_envs = debug
extra_configs =
secrets.ini
config.ini
envs.ini
; Cache folder
build_cache_dir = ./.pio/cache
[env]
; build Envs
build_flags = ${config.build_flags} ${secrets.build_flags}
; Add scripts for more functionnalities
; see individual scripts for more informations
extra_scripts = pre:scripts/get_additionnal_envs.py
; Device Settings (make sure to fix versions where possible!)
platform = espressif8266
board = d1_mini
framework = arduino
; Monitoring settings
monitor_speed = ${config.monitor_speed}
; note: make sure to rebuild after changing it (log2file add a .log file containing the monitor logs)
monitor_filters = esp32_exception_decoder, time, send_on_enter, default ;, log2file
; Ask the monitor to echo the content written
monitor_echo = yes
; upload settings
; upload_port = COM1
upload_speed = 921600
; librairies (make sure to fix versions where possible!)
lib_deps =
; example:
; erropix/ESP32 AnalogWrite@0.2
; Checker settings
check_tool = clangtidy, cppcheck
; Filters for checkers
check_src_filters =
+<src/>
+<include/>
+<lib/>
+<test/>
-<.pio/>
; Ask pio to not scan `./.pio` files
check_skip_packages = yes
; use config files for clangtidy and cppcheck
check_flags =
clangtidy: --config-file=.clang-tidy
cppcheck: --project=config.cppcheck --inline-suppr -i=".pio"