I added settings for Drink Counter. I plan on adding tuning variables, but for now this just lets you log drinks from previous days that you forgot to track right when you drank them. I also moved the reset button to settings.
|2 weeks ago|
|.devcontainer||3 months ago|
|.github||2 months ago|
|.idea/codeStyles||1 year ago|
|.vscode||5 months ago|
|Dependencies||2 weeks ago|
|bootloader||4 months ago|
|cmake-nRF5x||3 months ago|
|doc||2 months ago|
|docker||3 months ago|
|hooks||1 year ago|
|src||2 weeks ago|
|tests||2 months ago|
|tools||6 months ago|
|.clang-format||6 months ago|
|.clang-tidy||1 year ago|
|.gitattributes||2 years ago|
|.gitconfig||2 years ago|
|.gitignore||2 weeks ago|
|.gitmodules||2 weeks ago|
|.gitpod.yml||2 years ago|
|CMakeLists.txt||2 months ago|
|CONTRIBUTING.md||1 year ago|
|COPYING_DRINKCOUNTER||2 weeks ago|
|LICENSE||2 years ago|
|MacoyBuild.sh||2 weeks ago|
|README.md||2 weeks ago|
|gcc_nrf52-mcuboot.ld||1 year ago|
|gcc_nrf52.ld||1 year ago|
|nrf52.svd||6 months ago|
|nrf_common.ld||3 years ago|
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!