Skip to content

Releases: ochyai/m5stack-stopwatch-simulator

v0.1.0 — first public build

Choose a tag to compare

@ochyai ochyai released this 20 Aug 02:14

本番ファームウェアの C++ を、そのまま Mac で動かすシミュレータの最初の公開ビルドです。実機は不要です。

入っているもの

  • 本番 C++ をそのまま実行 — 10_sokkon と 99_stopwatch の main.cpp / board.cpp をホストの C++ コンパイラでビルドして走らせます。UI をモックで再実装していません。
  • 実機のフォント計測 — 文字幅は M5GFX から計測した値で、textWidth に依存する省略処理は実機と同じ位置で切れます。
  • 座標付きタッチ — 画面のどこを触ってもデバイス座標が loop() へ渡ります。10_sokkon が中心半径 145 px の外を無視することも確認できます。
  • 傾き — 加速度を動かすと 99_stopwatch の IMU 表示がそのまま変わります。
  • 仮想時間 — +6s / +30s / +2m / +10m で dim・sleep・タイムアウトの分岐へ直接跳べます。

アプリ自体はネットワークに出ません。ソースからの再生成、セッション再生、ゴールデンフレームは README を参照してください。


The first public build of a simulator that runs the production firmware's own C++ on your Mac. No hardware required. It executes main.cpp and board.cpp for both firmwares, measures text with the device's real font metrics, sends touch coordinates into the production loop(), and lets you move the accelerometer and virtual time.

首个公开构建:把量产固件的 C++ 原样跑在 Mac 上的模拟器,不需要真机。文字尺寸取自真机字体实测值,触摸带坐标,加速度与虚拟时间都可操作。

動作環境 / Requirements / 运行环境

Apple Silicon (arm64) の macOS のみ。 Intel Mac 用のビルドは含まれていません。
Apple Silicon macOS only; no Intel build is included.
仅支持 Apple Silicon (arm64) 的 macOS,不包含 Intel 版本。

Developer ID 署名と公証済みなので、ダウンロードしてダブルクリックで開きます。「開発元を検証できません」は出ません。

検証 / Verify

shasum -a 256 M5Stack-Simulator-0.1.0-arm64.dmg
de4b9c28c9845d5da788101a1bb672334bedbf0e56eb0c62e81bdc0ccc5c5f80
spctl --assess --type open --context context:primary-signature -v M5Stack-Simulator-0.1.0-arm64.dmg
# accepted / source=Notarized Developer ID