-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
34 lines (30 loc) · 1.15 KB
/
platformio.ini
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
[platformio]
src_dir = examples/basic
lib_dir = .
;default_envs = uno, d1_mini_pro, lolin32
default_envs = lolin32
[env]
build_flags =
-std=c++11
-DSPEED=460800
check_tool = cppcheck, clangtidy
check_flags =
cppcheck: --std=c++11 --enable=all
;clangtidy: --checks=*,-llvm-header-guard,-cppcoreguidelines-special-member-functions,-hicpp-special-member-functions,-cppcoreguidelines-non-private-member-variables-in-classes,-misc-non-private-member-variables-in-classes,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers
clangtidy: --checks=*,-llvm-header-guard,-cppcoreguidelines-special-member-functions,-hicpp-special-member-functions,-cppcoreguidelines-non-private-member-variables-in-classes,-misc-non-private-member-variables-in-classes,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers,-clion-member-function-can-be-static
check_patterns = src
upload_speed = 460800
monitor_speed = 460800
test_speed = 460800
[env:uno]
platform = atmelavr
framework = arduino
board = uno
[env:d1_mini_pro]
platform = espressif8266
board = d1_mini_pro
framework = arduino
[env:lolin32]
platform = espressif32
board = lolin32
framework = arduino