-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
50 lines (47 loc) · 1.57 KB
/
platformio.ini
File metadata and controls
50 lines (47 loc) · 1.57 KB
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
; 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-core2
[env:m5stack-core2]
platform = espressif32 @ 5.2.0
framework = arduino
board = m5stack-core2
lib_ldf_mode = deep
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
board_build.flash_mode = qio
monitor_speed = 115200
build_type = debug
monitor_filters = esp32_exception_decoder
time
build_flags =
-DCORE_DEBUG_LEVEL=0
-DARDUINO_RUNNING_CORE=1
-DARDUINO_EVENT_RUNNING_CORE=1
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-mfix-esp32-psram-cache-strategy=memw
-D SDFAT_FILE_TYPE=3
; SdFat #define SDFAT_FILE_TYPE 3 // SDFAT_FILE_TYPE = 0 for SdFat/File as defined in SdFatConfig.h,
; 1 for FAT16/FAT32, 2 for exFAT, 3 for FAT16/FAT32 and exFAT.
-D ENABLE_DEDICATED_SPI=0
; SdFat SHARED_SPI / ENABLE_DEDICATED_SPI 0 is choosen because SD card and TFT are sharing one SPI bus
-D USE_HARDWARE_BLE=0
; 0 BLE data reception is performed on SoftwareSerial, 1 Use hardwareSerial
upload_speed = 1500000
lib_deps =
mikalhart/TinyGPSPlus@^1.0.3
ambientdatainc/Ambient ESP32 ESP8266 lib
m5stack/M5Unified
paulstoffregen/Time @ ^1.6.1
knolleary/PubSubClient @ ^2.8
bblanchon/ArduinoJson @ ^7.0.4
plerup/EspSoftwareSerial @ ^8.2.0
greiman/SdFat @ ^2.2.3