A embedded-hal and rtfm powered PineTime firmware.
The XO is typically responsible for the management of day-to-day activities, freeing the commander to concentrate on strategy and planning the unit's next move. - Wikipedia
Clone, build and flash the firmware. I use a ST-LINK/V2 clone and openocd to upload the binary.
git clone https://github.com/wose/xochron.git
cd xochron/xochron
cargo build --release
# start openocd in another terminal after connecting your STLink to your pinewatch
openocd -f interface/stlink-v2.cfg -f target/nrf52.cfg
# start gdb, it will connect to openocd upload and run the firmware
arm-none-eabi-gdb ../target/thumbv7em-none-eabihf/release/xochron
ic | datasheet | driver crate |
---|---|---|
nRF52832 | Product Brief (PDF) | nrf52832-hal |
Product Specification (PDF) | ||
ST7789V | ST7789V (PDF) | st7735-lcd, st7789, st7789v |
XTX XT25F32B | similar Macronix (PDF) | |
Hynitron CST816S | CST816S EN (PDF) | |
BMA421 | BMA400 (PDF) | |
HRS3300 | HRS3300 (PDF) | hrs3300-rs |
You can find more detailed information in the pine64 wiki.