-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
39 lines (36 loc) · 1.36 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
;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
[env:m5stack-fire]
;olatform = https://github.com/platformio/platform-espressif32.git#feature/stage
platform = https://github.com/platformio/platform-espressif32.git
;lib_extra_dirs = ~/Documents/Arduino/libraries
board = m5stack-fire
framework = arduino
upload_port = /dev/tty.SLAB_USBtoUART
;upload_speed = 115200
board_build.mcu = esp32
board_build.f_cpu = 240000000L
board_build.partitions = custom_16MB.csv
board_build.f_flash = 80000000L
build_flags = -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
[env:m5stack-core-esp32]
;olatform = https://github.com/platformio/platform-espressif32.git#feature/stage
platform = https://github.com/platformio/platform-espressif32.git
;lib_extra_dirs = ~/Documents/Arduino/libraries
board = m5stack-core-esp32
framework = arduino
upload_speed = 115200
upload_port = /dev/tty.SLAB_USBtoUART
board_build.mcu = esp32
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
build_flags = -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG