febrezo 6c7eb6630e Fix git hash calculation with Docker build
Fix error when compiling the Pinetime using the Docker image.
If done with Docker, the container does not trust the /sources
folder, leading to a blank response of the command that grabs
the git commit `git rev-parse --short HEAD`.

```
fatal: detected dubious ownership in repository at '/sources'
To add an exception for this directory, call:

        git config --global --add safe.directory /sources
PROJECT_GIT_COMMIT_HASH_SUCCESS? 128

BUILD CONFIGURATION
-------------------
    * Mode : Release
    * Version : 1.3.0
    * Toolchain : /opt/gcc-arm-none-eabi-10.3-2021.10
    * GitRef(S) :
    * NRF52 SDK : /opt/nRF5_SDK_15.3.0_59ac345
    * Target device : PINETIME
    * Build DFU (using adafruit-nrfutil) : Enabled
    * Build resources : Enabled
```

If the `git config --global --add safe.directory /sources` is
added to the Dockerfile, the problem is solved and the hash is
added correctly.
2024-11-17 15:22:22 +01:00
2024-02-25 13:17:19 +01:00
2024-10-23 19:00:48 +02:00
2023-01-04 17:15:33 +01:00
2021-01-30 18:52:14 +02:00
2021-01-30 18:48:06 +02:00
2021-01-05 00:34:15 +00:00
2024-01-06 15:21:29 +01:00
2020-08-02 17:38:51 +02:00
2022-06-05 09:31:23 +03:00
2024-11-17 00:10:20 +00:00

Header Image


GitHub tag GitHub License Issues - InfiniTime Pull Requests - InfiniTime Downloads - InfiniTime Stars - InfiniTime Forks - InfiniTime

InfiniTime

Fast open-source firmware for the PineTime smartwatch with many features, written in modern C++.


New to InfiniTime?

Companion apps


InfiniTimeExplorer is only compatible with web browsers that support Web BLE. Current fully supported browsers include Chrome and Microsoft Edge.

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.

Development

Contributing

Build, flash and debug

API

Architecture and technical topics

Project management

Licenses

This project is released under the GNU General Public License version 3 or, at your option, any later version.

It integrates the following projects:

Credits

Im not working alone on this project. First, many people create pull requests for this project. 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: Hes 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!
Description
Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
Readme
Languages
C 87.9%
C++ 8.9%
Python 1.7%
CMake 0.9%
Ruby 0.3%
Other 0.3%