-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplatformio.ini
84 lines (77 loc) · 1.97 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
; 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]
default_envs = lolin_s2_mini
#default_envs = esp32-poe
[common]
monitor_speed = 115200
lib_deps_external =
esphome/ESPAsyncWebServer-esphome@^3.1.0
https://github.com/fbiego/ESP32Time.git
256dpi/MQTT
[env:m5Atom]
platform = espressif32
framework = arduino
board = m5stack-core-esp32
monitor_speed = ${common.monitor_speed}
upload_port = /dev/ttyUSB0
lib_deps =
${common.lib_deps_external}
esphome/ESPAsyncWebServer-esphome@^3.1.0
build_flags =
-DDEBUG_PRINT=1
[env:lolin_s2_mini]
platform = espressif32
framework = arduino
board = lolin_s2_mini
monitor_speed = 115200
upload_port = /dev/ttyACM0
monitor_port = /dev/ttyACM0
board_upload.use_1200bps_touch = yes
board_upload.wait_for_upload_port = yes
board_upload.require_upload_port = yes
build_unflags = -DARDUINO_USB_MODE=1
build_flags =
-DABL_RXD_GPIO=39
-DABL_TXT_GPIO=37
-DABL_RX_LOW_ENABLE_GPIO=35
-DLED_GPIO=15
-DARDUINO_USB_MODE=0
-DARDUINO_USB_CDC_ON_BOOT=1
-DDEF_S2_MINI=1
#-DDEBUG_PRINT=1
#-DDEBUG_WITHOUT_ABL=1
#-DMQTT_ENABLE=1
lib_deps =
${common.lib_deps_external}
[env:esp32-poe]
platform = espressif32
framework = arduino
board = esp32-poe
monitor_speed = 115200
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
upload_protocol = esptool
board_upload.use_1200bps_touch = yes
board_upload.wait_for_upload_port = yes
board_upload.require_upload_port = yes
build_flags =
-DABL_RXD_GPIO=35
-DABL_TXT_GPIO=33
-DABL_RX_LOW_ENABLE_GPIO=32
-DUSE_ETH_INSTEAD_WIFI=1
-DARDUINO_USB_MODE=0
-DARDUINO_USB_CDC_ON_BOOT=0
-DWITHOUT_TEMP=1
-DWITHOUT_LED=1
-DDEBUG_PRINT=1
#-DDEBUG_WITHOUT_ABL=1
lib_deps =
${common.lib_deps_external}