forked from 3110/M5WatchClicker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
45 lines (40 loc) · 1.6 KB
/
Copy pathplatformio.ini
File metadata and controls
45 lines (40 loc) · 1.6 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
; M5WatchClicker
; M5Stack StopWatchを BLE プレゼンリモコンにするファームウェア
;
; ボード定義(esp32s3box 流用・16MB フラッシュ・PSRAM 等)は submodule の
; config/platformio-m5stack.ini の [m5stack-stop-watch] / [m5unified] を継承する。
; clone 後は `git submodule update --init --recursive` を実行すること。
[platformio]
extra_configs =
config/platformio-m5stack.ini
default_envs = m5watch-clicker
[env]
; ファームウェアは LittleFS でマウントする。指定しないと uploadfs が SPIFFS
; イメージを作ってしまい、マウントに失敗した LittleFS.begin(formatOnFail=true)
; が黙ってフォーマットするため data/config.json が一切反映されなくなる
board_build.filesystem = littlefs
monitor_speed = 115200
; 既定フィルタは制御文字を記号(␛ など)に置き換えてしまうため素通しにする
; (ESP-IDF ログの色付け ANSI コードがそのまま表示されるのを防ぐ)
monitor_filters = direct
extra_scripts =
config/generate_merged_firmware.py
custom_firmware_dir = firmware
custom_firmware_name = m5watch_clicker
custom_firmware_target = m5stopwatch
custom_firmware_version = v0.0.2
custom_firmware_suffix = bin
[build-target]
extends = release
; extends = debug
[env:m5watch-clicker]
extends = m5stack-stop-watch, m5unified, build-target
build_flags =
${m5stack-stop-watch.build_flags}
${m5unified.build_flags}
${build-target.build_flags}
lib_deps =
${m5stack-stop-watch.lib_deps}
${m5unified.lib_deps}
h2zero/NimBLE-Arduino @ ^2.2.3
bblanchon/ArduinoJson @ ^7.2.0