tarask
2 days ago 532005c6573d95199ce0ffbc33df4c7a0a4c3ef9
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
; 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
framework = arduino
board_build.f_cpu = 240000000L
board_build.mcu = esp32
monitor_speed = 115200
upload_speed = 921600
 
lib_deps = 
    plerup/EspSoftwareSerial@^8.2.0
 
#lib_deps = 
#    ayushsharma82/AsyncElegantOTA @ 2.2.7
#    ayushsharma82/ElegantOTA @ ^3.1.2
#    esphome/AsyncTCP-esphome@^1.2.2
#    mathieucarbou/Async TCP @ ^3.1.4
#    ottowinter/ESPAsyncWebServer-esphome@^2.1.0
 
lib_compat_mode = strict
lib_ldf_mode = deep
;lib_ldf_mode = chain+
;lib_ldf_mode = deep+
 
;build_flags = 
;    -Ofast
;    -D DEBUG_ESP_PORT=Serial
;    -different
;    -DELEGANTOTA_USE_ASYNC_WEBSERVER=1
 
;upload_port = COM3
;monitor_port = COM3
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
 
[env:debug_devkit1]
board = esp32doit-devkit-v1
build_type = debug
build_flags = 
    -DCORE_DEBUG_LEVEL=5
    -Ofast
    ; -different
    -DELEGANTOTA_USE_ASYNC_WEBSERVER=1
 
[env:release_devkit1]
board = esp32doit-devkit-v1
build_type = release
build_flags = 
    -DCORE_DEBUG_LEVEL=0
    -DNRA15_USE_HARDWARE_SERIAL 
    -Ofast
    ; -different
    -DELEGANTOTA_USE_ASYNC_WEBSERVER=1
    ; -DNV7RANGEFINDER_USE_SERIAL0=1
 
[env:debug_wt32_ETH0]
board = wt32-eth01
build_type = debug
build_flags = 
    -DCORE_DEBUG_LEVEL=5
    -Ofast
    ; -different
    -DELEGANTOTA_USE_ASYNC_WEBSERVER=1
 
[env:release_wt32_ETH0]
board = wt32-eth01
build_type = release
build_flags = 
    -DCORE_DEBUG_LEVEL=2
    -Ofast
    ; -different
    -DELEGANTOTA_USE_ASYNC_WEBSERVER=1