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 sdk

Package the SDK of every platform into the sdk-core tree the pebble tool installs.

pbl sdk 4.44
pbl sdk 4.44 --frozen ../sdk-core/pebble --tarball

Where pbl build sdk packages the SDK of the one platform a build is configured for, this builds each platform from the board sdk/boards.yml lists for it, in a build directory of its own under build-sdk/, and puts the results together in build-sdk/sdk-core/. Building the SDK describes what it is made of.

The frozen platforms get their headers from this checkout. Their libpebble.a and emulator are the ones they were frozen with, which are not in this repository: --frozen names a directory holding them as <platform>/lib/libpebble.a and <platform>/qemu/, such as the pebble/ directory of an earlier SDK. Without it the tree is complete for the other platforms only.

Options

pbl sdk [-h] [-b DIR] [--dry-run] [--lab FILE] [--watch NAME]
        [--wait [SECONDS]] [--board BOARD] [--frozen DIR] [--tarball]
        VERSION
VERSION

Version of the SDK, e.g. 4.44

--board BOARD

Board to package a platform from; repeat for more (default: the boards of sdk/boards.yml)

--frozen DIR

Directory with the libpebble.a and emulator of the frozen platforms, as <platform>/lib/libpebble.a and <platform>/qemu

--tarball

Also write sdk-core.tar.gz

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