pbl qemuLaunch the firmware of a QEMU board build in the emulator.
pbl configure --board qemu_emery
pbl build
pbl qemu
The flash image is rebuilt on every launch; --keep-flash-image keeps it,
and with it installed apps, data and Bluetooth bondings.
The launched QEMU exposes:
An interactive QEMU monitor on the launching terminal (-monitor stdio)
A programmatic socket monitor (-monitor unix:build/qemu-mon.sock)
The serial console over TCP on localhost:12345, for pbl console
The Pebble protocol over TCP on localhost:12344, for the pebble tool
and pbl feed
UART1 output is also captured to uart1.log in the repository root.
Emulator covers what the emulator models and how to
operate it.
pbl qemu [-h] [-b DIR] [--dry-run] [--keep-flash-image] [--decoration NAME]
[--bt-hci CHARDEV]
--keep-flash-imageKeep the SPI flash image, and the apps and data in it, instead of rebuilding it
--decoration NAMESDL decoration to draw around the screen, or ‘none’ (default: the board’s first)
--bt-hci CHARDEVSerial port of an H4 Bluetooth controller, e.g. /dev/cu.usbmodem1101, or any QEMU -serial spec (builds with CONFIG_BT_HCI_UART only)
Generated from PebbleOS 3a7b71785. This page is maintained in the pebbleos repository: docs/pbl/qemu.md.