-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
137 lines (108 loc) · 3.7 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
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
; 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]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_build.f_cpu = 240000000L
monitor_speed = 921600
upload_speed = 921600
extra_scripts = pre:fw_version.py
monitor_echo = yes
monitor_filters = send_on_enter, colorize, time
[env:flight-computer]
build_flags = -DID=42
extra_scripts = pre:fw_version.py
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<FC4/*>
[env:flight-computer-debug]
build_flags = -DID=42 -DDEBUG_MODE -DFW_COMMIT=\"1234567\"
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<FC4/*>
[env:ipa_ereg]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<EReg/*> +<RS422Comms.*>
monitor_speed = 921600
upload_speed = 921600
build_flags = -DID=71 -DIPA -DEREG
[env:acboard1]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<ACBoard1/*>
build_flags = -DID=11 -DDEBUG_MODE
[env:acboard2]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<ACBoardOLD/*>
build_flags = -DID=12
[env:acboard3]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<ACBoard/*>
build_flags = -DID=13
[env:lcboard1]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<LCBoard/*>
build_flags = -DID=21
[env:lcboard2]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<LCBoard/*>
build_flags = -DID=22
[env:ptboard1]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<PTBoard/*>
build_flags = -DID=31
[env:ptboard2]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<PTBoard/*>
build_flags = -DID=32
[env:ptboard3]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<PTBoard/*>
build_flags = -DID=33
[env:tcboard1]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<TCBoard/*>
build_flags = -DID=51
[env:tcboard2]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<TCBoard/*>
build_flags = -DID=52
[env:tcboard3]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<TCBoard/*>
build_flags = -DID=53
[env:rtdboard]
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<RTDBoard/*>
build_flags = -DID=81
[env:hello-world-test]
build_src_filter = -<*> +<tests/hello-world/*>
[env:ethernet-tx-test]
build_src_filter = -<*> +<tests/ethernet-tx-test/*>
[env:INA233-test]
build_src_filter = -<*> +<tests/INA233-test/*>
[env:I2C-Scanner]
build_src_filter = -<*> +<tests/i2c-scanner-test/*>
[env:ethernet-test]
build_src_filter = -<*> +<tests/ethernet-test/*>
[env:multisocket-test]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_build.f_cpu = 240000000L
monitor_speed = 921600
upload_speed = 921600
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<tests/multisocket-test/*>
build_flags = -DID=88
[env:ADC-test]
build_src_filter = -<*> +<tests/e1-adc-test/*>
[env:WiFi-test]
build_src_filter = -<*> +<tests/wifi-test/*>
build_flags = -DNET_SSID=\"GSE_HIVE\" -DNET_PASSWORD=\"Zander.\"
[env:OLDCAP]
platform = espressif32
board = adafruit_feather_esp32s3_nopsram
monitor_speed = 115200
build_flags = -DIP_ADDRESS_END=32 -DFUEL -DLED_ADDRESS_END=38 -DPACKET_ID=21 -D CONFIG_USB_ENABLED -DID=62
build_src_filter = -<*> +<Common.h> +<EspComms.*> +<Old_CapFill/*>
[env:RECEIVER-CAP]
platform_packages =
platformio/framework-arduinoteensy@^1.159.0
platformio/toolchain-gccarmnoneeabi-teensy@^1.110301.0
platformio/tool-teensy@^1.159.0
platform = teensy
board = teensy41
framework = arduino
build_flags = -DIP_ADDRESS_END=42 -std=gnu++17
monitor_speed = 115200
build_src_filter = -<*> +<Common.h> +<TeensyComms.*> +<RS485_Teensy/main.cpp>