-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
86 lines (74 loc) · 1.87 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
; 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
; ==============
; === REV F4 ===
; ==============
[env:thetis_revf4]
platform = espressif32
board = thetis_revf4
framework = arduino
board_build.variants_dir = variants/
board_build.variant = thetis_revf4
lib_deps =
Wire
Time
monitor_speed = 115200
monitor_port = COM9
monitor_filters = direct ; to view colored logs, if enabled with `-DCONFIG_ARDUHAL_LOG_COLORS` or `
build_flags =
-D __HARDWARE_VERSION__="Rev F4"
-D REV_F4
; WIFI Flags
; -DWIFI_ENABLE
; ==============
; === REV F5 ===
; ==============
[env:thetis_revf5]
platform = espressif32
board = thetis_revf5
framework = arduino
board_build.variants_dir = variants/
board_build.variant = thetis_revf5
lib_deps =
Wire
Time
SPI
monitor_speed = 115200
monitor_port = COM9
monitor_filters = direct ; to view colored logs, if enabled with `-DCONFIG_ARDUHAL_LOG_COLORS` or `
build_flags =
-D __HARDWARE_VERSION__="Rev F5"
-D REV_F5
-D MAG_ENABLE
-D BATT_MON_ENABLE
-D SERIAL_WAIT
-D WIFI_ENABLE
-D SERIAL_LOGGER
; upload_port = COM9
; ==============
; === REV G2 ===
; ==============
[env:thetis_revg2]
platform = espressif32
board = thetis_revg2
framework = arduino
board_build.variants_dir = variants/
board_build.variant = thetis_revg2
lib_deps =
Wire
Time
monitor_speed = 115200
monitor_filters = direct ; to view colored logs, if enabled with `-DCONFIG_ARDUHAL_LOG_COLORS` or `
build_flags =
-D __HARDWARE_VERSION__="Rev G2"
-D Rev_G2
-D MAG_ENABLE
; WIFI Flags
; -DWIFI_ENABLE