Skip to content

najnesnaj/pinetime-zephyr

Repository files navigation

PineTime Zephyr

PineTime firmware toolkit based on Zephyr Project RTOS.

A collection of drivers, libraries and samples to build your own PineTime smart watch firmware.

Contributing to this project

All aid is welcome, but I do not have time to test and debug your contributions.

Where To Start?

Read the tutorial! A helpful manual is included in the repository:

Installation Overview

  1. Follow the Zephyr Getting Started Guide to install zephyr SDK and tools.
  2. Install west meta tool (https://docs.zephyrproject.org/latest/guides/west/install.html).
  3. Create a working directory and enter it.
mkdir work
cd work
  1. Use west to clone pinetime repository and initialize pinetime project.
west init -m https://github.com/najnesnaj/pinetime-zephyr

Alternatively, you can also clone using manifest from specific branch or tag:

west init -m https://github.com/<user>/pinetime-zephyr --mr <branch>
  1. Use west to use clone and checkout all dependant repositories specified in west.yml (inluding zephyr).
west update
  1. Enjoy!

If you used zephyr and west before and want to stick to the same zephyr copy then you can clone pinetime next to zephyr in working directory and update manifest and west.

west config manifest.path pinetime

Resources:

What Is Included?

In this repository you can find files that supplement a zephyr installation.

  • board definition Contains the board definition for the pinetime.
  • drivers Contains the drivers for the pinetime.
  • samples Modified samples for blinky, new samples for the ST7789V display etc.

Project Roadmap

DONE

  • the display
  • bluetooth BLE
  • graphics libraries
    • LittlevGL
    • Adafruit GFX
  • RTC
  • Serial NOR flash
  • accel sensor
  • heart rate sensor

TODO

  • HR detection (algorithm)
  • build-in features of bosch accel sensor (eg step counter)
  • testing accel sensor interrupt
  • touchscreen
  • powermanagement
  • DFU (wireless firmware update)
  • CTS (setting time in bluetooth)

About

pinetime smartwatch nrf52 zephyr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •