-
Notifications
You must be signed in to change notification settings - Fork 9
/
platformio.ini
60 lines (54 loc) · 1.64 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
; 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]
# Use Tasmota platform: It refers to Arduino + Esp-IDF frameworks that work well together!!
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.4.1/platform-espressif32-2.0.4.1.zip
framework = arduino, espidf
platform_packages =
lib_deps =
ropg/ezTime @ 0.8.3
https://github.com/RoboMagus/WiFiManager.git#customizations
https://github.com/knolleary/PubSubClient#v2.8
build_flags =
; Do Not Modify:
-DARDUINO_STACK_SIZE=4096
-DCORE_DEBUG_LEVEL=3
; -DCORE_DEBUG_LEVEL=4
-DCONFIG_BLINK_GPIO=2
-DESP32=1
-DMQTT_MAX_PACKET_SIZE=512
-DWM_MDNS=1
-DWM_ERASE_NVS=1
-DWM_DEBUG_LEVEL=DEBUG_NOTIFY
-Wno-missing-field-initializers
-Wno-unused-variable
; Can Modify:
-DAP_PASSWD=\"abc45678\"
-DHTTPD_USER=\"admin\"
-DHTTPD_PASSWD=\"1234\"
-DMAX_NUM_STORED_BLUETOOTH_DEVICES=8
-DDUMPTIMEMEMINTERVAL=10
; -DNO_USE_TELNET_SERIAL
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
; >>>>>>>>>>>
; For OTA update and remote debugging
;
; monitor_port = socket://192.168.1.200:23
; upload_protocol = espota
; upload_port = 192.168.1.200
; upload_flags =
; --port=3232
; --auth=admin
; <<<<<<<<<<<
[env:wemos_d1_mini32]
board = wemos_d1_mini32
board_build.partitions = partitions_custom.csv
board_upload.maximum_size = 2031616