-
Notifications
You must be signed in to change notification settings - Fork 5
/
platformio.ini
49 lines (38 loc) · 1.24 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
; 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 = m5stack
[env]
framework = arduino
platform = espressif32@6.2.0
build_flags = -O2 -Wall
monitor_speed = 115200
monitor_filters = time, esp32_exception_decoder
board_build.flash_mode = dio
board_build.f_cpu = 240000000L
lib_deps =
m5stack/M5Unified@0.1.7
m5stack/M5GFX@0.1.7
bblanchon/ArduinoJson@6.19.1
fastled/FastLED@3.5.0
tobozo/M5Stack-SD-Updater@1.2.4
tobozo/ESP32-targz@1.1.7
[env:m5stack]
build_flags = ${env.build_flags} -D atom=0 -D displayWidth=320 -D displayHeight=240
board = m5stack-core2
board_build.f_flash = 80000000L
board_build.partitions = large_spiffs_16MB.csv
;upload_port = /dev/cu.wchusbserial53230020071
[env:atom]
build_flags = ${env.build_flags} -D atom=1 -D displayWidth=320 -D displayHeight=240
board = m5stack-atom
board_build.f_flash = 40000000L
board_build.partitions = huge_app.csv
;upload_port = /dev/cu.wchusbserial53230020071