-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
68 lines (59 loc) · 1.56 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
; 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]
framework = arduino
monitor_speed = 115200
upload_speed = 921600
lib_deps =
me-no-dev/ESP Async WebServer@^1.2.3
board_build.embed_txtfiles =
wifissid.txt
wifipass.txt
otapass.txt
devices.txt
src/html/index.html
src/html/index.js
src/html/main.css
src/html/not_found.html
[env:esp32dev]
platform = espressif32
board = esp32dev
[env:esp32dev_debug]
extends = env:esp32dev
build_type = debug
build_flags = -D CORE_DEBUG_LEVEL=5
[env:esp32dev_ota]
extends = env:esp32dev
upload_protocol = espota
upload_port = esp-wol.local
extra_scripts = post:shared/read_ota_pass.py
[env:esp32dev_ota_debug]
extends = env:esp32dev_ota
build_type = debug
build_flags = -D CORE_DEBUG_LEVEL=5
[env:esp_wroom_02]
platform = https://github.com/ToMe25/platform-espressif8266.git#embed_files
board = esp_wroom_02
lib_deps =
${env.lib_deps}
me-no-dev/ESPAsyncUDP
[env:esp_wroom_02_debug]
extends = env:esp_wroom_02
build_type = debug
build_flags = -D CORE_DEBUG_LEVEL=5
[env:esp_wroom_02_ota]
extends = env:esp_wroom_02
upload_protocol = espota
upload_port = esp-wol.local
extra_scripts = post:shared/read_ota_pass.py
[env:esp_wroom_02_ota_debug]
extends = env:esp_wroom_02_ota
build_type = debug
build_flags = -D CORE_DEBUG_LEVEL=5