Giter VIP home page Giter VIP logo

watchful's Introduction

CI

Watchful

(Anagram for ulfwatch)

Real Time Async Enterprise Watch OS written in Rust!

Firmware for Pinetime based on Embassy. The goal is to provide a firmware for the PineTime that is written in Rust and can function as watch OS.

PineTime on my arm running Watchful

Features

  • Implements Nordic DFU protocol so you can update from a phone app such as nRF Connect.
  • Automatically synchronizes time with using BLE standard Current Time Service.
  • Use external flash (4MB) for firmware updates and persistence.
  • Rollback to previous firmware if reset or crashing before new firmware is validated in watch UI.
  • Can be installed from Infinitime using DFU.

Getting started

The recommended way to run Watchful is to get a PineTime Development Kit, to which you can connect a debug probe. To run Watchful, you need to download the latest S132 SoftDevice. For flashing and running with the debug probe, probe-rs is recommended.

To run Watchful:

# Installing the softdevice
probe-rs download path-to-softdevice.hex --format Hex --chip nRF52832_xxAA

# Flashing the bootloader
cd firmware/boot
cargo flash --release

# Flashing the OS
cd ../app
cargo flash --release

Updating firmware

Once you have Watchful running, you can use an app such as nRF Connect on Android or iOS using the DFU functionality with the latest release.

DANGER Reflashing your sealed PineTime from InfiniTime to Watchful

If you want to reflash your sealed PineTime to Watchful, it is possible. But there is a chance to brick your PineTime, so don't do this unless you've tried it a few times on a devkit and feel confident. Also consider the fact that once you go to Watchful, there is no way to go back at the moment.

I take no responsibilty of broken PineTimes, you are hereby warned :)

With that out of the way,

watchful's People

Contributors

alimoal avatar lulf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.