-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplatformio.ini
101 lines (86 loc) · 2.54 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
; 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, auto
;extends = M5StickC-Plus, arduino-esp32, serial, auto
monitor_filters = direct, send_on_enter, time, esp32_exception_decoder ;, log2file
build_flags =
-std=gnu++14
-I sample
-D CORE_DEBUG_LEVEL=4
-D CONFIG_ARDUHAL_LOG_COLORS
-D ENABLE_GPIO26
-D BITS_PER_SAMPLE_32BIT_DAC
build_unflags =
-std=gnu++11
[M5Stack-ATOM]
board = m5stack-atom
[M5StickC-Plus]
board = m5stack-atom
[lolin32]
board = lolin32
[ESPr]
board = esp32dev
[serial]
upload_protocol = esptool
upload_speed = 1500000
monitor_speed = 115200
monitor_echo = yes
[auto]
targets = upload, monitor
;Serial Port(Mac or Linux or Windows)
[Mac]
;upload_port = /dev/tty.usbserial-4D525172AB
;monitor_port = /dev/tty.usbserial-4D525172AB
[Linux]
;upload_port = /dev/ttyUSB0
;monitor_port = /dev/ttyUSB0
[Windows]
;upload_port = COM4
;monitor_port = COM4
[arduino-esp32]
platform = platformio/espressif32@^4.4.0
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
WiFi
SPI
SPIFFS
SD
HTTPClient
WiFiClientSecure
Ticker
; for AutoConnect
WebServer
ESPmDNS
DNSServer
EEPROM
Preferences
HTTPUpdate
Update
; from GitHub
;https://github.com/m5stack/M5Atom.git
;https://github.com/FastLED/FastLED.git
https://github.com/tanakamasayuki/efont.git
https://github.com/bitbank2/AnimatedGIF.git#1.4.7
https://github.com/m5stack/M5Unified.git#0.0.7
https://github.com/riraosan/ESP_8_BIT_composite.git ;for ESP32_8BIT_CVBS
;https://github.com/earlephilhower/ESP8266Audio.git#1.9.5
https://github.com/Hieromon/AutoConnect.git#v1.3.7
https://github.com/LennartHennigs/Button2.git
https://github.com/wakwak-koba/ESP8266Audio.git