-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
96 lines (92 loc) · 2.52 KB
/
Copy pathplatformio.ini
File metadata and controls
96 lines (92 loc) · 2.52 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
; 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
[env]
monitor_speed = 115200
test_ignore = *
check_tool =
cppcheck
clangtidy
check_flags =
cppcheck: --enable=all --inline-suppr --suppress=missingIncludeSystem --suppress=unusedFunction --suppress=unmatchedSuppression
clangtidy: --checks=-*,boost-*,bugprone-*,cert-*,clang-analyzer-*,concurrency-*,cppcoreguidelines-*,google-*,hicpp-*,llvm-*,llvmlibc-*,misc-*,modernize-*,performance-*,portability-*,readability-*,*,-cppcoreguidelines-avoid-non-const-global-variables,-llvm-header-guard,-llvmlibc-callee-namespace,-llvmlibc-implementation-in-namespace,-llvmlibc-restrict-system-libc-headers,-modernize-use-trailing-return-type,-readability-identifier-length,-altera-struct-pack-align --fix
check_skip_packages = yes
check_src_filters =
+<include/*>
+<lib/*>
+<src/*>
+<test/test_native/*>
build_unflags =
-std=gnu++11
-std=gnu++17
-Os
build_flags =
-std=gnu++20
;-save-temps=obj
-Werror
-Wall
-Wextra
-Waggressive-loop-optimizations
-Wattributes
-Wcast-align
-Wconversion
-Wdeprecated-declarations
-Wdisabled-optimization
-Wdouble-promotion
-Wfloat-conversion
-Wignored-qualifiers
-Wimplicit-fallthrough
-Winline
-Wmissing-braces
-Wmissing-declarations
-Wmissing-noreturn
-Wnarrowing
-Wpacked
;-Wpadded
-Wpedantic
-Wredundant-decls
-Wshadow
-Wsign-compare
-Wsign-conversion
-Wstrict-aliasing
-Wtrampolines
-Wunsafe-loop-optimizations
-Wunreachable-code
-Wunused
-Wunused-function
-Wunused-parameter
-Wunused-value
-Wunreachable-code
[env:native]
platform = native
lib_deps =
${env.lib_deps}
build_flags =
${env.build_flags}
-Og
-D LIBRARY_FILTERS_USE_EMPTY_MAIN
[env:unit-test]
platform = native
build_type = test
test_ignore = test_embedded
test_filter = test_native/test_*
check_tool =
check_flags =
lib_deps =
martinbudden/VectorQuaternionMatrix@^0.4.10
;../../Libraries/Library-VectorQuaternionMatrix
test_build_src = true
build_unflags = -Os
build_flags =
${env.build_flags}
-D FRAMEWORK_TEST
-Wno-missing-declarations
-Wno-sign-conversion
[platformio]
description = Filters library