-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
65 lines (59 loc) · 1.71 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
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
; 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
https://github.com/RobTillaart/PID_RT.git
; Teensy41 Environment. This environment is the primary environment for uploading code to the car.
; * Build to verify the on-charger software
; * UPLOAD to compile and upload the on-charger software
; * TEST is not yet configured.
[env:teensy41]
check_tool = clangtidy
check_flags =
clangtidy: --config-file=./.clang-tidy
check_severity = medium, high
test_framework=googletest
build_unflags = -std=gnu++11
build_flags =
-std=c++17
-D TEENSY_OPT_SMALLEST_CODE
check_src_filters =
+<include/*>
+<lib/*>
+<src/*>
-<src/old_main.cpp>
platform = teensy
board = teensy41
framework = arduino
monitor_speed = 115200
upload_protocol = teensy-cli
test_ignore =
test_interfaces
test_systems
lib_deps =
${common.lib_deps_shared}
https://github.com/hytech-racing/shared_firmware_interfaces.git
; Test Systems Environment. This is only for compiling and uploading the hardware-abstracted code.
; * BUILD to verify the SYSTEMS compile.
; * DO NOT UPLOAD. This is a test-only environment.
; * TEST to run all unit tests in test_systems on the existing system code.
[env:test_systems_env]
platform = native
test_framework = googletest
build_src_filter =
-<**/*.c>
-<**/*.cpp>
build_unflags = -std=gnu++11
build_flags =
-std=c++17
-g
-D TESTING_SYSTEMS
lib_ignore =
test_ignore=
test_interfaces*
lib_deps =
${common.lib_deps_shared}