Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a689b5a
build(deps): bump actions/download-artifact from 5 to 6
dependabot[bot] Oct 27, 2025
f00a7d1
build(deps): bump actions/upload-artifact from 4 to 5
dependabot[bot] Oct 27, 2025
ff4ed9c
Update P2D platform to Flint
matejdro Nov 2, 2025
3283447
Add mentions of flint to the documentation
hellcp Nov 7, 2025
0e52cda
Hardware information: Add some information about flint and emery (#56)
lavglaab Nov 10, 2025
50b266f
Make sense of the sidebar links
hellcp Nov 11, 2025
b7bb2fe
Remove the developer newsletter
hellcp Nov 11, 2025
8193c8c
app-resources: fix emery size and tags
jwise Nov 10, 2025
3f6bbb9
Unify the svg files to the same size
hellcp Nov 18, 2025
0f10ee4
Render svgs into pngs for embedding
hellcp Nov 18, 2025
8e781e0
Add opengraph tags for embedding on social media
hellcp Nov 13, 2025
e7a1a1f
coredevices logo for coredevices docs
jplexer Jan 5, 2026
d33b3d6
Display different colour/icon for different layouts
hellcp Nov 18, 2025
49a49e1
Update some of the FAQs.
radostin04 Nov 25, 2025
0330cf7
build(deps): bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
6953b12
Update the online communities section with newer logos
hellcp Nov 23, 2025
26ee105
Remove the note about new information being added when the preview of…
radostin04 Dec 4, 2025
944c1e2
Add dependencies for Fedora (#82)
mortenfyhn Dec 4, 2025
6915b42
ci: replace --nojs flag with --js-engine
Sorixelle Dec 6, 2025
93b2528
Add redirects to the lost sections
hellcp Dec 4, 2025
9344940
Fix bad custom animation example
a1291762 Nov 26, 2025
7871976
Add clarifications for battery life and waterproofing
radostin04 Dec 2, 2025
537106c
Add post-2015 platforms to color table
lavglaab Jan 2, 2026
d74802d
Add Aseprite color palette files
lavglaab Jan 2, 2026
920b3d3
Fix aseprite sunlight link
Niashi24 Jan 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout pebble-firmware
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: pebble-dev/pebble-firmware
ref: main
Expand All @@ -27,7 +27,7 @@ jobs:

- name: Build aplite SDK
run: |
./waf configure --board bb2 --nojs
./waf configure --board bb2 --js-engine none
./waf build --onlysdk

- name: Build basalt SDK
Expand All @@ -40,7 +40,7 @@ jobs:
./waf docs_sdk

- name: Publish docs artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: docs-c
path: |
Expand All @@ -53,7 +53,7 @@ jobs:

steps:
- name: Checkout pebble-android-sdk
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: pebble-dev/pebble-android-sdk

Expand All @@ -63,7 +63,7 @@ jobs:
./gradlew releaseJavadoc

- name: Publish docs artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: docs-android
path: PebbleKit/PebbleKit/build/docs/javadoc
Expand All @@ -74,12 +74,12 @@ jobs:

steps:
- name: Checkout pebble-ios-sdk
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: pebble/pebble-ios-sdk

- name: Publish docs artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: docs-ios
path: PebbleKit-iOS.docset/Contents/Resources/Documents
Expand All @@ -93,10 +93,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Download docs artifacts
uses: actions/download-artifact@v5
uses: actions/download-artifact@v6
with:
pattern: docs-*
path: /tmp/docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -23,7 +23,7 @@ jobs:
SKIP_DOCS: true # TODO: remove once we can get docs artifacts in here easily

- name: Upload report artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
if: always()
with:
name: test-report
Expand Down
38 changes: 3 additions & 35 deletions source/_data/faqs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"title": "Pebble SDK",
"questions": [
{
"question": "What are the Aplite, Basalt, and Chalk platforms?",
"answer": "These are the platform names we use to describe our different generations of watches. Aplite refers to the original Pebble and Pebble Steel. Basalt refers to Pebble Time. Chalk refers to Pebble Time Round."
"question": "What are the Aplite, Basalt, Chalk, Diorite, Emery and Flint platforms?",
"answer": "These are the platform names used to describe different generations of watches. For example, Aplite refers to the original Pebble and Pebble Steel. You can find a full list, as well as information about the capabilities of each platform, on the [Hardware Information page](/guides/tools-and-resources/hardware-information)"
},
{
"question": "I cannot find the \"Developer Mode\" or \"Developer Connection\" toggle in the iOS or Android application",
Expand Down Expand Up @@ -58,38 +58,6 @@
}
]
},
{
"title": "App Publishing",
"questions": [
{
"question": "My companion app got rejected",
"answer": "It probably hasn't been accepted yet. You will get a confirmation email from pebbledev after it has been submitted to Apple. After this, it will be 2-3 days for it to be officially in the MFi program."
}
],
"hidden-questions": [
{
"question": "When is JS bundling?",
"answer": "Check tweets from @pebbledev and the bundling [forum thread](https://forums.getpebble.com/discussion/12451/pebble-js-bundling-updates)"
},
{
"question": "Why does this app say 'coming soon'?",
"answer": "See 'When is JS bundling?'"
},
{
"question": "I don't want this app to show 'coming soon'",
"answer": "Publish the release, but don't press 'Make Public'. The JS will still be included in the next bundling. Once it has been bundled, make it public."
}
]
},
{
"title": "Hardware Issues",
"questions": [
{
"question": "My screen is artifacting/flashing/ customer support issues",
"answer": "Contact [support@getpebble.com](mailto:support@getpebble.com) for RMA issues."
}
]
},
{
"title": "Pebble SDK 1.x Migration",
"questions": [
Expand All @@ -99,4 +67,4 @@
}
]
}
]
]
12 changes: 12 additions & 0 deletions source/_data/redirects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2751,3 +2751,15 @@
-
- /guides/pebble-imeline/pin-structure
- /guides/pebble-timeline/pin-structure/
-
- /sdk/download/
- /sdk
-
- /sdk/install/mac/
- /sdk/#macos
-
- /sdk/install/linux/
- /sdk/#ubuntu
-
- /sdk/install/windows/
- /sdk/#windows
6 changes: 6 additions & 0 deletions source/_guides/app-resources/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ shown below:
| Aplite | 2 (black and white) |
| Basalt | 64 colors |
| Chalk | 64 colors |
| Diorite | 2 (black and white) |
| Emery | 64 colors |
| Flint | 2 (black and white) |


## Color Palettes
Expand All @@ -47,6 +50,9 @@ are available below. Use these when creating color image resources:

* [Photoshop `.act`](/assets/other/pebble_colors_64.act)

* [Aseprite (raw colors, for watch displays) `.aseprite`](/assets/other/pebble_colors_uncorrected.aseprite)
* [Aseprite (Sunlight, color-corrected for HD displays) `.aseprite`](/assets/other/pebble_colors_sunlight.aseprite)

* [Illustrator `.ai`](/assets/other/pebble_colors_64.ai)

* [GIMP `.pal`](/assets/other/pebble_colors_64.pal)
Expand Down
22 changes: 11 additions & 11 deletions source/_guides/app-resources/platform-specific.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ platform.

The follows tags exist for each platform:

| Aplite | Basalt | Chalk | Diorite | Emery | Flint |
|---------|------------|------------|---------|------------|--------|
| rect | rect | round | rect | rect | rect |
| bw | color | color | bw | color | bw |
| aplite | basalt | chalk | diroite | emery | flint |
| 144w | 144w | 180w | 144w | 200w | 144w |
| 168h | 168h | 180h | 168h | 228h | 168h |
| Aplite | Basalt | Chalk | Diorite | Emery | Flint |
|---------|------------|------------|---------|------------|---------|
| rect | rect | round | rect | rect | rect |
| bw | color | color | bw | color | bw |
| aplite | basalt | chalk | diorite | emery | flint |
| 144w | 144w | 180w | 144w | 200w | 144w |
| 168h | 168h | 180h | 168h | 228h | 168h |
| compass | compass | compass | | compass | compass |
| | mic | mic | mic | mic | mic |
| | strap | strap | strap | strap | strap |
| | strappower | strappower | | | |
| | health | health | health | health | health |
| | mic | mic | mic | mic | mic |
| | strap | strap | strap | strap | |
| | strappower | strappower | | strappower | |
| | health | health | health | health | health |


To tag a resource, add the tags after the file's using tildes (`~`) — for
Expand Down
9 changes: 5 additions & 4 deletions source/_guides/best-practices/building-for-every-pebble.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ order: 0
The difference in capabilities between the various Pebble hardware platforms are
listed in
{% guide_link tools-and-resources/hardware-information %}. For example, the
Basalt, Chalk and Emery platforms support 64 colors, whereas the Aplite and
Diorite platforms only support two colors. This can make developing apps with
Basalt, Chalk and Emery platforms support 64 colors, whereas the Aplite, Diorite
and Flint platforms only support two colors. This can make developing apps with
rich color layouts difficult when considering compatibility with other non-color
hardware. Another example is using platform specific APIs such as Health or
Dictation.
Expand Down Expand Up @@ -101,6 +101,7 @@ better used to select an entire block of code.
| `PBL_PLATFORM_CHALK` | None | Built for Pebble Time Round. |
| `PBL_PLATFORM_DIORITE` | None | Built for Pebble 2. |
| `PBL_PLATFORM_EMERY` | None | Built for Pebble Time 2. |
| `PBL_PLATFORM_FLINT` | None | Built for Pebble 2 Duo. |
| `PBL_SDK_2` | None | Compiling with SDK 2.x (deprecated). |
| `PBL_SDK_3` | None | Compiling with SDK 3.x. or 4.x. |

Expand Down Expand Up @@ -135,7 +136,7 @@ static void window_load(Window *window) {
```

The hardcoded width and height of this layer will cover the entire screen on
Aplite, Basalt and Diorite, but not on Chalk or Emery. This kind of screen
Aplite, Basalt, Diorite and Flint, but not on Chalk or Emery. This kind of screen
size-dependant calculation should use the ``UnobstructedArea`` bounds of the
``Window`` itself:

Expand Down Expand Up @@ -323,7 +324,7 @@ With the availability of color support on Basalt, Chalk and Emery, developers
may wish to include color versions of resources that had previously been
pre-processed for Pebble's black and white display. Including both versions of
the resource is expensive from a resource storage perspective, and lays the
burden of packing redundant color resources in an Aplite or Diorite app when
burden of packing redundant color resources in an Aplite, Diorite or Flint app when
built for multiple platforms.

To solve this problem, the Pebble SDK allows developers to specify which version
Expand Down
1 change: 1 addition & 0 deletions source/_guides/events-and-services/dictation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ platforms:
- chalk
- diorite
- emery
- flint
related_docs:
- Dictation
related_examples:
Expand Down
1 change: 1 addition & 0 deletions source/_guides/events-and-services/health.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ platforms:
- chalk
- diorite
- emery
- flint
related_docs:
- HealthService
related_examples:
Expand Down
14 changes: 8 additions & 6 deletions source/_guides/graphics-and-animations/animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,13 @@ static void implementation_update(Animation *animation,
static void implementation_teardown(Animation *animation) {
APP_LOG(APP_LOG_LEVEL_INFO, "Animation finished!");
}

// This needs to exist while the event loop runs
static const AnimationImplementation s_implementation = {
.setup = implementation_setup,
.update = implementation_update,
.teardown = implementation_teardown
};
```

Once these are in place, create a new ``Animation`` , specifying the new custom
Expand All @@ -187,12 +194,7 @@ animation_set_delay(animation, 1000);
animation_set_duration(animation, 1000);

// Create the AnimationImplementation
const AnimationImplementation implementation = {
.setup = implementation_setup,
.update = implementation_update,
.teardown = implementation_teardown
};
animation_set_implementation(animation, &implementation);
animation_set_implementation(animation, &s_implementation);

// Play the Animation
animation_schedule(animation);
Expand Down
5 changes: 1 addition & 4 deletions source/_guides/tools-and-resources/hardware-information.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,4 @@ The table below details the differences between hardware platforms:

See
{% guide_link best-practices/building-for-every-pebble#available-defines-and-macros "Available Defines and Macros" %}
for a complete list of compile-time defines available.

**NOTE:** We'll be updating the "Building for Every Pebble Guide" and "Available
Defines and Macros" list when we release the first preview version of SDK 4.0.
for a complete list of compile-time defines available.
2 changes: 1 addition & 1 deletion source/_guides/user-interfaces/content-size.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ and `ContentSize`:

Platform | Text Size: Small | Text Size: Medium | Text Size: Large
---------|------------------|-------------------|-----------------
Aplite, Basalt, Chalk, Diorite | ContentSize: Small | ContentSize: Medium | ContentSize: Large
Aplite, Basalt, Chalk, Diorite, Flint | ContentSize: Small | ContentSize: Medium | ContentSize: Large
Emery | ContentSize: Medium | ContentSize: Large | ContentSize: Extra Large

> *At present the Text Size setting only affects notifications and some system
Expand Down
32 changes: 0 additions & 32 deletions source/_includes/blog/newsletter.html

This file was deleted.

Loading
Loading