forked from raibisch/ESP32_ABL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
52 lines (46 loc) · 1.27 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
; 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
[common]
monitor_speed = 115200
lib_deps_external =
esphome/ESPAsyncWebServer-esphome@^3.1.0
https://github.com/fbiego/ESP32Time.git
[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 =
'-D DEBUG_PRINT=0'
[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 =
-DRDUINO_USB_MODE=0
-DARDUINO_USB_CDC_ON_BOOT=1
-DDEF_S2_MINI=1
#-DDEBUG_PRINT=1
#-DDEBUG_WITHOUT_ABL=1
lib_deps =
${common.lib_deps_external}