Build the samples under samples/ for a board and, where the board runs on
the host, run each one and check what it prints against its sample.yml.
Samples are built only for the other boards.
pbl samples
pbl samples samples/kernel
pbl samples --board native_emery samples/kernel/work
pbl samples --list
Each sample is built in a directory of its own,
build-samples/<board>/<sample>/, or under the directory given with
--build-dir. The output of a build is only shown when it fails, and the
console of a sample when a line it should print does not come; --verbose
shows it for every sample.
Samples lists the samples and covers writing one.
pbl samples [-h] [-b DIR] [--dry-run] [--lab FILE] [--watch NAME]
[--wait [SECONDS]] [--board BOARD] [-l] [--build-only] [-v]
[SAMPLE ...]
SAMPLESample, or directory of samples, e.g. samples/kernel (default: all of samples/)
--board BOARDBoard to build for (default: qemu_emery)
-l, --listList the samples and exit
--build-onlyBuild the samples without running
-v, --verboseShow the console of the samples that pass too
Generated from PebbleOS f4926c952. This page is maintained in the pebbleos repository: docs/pbl/samples.md.