-
Notifications
You must be signed in to change notification settings - Fork 13
/
platformio.ini
52 lines (48 loc) · 1.38 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
; 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:m5stack-core2]
platform = espressif32
board = m5stack-core2
framework = arduino
monitor_speed = 115200
upload_protocol = esptool
board_build.partitions = default_16MB.csv
lib_deps =
https://github.com/m5stack/M5Unified.git
https://github.com/madhephaestus/ESP32Encoder.git
mathertel/OneButton@^2.0.3
lvgl/lvgl@^9.0.0
build_flags =
-D LV_CONF_INCLUDE_SIMPLE
-I src
[env:m5stack-cores3]
platform = [email protected]
board = m5stack-cores3
framework = arduino
monitor_speed = 115200
upload_protocol = esptool
board_build.partitions = default_16MB.csv
board_upload.use_1200bps_touch = yes
board_upload.wait_for_upload_port = yes
board_upload.require_upload_port = yes
lib_deps =
https://github.com/m5stack/M5Unified.git
https://github.com/madhephaestus/ESP32Encoder.git
mathertel/OneButton@^2.0.3
lvgl/lvgl@^9.0.0
build_flags =
-D LV_CONF_INCLUDE_SIMPLE
-I src
-D SERIAL_INFO
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
-DCORE_DEBUG_LEVEL=5
;upload_port = com3
;monitor_port = com3