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
  • Pebble Firmware
    • Overview
    • Playground
    • Application SDK
  • Development
    • The pbl CLI
    • Build system
    • Samples
    • Emulator and simulator
    • Testing
    • Debugging
    • Conventions
  • System
    • Architecture overview
    • Kernel
    • Drivers
    • Subsystems
    • Libraries
    • Third-party
  • Hardware
    • Boards
      • Pebble 2 Duo (asterix)
      • Pebble Round 2 (getafix)
      • Native simulator (native)
      • Nordic nRF52840 DK (nrf52840dk)
      • Nordic nRF52 DK (nrf52dk)
      • Nordic nRF54L15 DK (nrf54l15dk)
      • Nordic nRF54LM20 DK (nrf54lm20dk)
      • Pebble Time 2 (obelix)
      • QEMU emulator (qemu_pebble)
      • SiFli SF32LB57x-DPI-HDK (sf32lb57_dpi_hdk)
      • STMicroelectronics STM32H747I-DISCO (stm32h747i_disco)
    • Board Add-ons
    • Programmers
  • Community
    • Contribution Guidelines
  • Reference
    • Reference
    • Kconfig options

Native simulator (native)

Overview

Board:

native

Variants:

wasm

SoC:

Host (posix)

native builds PebbleOS as a program for the host, Linux or macOS, with a window standing in for the device. The wasm variant builds it as WebAssembly, to run in a browser. The firmware is compiled for the host CPU, and every device has a host implementation. The Native simulator page describes how to run and interact with it.

Hardware

  • Display: an SDL window, or a canvas in the browser

  • Buttons: the host keyboard

  • Touch: the mouse

  • Flash: external flash backed by a file, kept across runs; in memory in a browser

  • Serial: the console on the terminal or a TCP port, a port for the QEMU serial protocol, and a Bluetooth HCI UART on a TCP port or serial device

  • Clocks: RTC, clock source and tick from the host clock

  • Random numbers: the host’s random number generator

  • Ethernet: a controller on a Linux TAP interface

  • Simulated: backlight, accelerometer, ambient light sensor, vibration motor, microphone, die temperature and charger

There is no speaker, heart rate sensor or Bluetooth radio: Bluetooth needs an external HCI controller.

Generated from PebbleOS 7416f78a1. This page is maintained in the pebbleos repository: docs/boards/native/index.md.

Overview

  • Overview
  • Hardware