||5 months ago|
|.devcontainer||9 months ago|
|.github||8 months ago|
|.idea/codeStyles||2 years ago|
|.vscode||11 months ago|
|Dependencies||7 months ago|
|bootloader||10 months ago|
|cmake-nRF5x||9 months ago|
|doc||8 months ago|
|docker||9 months ago|
|hooks||2 years ago|
|src||5 months ago|
|tests||8 months ago|
|tools||1 year ago|
|.clang-format||1 year ago|
|.clang-tidy||2 years ago|
|.gitattributes||2 years ago|
|.gitconfig||2 years ago|
|.gitignore||7 months ago|
|.gitmodules||7 months ago|
|.gitpod.yml||2 years ago|
|CMakeLists.txt||8 months ago|
|CONTRIBUTING.md||2 years ago|
|COPYING_DRINKCOUNTER||7 months ago|
|LICENSE||3 years ago|
|MacoyBuild.sh||7 months ago|
|README.md||7 months ago|
|gcc_nrf52-mcuboot.ld||2 years ago|
|gcc_nrf52.ld||2 years ago|
|nrf52.svd||1 year ago|
|nrf_common.ld||3 years ago|
Macoy's InfiniTime fork
My fork adds an application, Drink Counter. This prototype application is intended to help me monitor my alcohol consumption to minimize negative effects both in the short term and the long term.
I based the application's parameters off of the NIH's drinking guidelines. My BAC estimator uses Widmark's equation.
I retain copyright over my modifications (those in the
drink-counter fork marked with my name). I use the same license as InfiniTime, GPL v3 (or greater, for me at least).
The regular InfiniTime readme follows.
Fast open-source firmware for the PineTime smartwatch with many features, written in modern C++.
New to InfiniTime?
- Gadgetbridge (Android)
- AmazFish (SailfishOS)
- Siglo (Linux)
- InfiniLink (iOS) [Looking for a new maintainer]
- ITD (Linux)
Note : We removed mentions to NRFConnect as this app is closed source and recent versions do not work anymore with InfiniTime (the last version known to work is 4.24.3). If you used NRFConnect in the past, we recommend you switch to Gadgetbridge.
- InfiniTime Vision
- Rough structure of the code
- How to implement an application
- Generate the fonts and symbols
- Tips on designing an app UI
- Bootloader, OTA and DFU
- External resources
- Project branches
- Files included in the release notes
Build, flash and debug
- InfiniTime simulator
- Build the project
- Build the project with Docker
- Build the project with VSCode
- Flash the firmware using OpenOCD and STLinkV2
- Flash the firmware using SWD interface
- Flash the firmware using JLink
- Flash the firmware using GDB
- Stub using NRF52-DK
Architecture and technical topics
This project is released under the GNU General Public License version 3 or, at your option, any later version.
It integrates the following projects:
- RTOS : FreeRTOS under the MIT license
- UI : LittleVGL/LVGL under the MIT license
- BLE stack : NimBLE under the Apache 2.0 license
- Font : Jetbrains Mono under the Apache 2.0 license
I’m not working alone on this project. First, many people create PR for this projects. Then, there is the whole #pinetime community : a lot of people all around the world who are hacking, searching, experimenting and programming the Pinetime. We exchange our ideas, experiments and code in the chat rooms and forums.
Here are some people I would like to highlight:
- Atc1441 : He works on an Arduino based firmware for the Pinetime and many other smartwatches based on similar hardware. He was of great help when I was implementing support for the BMA421 motion sensor and I²C driver.
- Koen : He’s working on a firmware based on RiotOS. He integrated similar libs as me : NimBLE, LittleVGL,… His help was invaluable too!
- Lup Yuen Lee : He is everywhere: he works on a Rust firmware, builds a MCUBoot based bootloader for the Pinetime, designs a Flutter based companion app for smartphones and writes a lot of articles about the Pinetime!