PineTime firmware toolkit based on Zephyr Project RTOS.
A collection of drivers, libraries and samples to build your own PineTime smart watch firmware.
Read the tutorial! A helpful manual is included in the repository:
- Follow the Zephyr Getting Started Guide to create a new project
- Copy the contents of this repository (board definition, drivers and samples) into your project
- Build a sample firmware
$ west build -p -b pinetime samples/basic/blinky
- Connect a PineTime and flash your firmware
$ west flash
- Enjoy!
See the manual above for more details.
In this repository you can find modified directories that need to be copied to the base Zephyr project directory to add support for the PineTime board.
- pinetime Contains the board definition -> boards/arm.
- samples Added and updated samples for blinky, ST7789V display etc.
- ...
- the display
- bluetooth BLE
- graphics libraries
-
- LittlevGL
-
- Adafruit GFX
- RTC
- Serial NOR flash
- accel sensor - heart rate sensor
- HR detection (algorithm)
- testing accel sensor interrupt
- touchscreen
- powermanagement
- DFU (wireless firmware update)
- CTS (setting time in bluetooth)