pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • PebbleOS
  • Mobile App
  • Examples
  • Index 01
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

PebbleOS

  • Overview
  • Start here
    • Getting started guide
    • Playground
  • Development
    • The pbl CLI
      • pbl configure
      • pbl build
      • pbl bundle
      • pbl menuconfig
      • pbl clean
      • pbl test
      • pbl itest
      • pbl samples
      • pbl sdk
      • pbl run
      • pbl console
      • pbl debug
      • pbl debugserver
      • pbl emulator
      • pbl image_resources
      • pbl image_recovery
      • pbl erase
      • pbl lab
      • pbl power
      • Extending pbl
    • Build system
    • Samples
    • Emulator and simulator
    • Testing
    • Debugging
    • Conventions
  • System
    • Architecture overview
    • Kernel
    • Subsystems
    • Drivers
    • Services
    • Libraries
    • Third-party
    • Application SDK
  • Hardware
    • Boards
    • Programmers
  • Community
    • Contribution Guidelines
  • Reference
    • Reference
    • Kconfig options

pbl build

Build the configured firmware, or the named CMake targets.

pbl build
pbl build sdk

The build directory must have been set up with pbl configure first. The outputs land in it, named after the variant (normal or prf); see Build system for how the build is put together.

rom_report, ram_report and footprint report where the firmware’s ROM and RAM go; see Debugging.

Options

pbl build [-h] [-b DIR] [--dry-run] [--lab FILE] [--watch NAME]
          [--wait [SECONDS]]
          [TARGET ...]
TARGET

CMake targets to build

Generated from PebbleOS 7753e801d. This page is maintained in the pebbleos repository: docs/pbl/build.md.