-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv_teensy.ini
More file actions
76 lines (68 loc) · 2.33 KB
/
env_teensy.ini
File metadata and controls
76 lines (68 loc) · 2.33 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
[teensycommon]
platform = teensy
board = teensy36
framework = arduino
board_build.f_cpu = 180000000L
upload_protocol = teensy-gui
src_filter = +<*teensy*>
test_filter = +<*teensy*>
lib_deps =
Adafruit NeoPixel@1.5.0
https://github.com/wanysteus/MS5611.git#0.1.0
https://github.com/pawelsky/FlexCAN_Library
https://github.com/PaulStoffregen/RadioHead
build_flags =
-D USB_SERIAL
-D SERIAL1_BAUD=115200
-D SERIAL2_BAUD=115200
-D SERIAL3_BAUD=115200
; --------------------------------------------------------
; Main code
; --------------------------------------------------------
[env:teensy_main]
platform = ${teensycommon.platform}
board = ${teensycommon.board}
framework = ${teensycommon.framework}
board_build.f_cpu = ${teensycommon.board_build.f_cpu}
upload_protocol = ${teensycommon.upload_protocol}
src_filter = ${teensycommon.src_filter}
test_filter = ${teensycommon.test_filter}
lib_deps = ${teensycommon.lib_deps}
build_flags = ${teensycommon.build_flags}
[env:teensy_silent]
platform = ${teensycommon.platform}
board = ${teensycommon.board}
framework = ${teensycommon.framework}
board_build.f_cpu = ${teensycommon.board_build.f_cpu}
upload_protocol = ${teensycommon.upload_protocol}
src_filter = ${teensycommon.src_filter}
test_filter = ${teensycommon.test_filter}
lib_deps = ${teensycommon.lib_deps}
build_flags =
${teensycommon.build_flags}
-D SILENT_MODE ; Buzzer off
; --------------------------------------------------------
; Test code
; --------------------------------------------------------
[env:teensy_test]
platform = ${teensycommon.platform}
board = ${teensycommon.board}
framework = ${teensycommon.framework}
board_build.f_cpu = ${teensycommon.board_build.f_cpu}
upload_protocol = ${teensycommon.upload_protocol}
src_filter = +<*test_companion_teensy*> ; In src/
test_filter = +<*hardware_test_teensy*> ; In test/
lib_deps = ${teensycommon.lib_deps}
build_flags = ${teensycommon.build_flags}
[env:teensy_test_silent]
platform = ${teensycommon.platform}
board = ${teensycommon.board}
framework = ${teensycommon.framework}
board_build.f_cpu = ${teensycommon.board_build.f_cpu}
upload_protocol = ${teensycommon.upload_protocol}
src_filter = +<*test_companion_teensy*> ; In src/
test_filter = +<*hardware_test_teensy*> ; In test/
lib_deps = ${teensycommon.lib_deps}
build_flags =
${teensycommon.build_flags}
-D SILENT_MODE ; Buzzer off