一键导入
working-with-qemu
Use when building, launching, debugging, or capturing screenshots of PebbleOS under QEMU.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when building, launching, debugging, or capturing screenshots of PebbleOS under QEMU.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | working-with-qemu |
| description | Use when building, launching, debugging, or capturing screenshots of PebbleOS under QEMU. |
PebbleOS can run under a custom QEMU version shipped with the PebbleOS SDK.
./pbl configure --board $BOARD
./pbl build
where $BOARD is any of the qemu_* boards:
qemu_emeryqemu_flintqemu_gabbroQEMU boards target a specific platform, e.g. qemu_emery targets the Emery platform, which is the platform used by Pebble Time 2.
./pbl qemu
The launched QEMU exposes:
-monitor stdio)-monitor unix:build/qemu-mon.sock)localhost:12345 (console) and localhost:12344 (pebble-tool)UART1 output is also captured to build/uart1.log.
./pbl console
Requires QEMU to be running. Uses the TCP serial port to connect to the QEMU console, and provides a prompt for sending commands and receiving responses.
./pbl screenshot # defaults to build/screenshot.png
./pbl screenshot --screenshot-output /tmp/foo.png
Requires QEMU to be running. Uses the programmatic socket monitor to capture a screenshot of the QEMU display and save it to disk. Useful to validate or iterate on UI changes.
Keyboard input is captured by QEMU, so you can interact with the PebbleOS UI.
Keys can also be send programmatically over the socket monitor using the sendkey command.
They key mapping is:
| QEMU key | PebbleOS key |
|---|---|
left | back |
right | select |
up | up |
down | down |