-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
88 lines (82 loc) · 2.14 KB
/
platformio.ini
File metadata and controls
88 lines (82 loc) · 2.14 KB
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
; 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
[base]
board = esp01_1m
platform = platformio/espressif8266@4.2.1
platform_packages =
platformio/framework-arduinoespressif8266@~3.30102.0
build_flags =
-D ARDUINOJSON_USE_LONG_LONG=0
-D ARDUINOJSON_USE_DOUBLE=0
-D ARDUINOJSON_SLOT_ID_SIZE=1
-D ARDUINOJSON_STRING_LENGTH_SIZE=1
-D ARDUINOJSON_DECODE_UNICODE=0
-D ARDUINOJSON_ENABLE_ARDUINO_STRING=0
-D NO_GLOBAL_MDNS
-Wno-sign-compare
-Wno-unused-but-set-variable
-Wno-unused-variable
-Wall
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
-D BEARSSL_SSL_BASIC
"-D TEMPLATE_PLACEHOLDER='@'"
framework = arduino
lib_deps =
me-no-dev/ESPAsyncUDP
me-no-dev/ESPAsyncTCP
me-no-dev/ESP Async WebServer
marvinroger/AsyncMqttClient
bblanchon/ArduinoJson
robtillaart/SHT2x
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.1m64.ld
board_build.filesystem = littlefs
[env:esp01_1m]
extends = base
build_type = debug
build_flags =
-D DEBUG=5
-DPIO_FRAMEWORK_ARDUINO_ENABLE_EXCEPTIONS
; -DDEBUG_ASYNC_MQTT_CLIENT
-DDEBUG_ESP_PORT=Serial
-fexceptions
${base.build_flags}
build_unflags =
-fno-exceptions
upload_port = COM6
upload_speed = 921600
upload_resetmethod = nodemcu
monitor_speed = 74880
monitor_port = COM6
monitor_filters = esp8266_exception_decoder
[env:esp01_1m_ota]
extends = env:esp01_1m
upload_protocol = espota
upload_port = 192.168.1.122
upload_resetmethod = nodemcu
[env:esp01_1m_minimal]
extends = base
build_type = release
upload_port = COM6
upload_speed = 921600
upload_resetmethod = nodemcu
monitor_speed = 74880
monitor_port = COM6
monitor_filters = esp8266_exception_decoder
build_flags =
-D NO_GLOBAL_SERIAL
-D NO_GLOBAL_SERIAL1
-fno-exceptions
${base.build_flags}
[env:esp01_1m_minimal_ota]
extends = env:esp01_1m_minimal
upload_protocol = espota
upload_port = 192.168.1.122
upload_resetmethod = nodemcu