-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplatformio.ini
More file actions
50 lines (47 loc) · 1.92 KB
/
platformio.ini
File metadata and controls
50 lines (47 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[static_check_configuration]
check_tool = cppcheck, clangtidy
check_severity = low, medium, high
check_flags =
cppcheck: --std=c++11 --inline-suppr --suppress=noExplicitConstructor --suppress=unreadVariable --suppress=unusedFunction --suppress=*:*/libdeps/*
clangtidy: --header-filter='' --checks=-*,clang-analyzer-*,performance-*,portability-*,readability-uppercase-literal-suffix,readability-redundant-control-flow --warnings-as-errors=-*,clang-analyzer-*,performance-*,portability-*,readability-uppercase-literal-suffix,readability-redundant-control-flow
check_patterns =
include
src
lib
check_skip_packages = yes
; ********************************************************************************
; D1 Mini - Espressif 8266 - Programming via USB
; ********************************************************************************
[env:d1_mini]
extends = static_check_configuration
platform = espressif8266 @ ~4.2.1
board = d1_mini
board_build.flash_mode = dout
board_build.filesystem = littlefs
framework = arduino
lib_deps =
links2004/WebSockets @ ~2.6.1
monitor_filters = esp8266_exception_decoder
monitor_speed = 115200
upload_speed = 921600
; ********************************************************************************
; Native desktop platform - Only for testing purposes
; ********************************************************************************
[env:test]
extends = static_check_configuration
platform = native @ ~1.2.1
build_flags =
-std=c++11
-DARDUINO=100
-DPROGMEM=
-DNATIVE
lib_ignore =