sethitow / mbed-pinetime

Pinetime Firmware based on Arm MbedOS.
16 stars 2 forks source link
mbed pine64 pinetime

Animated GIF of Pinetime demo

Getting Started

These instructions are macOS centric right now, but the Mbed toolchain will work on Mac, Windows, and Linux. Improvments to these instructions are welcome.

Install the arm-eabi-none toolchain

brew tap PX4/homebrew-px4
brew install PX4/homebrew-px4/gcc-arm-none-eabi-63

Optionally, install nrfjprog

brew cask install nordic-nrf-command-line-tools

Checkout all submodules git submodule update --init --recursive.

Install all the Python packages required for Mbed. Your options are:

To use the Makefiles, you must set the environment variable MBED_PINETIME_PATH to the root of the repository. If anyone has ideas on how to not need this or otherwise improve the build system, let me know.

Development Notes

I2C

00> 0x15 Touchpad

00> 0x18 ACK Accelerometer

00> 0x44 ACK HALS3300 Heart Rate Sensor

SPI

Flash:

Display:

I can't get the physical button to work for the life of me. Someone please help 😂