-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
executable file
·87 lines (70 loc) · 2.18 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
;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
[platformio]
; DEVELOP -> Serial port
default_envs = develop
; PROD -> flash device OTA
;default_envs = prod-flash
[env:prod-flash]
; change Host to your esp32 node
upload_protocol = espota
upload_port = 192.168.178.34
; change serial port to your port
#monitor_port = COM7
monitor_speed = 115200
[env:develop]
build_flags =
; -DAC_DEBUG=true
; -DCORE_DEBUG_LEVEL=4
; change Host to your esp32 node
upload_protocol = espota
upload_port = 192.168.178.23
; upload_protocol = esptool
; upload_speed = 921600
monitor_speed = 115200
; JTAG debug
; change "adapter_khz 20000" to "adapter_khz 1000" in
; <home>.platformio\packages\tool-openocd-esp32\share\openocd\scripts\board\esp-wroom-32.cfg
debug_tool = olimex-arm-usb-ocd-h
[env]
framework = arduino
platform = espressif32
; esp32-evb uses esp-wroom-32.cfg
board = esp32-evb
board_build.partitions = partitions_custom.csv
build_flags =
-DMQTT_MAX_PACKET_SIZE=1024
-DAUTOCONNECT_TICKER_PORT=2
-D CURRENT_TIME=$UNIX_TIME
-D DEBUG_ESP_PORT=true
-S DEBUG_WEBSOCKETS=true
board_build.embed_txtfiles =
src/config/configserver_menu.json
; these files are NOT automaticly inserted by frontend task
board_build.embed_files =
; put other files here
; ...
; Don't touch the following block. It will be replaced by the frontend gulp task.
; <Autogenerated>
src/webapp/appcache.manifest
src/webapp/app.js.gz
src/webapp/app.css.gz
src/webapp/index.html.gz
src/webapp/vendor.css.gz
src/webapp/vendor.js.gz
; </Autogenerated>
lib_deps =
forkineye/ESPAsyncE131@^1.0.4
https://github.com/Hieromon/AutoConnect.git @1.4.1
https://github.com/bblanchon/ArduinoJson.git @6.20.0
https://github.com/FaBoPlatform/FaBoPWM-PCA9685-Library.git @1.0.0
https://github.com/bakercp/CRC32.git @2.0.0
https://github.com/Links2004/arduinoWebSockets.git @2.3.7
knolleary/PubSubClient @^2.8