-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
74 lines (63 loc) · 1.67 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
; 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 = release
[env:release]
build_type = release
extends = M5Stack-ATOM, arduino-esp32, serial
monitor_filters = esp32_exception_decoder, direct, send_on_enter, time ;, log2file
build_flags =
-std=gnu++17
-D CORE_DEBUG_LEVEL=4
-D CONFIG_ARDUHAL_LOG_COLORS
build_unflags =
-std=gnu++11
[M5Stack-ATOM]
board = m5stack-atom
[M5StickC-Plus]
board = m5stack-atom
[serial]
upload_protocol = esptool
upload_speed = 1500000
monitor_speed = 115200
monitor_echo = yes
[auto]
targets = upload, monitor
[arduino-esp32]
platform = platformio/espressif32
framework = arduino
board_build.mcu = esp32
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
board_build.flash_mode = dio
board_build.partitions = min_spiffs.csv
lib_deps =
; Basic
FS
Wire
SPI
SPIFFS
SD
WiFi
HTTPClient
WiFiClientSecure
Ticker
; for AutoConnect
WebServer
ESPmDNS
DNSServer
EEPROM
Preferences
HTTPUpdate
Update
; from GitHub
https://github.com/Hieromon/AutoConnect.git#v1.3.7
https://github.com/LennartHennigs/Button2.git
https://github.com/m5stack/M5GFX.git