-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathplatformio.ini
More file actions
44 lines (36 loc) · 1.34 KB
/
Copy pathplatformio.ini
File metadata and controls
44 lines (36 loc) · 1.34 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
[platformio]
default_envs = m5tools_core2_tough
[env]
; 全 env で同一の platform を使う。異なる platform を混在させると
; framework-arduinoespressif32 のディレクトリを奪い合い、env 切替のたびに
; 再取得が走って FRAMEWORK_DIR の解決に失敗することがある。
; stable エイリアスは中身が随時進むため、検証済みのリリースに固定する
; (55.03.311 では arduino-core 3.3.11 になり ESP32 classic の IRAM が溢れる)
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip
framework = arduino
monitor_speed = 115200
build_src_filter =
+<*>
; M5Unified はこのブランチが前提とする develop のコミットに固定する。
; 対応するリリースが出たらバージョン指定へ差し替える。
lib_deps =
https://github.com/m5stack/M5Unified.git#97d5fa09d6b2713c1cd2fec6be8d697353cc363b
m5stack/M5GFX@^0.2.27
[env:m5tools_core2_tough]
board = m5stack-core2
build_flags =
-DCORE_DEBUG_LEVEL=3
-std=gnu++17
build_unflags =
-std=gnu++11
-DBOARD_HAS_PSRAM
[env:m5tools_tough_c5]
board = esp32-c5-devkitc-1
board_build.partitions = partitions_tough_c5.csv
build_flags =
-DCORE_DEBUG_LEVEL=3
-std=gnu++17
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
build_unflags =
-std=gnu++11