-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
145 lines (129 loc) · 3.46 KB
/
platformio.ini
File metadata and controls
145 lines (129 loc) · 3.46 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
; 2025 Hytech CCU PlatformIO configuration file.
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[common]
lib_deps_shared =
https://github.com/ssilverman/QNEthernet#v0.26.0
https://github.com/hytech-racing/HT_SCHED.git
https://github.com/hytech-racing/shared_firmware_types.git#b8f83d0d79d1360f2a293e79197912b03ee58a2f
Embedded Template Library@^20.39.4
[env:teensy41]
check_tool = clangtidy
check_flags =
clangtidy: --config-file=./.clang-tidy
check_severity = medium, high
build_unflags = -std=gnu++11
build_flags =
-std=c++17
-D TEENSY_OPT_SMALLEST_CODE
lib_ignore =
mock_interfaces
check_src_filters =
+<include/*>
+<lib/*>
+<src/*>
platform = teensy
board = teensy41
framework = arduino
monitor_speed = 115200
upload_protocol = teensy-cli
test_ignore =
test*
mock_interfaces
lib_deps =
${common.lib_deps_shared}
https://github.com/hytech-racing/HT_proto/releases/download/2025-02-21T18_32_07/hytech_msgs_pb_lib.tar.gz
Nanopb
https://github.com/vindar/ILI9341_T4.git
https://github.com/hytech-racing/HT_CAN/releases/download/163/can_lib.tar.gz
https://github.com/hytech-racing/shared_firmware_interfaces.git#0075f82064c3d6eede407b156f3fa7cbaa6a1d58
https://github.com/adafruit/Adafruit_ILI9341.git
SPI
build_src_filter =
+<**/*.cpp>
;-<main.cpp>
-<testCCUOk.cpp>
-<main_can_test.cpp>
-<scheduler_can_test.cpp>
[env:test_systems_env]
platform = native
test_framework = googletest
build_src_filter =
;-<**/*.c>
;-<**/*.cpp>
-<main.cpp>
+<../test/test_maincharge.cpp>
build_unflags = -std=gnu++11
build_flags =
-std=c++17
-g
-D TESTING_SYSTEMS
lib_ignore =
interfaces
lib_deps =
${common.lib_deps_shared}
google/googletest@^1.15.2
https://github.com/hytech-racing/HT_proto/releases/download/2025-02-21T18_32_07/hytech_msgs_pb_lib.tar.gz
Nanopb
https://github.com/vindar/ILI9341_T4.git
https://github.com/hytech-racing/HT_CAN/releases/download/151/can_lib.tar.gz
[env:testCCUOk]
check_tool = clangtidy
check_flags =
clangtidy: --config-file=./.clang-tidy
check_severity = medium, high
build_unflags = -std=gnu++11
build_flags =
-std=c++17
-D TEENSY_OPT_SMALLEST_CODE
check_src_filters =
+<include/*>
+<lib/*>
+<src/*>
platform = teensy
board = teensy41
framework = arduino
monitor_speed = 115200
upload_protocol = teensy-cli
test_ignore =
test*
lib_deps =
${common.lib_deps_shared}
https://github.com/hytech-racing/HT_proto/releases/download/2025-02-21T18_32_07/hytech_msgs_pb_lib.tar.gz
Nanopb
https://github.com/hytech-racing/shared_firmware_interfaces.git
build_src_filter =
-<*.cpp>
;<testCCUOk.cpp>
[env:TestCAN]
check_tool = clangtidy
check_flags =
clangtidy: --config-file=./.clang-tidy
check_severity = medium, high
build_unflags = -std=gnu++11
build_flags =
-std=c++17
-D TEENSY_OPT_SMALLEST_CODE
check_src_filters =
+<include/*>
+<lib/*>
+<src/*>
platform = teensy
board = teensy41
framework = arduino
monitor_speed = 115200
upload_protocol = teensy-cli
test_ignore =
test*
lib_deps =
${common.lib_deps_shared}
https://github.com/hytech-racing/HT_proto/releases/download/2025-02-21T18_32_07/hytech_msgs_pb_lib.tar.gz
Nanopb
https://github.com/hytech-racing/shared_firmware_interfaces.git
build_src_filter =
+<**/*.cpp>
-<main.cpp>
-<testCCUOk.cpp>
-<main_can_test.cpp>
;-<scheduler_can_test.cpp>