-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
57 lines (47 loc) · 1.32 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
[ota]
esp_auth = 00000000 ; password must be at least 8 characters
esp_name = mathvec-test
[platformio]
; provide setup/loop functions for test compile:
src_dir = examples/minimal
data_dir = examples/minimal/data
[env]
platform = espressif32
framework = arduino
upload_speed = 921600
monitor_speed = 115200
lib_extra_dirs = ${workspacedir} ; this library, for test compile
build_flags =
-DESP_NAME=\"${ota.esp_name}\"
-DESP_AUTH=\"${ota.esp_auth}\"
lib_deps =
stevesch/stevesch-MathBase@^0.2.0
[env:esp32-dev-module]
board = esp32dev
[env:esp32-dev-module-OTA]
extends = env:esp32-dev-module
upload_speed = 1500000
upload_flags = --auth=${ota.esp_auth}
upload_port = ${ota.esp_name}.local
upload_protocol = espota
[env:esp32-pico-module]
board = pico32
upload_speed = 115200
[env:esp32-pico-module-OTA]
extends = env:esp32-pico-module
upload_speed = 1500000
upload_flags = --auth=${ota.esp_auth}
upload_port = ${ota.esp_name}.local
upload_protocol = espota
[env:esp32-wrover-module]
board = esp-wrover-kit
build_flags =
-DBOARD_HAS_PSRAM
-DCONFIG_SPIRAM_SUPPORT
-mfix-esp32-psram-cache-issue
[env:esp32-wrover-module-OTA]
extends = env:esp32-wrover-module
upload_speed = 1500000
upload_flags = --auth=${ota.esp_auth}
upload_port = ${ota.esp_name}.local
upload_protocol = espota