-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
platformio.ini
122 lines (105 loc) · 2.77 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = ESP32-BLECollector
;default_envs = m5stack-fire
;default_envs = m5stack-core-esp32
default_envs = m5stack-core2
;default_envs = odroid_esp32
[env]
;platform = [email protected]
;platform = espressif32
;platform = https://github.com/platformio/platform-espressif32.git
;platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
;platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.1-RC1
platform = https://github.com/tasmota/platform-espressif32
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.9/esp32-2.0.9.zip
framework = arduino
upload_speed = 921600
monitor_speed = 115200
;lib_ldf_mode = deep
build_flags =
-DCORE_DEBUG_LEVEL=2
lib_deps =
; SPI
SD
LovyanGFX
git+https://github.com/tobozo/ESP32-Chimera-Core#1.5.0
git+https://github.com/tobozo/M5Stack-SD-Updater#1.2.8
NimBLE-Arduino
FS
SPI
Wire
Time
;M5Stack-SD-Updater
Sqlite3Esp32
TinyGPSPlus
[env:m5stack-fire]
board = m5stack-fire
board_build.partitions = default_16MB.csv
upload_port = /dev/ttyACM0
;board_upload.flash_size=4MB
;board_build.f_flash = 80000000L
; board = esp32dev
; board_build.partitions = min_spiffs.csv
; board_upload.flash_size=4MB
; build_flags =
; -DCONFIG_APP_ROLLBACK_ENABLE=y
; -DBOARD_HAS_PSRAM
; -DARDUINO_M5STACK_FIRE
; -mfix-esp32-psram-cache-issue
; -mfix-esp32-psram-cache-strategy=memw
lib_deps =
${env.lib_deps}
[env:m5stack-core-esp32]
board = m5stack-core-esp32
debug_build_flags = -Os
build_src_flags =
-DWITHOUT_WIFI=1
board_build.partitions = min_spiffs.csv
lib_deps =
${env.lib_deps}
lib_ignore =
M5Stack
[env:m5stack-core2]
board = m5stack-core2
board_build.partitions = default_16MB.csv
lib_deps =
${env.lib_deps}
lib_ignore =
M5Core2
[env:m5stack-cores3]
board = esp32-s3-devkitc-1
board_upload.flash_size = 16MB
;board_upload.maximum_size = 2097152
;board_upload.maximum_size = 3145728
board_build.arduino.memory_type = qio_qspi
build_flags =
${env.build_flags}
-DARDUINO_M5STACK_CORES3
-DBOARD_HAS_PSRAM
-DARDUINO_UDB_MODE=1
build_src_flags =
-DWITHOUT_WIFI=1
lib_deps =
${env.lib_deps}
lib_ignore =
M5Stack
M5Core2
M5CoreS3
SD_MMC
[env:odroid_esp32]
board = odroid_esp32
board_build.partitions = min_spiffs.csv
build_src_flags =
-DWITHOUT_WIFI=1
lib_deps =
${env.lib_deps}