Skip to content

Commit cd0d85d

Browse files
committed
Merge branch 'develop' of
https://github.com/JF002/InfiniTime into StepsApp
2 parents 5fc07a8 + eedff2c commit cd0d85d

177 files changed

Lines changed: 10342 additions & 10894 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-format

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ AlwaysBreakAfterDefinitionReturnType: None
2121
AlwaysBreakAfterReturnType: None
2222
AlwaysBreakBeforeMultilineStrings: false
2323
AlwaysBreakTemplateDeclarations: MultiLine
24-
BinPackArguments: true
25-
BinPackParameters: true
24+
BinPackArguments: false
25+
BinPackParameters: false
2626
BraceWrapping:
2727
AfterCaseLabel: false
2828
AfterClass: false
@@ -52,14 +52,14 @@ BreakStringLiterals: true
5252
ColumnLimit: 140
5353
CommentPragmas: '^ IWYU pragma:'
5454
CompactNamespaces: false
55-
ConstructorInitializerAllOnOneLineOrOnePerLine: false
55+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
5656
ConstructorInitializerIndentWidth: 2
5757
ContinuationIndentWidth: 2
5858
Cpp11BracedListStyle: true
5959
DeriveLineEnding: false
6060
DerivePointerAlignment: false
6161
DisableFormat: false
62-
ExperimentalAutoDetectBinPacking: false
62+
ExperimentalAutoDetectBinPacking: true
6363
FixNamespaceComments: false
6464
ForEachMacros:
6565
- foreach
@@ -90,10 +90,6 @@ MacroBlockBegin: ''
9090
MacroBlockEnd: ''
9191
MaxEmptyLinesToKeep: 1
9292
NamespaceIndentation: All
93-
ObjCBinPackProtocolList: Auto
94-
ObjCBlockIndentWidth: 2
95-
ObjCSpaceAfterProperty: false
96-
ObjCSpaceBeforeProtocolList: true
9793
PenaltyBreakAssignment: 2
9894
PenaltyBreakBeforeFirstCallParameter: 19
9995
PenaltyBreakComment: 300

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
.idea/
2+
# Python virtual environment for DFU images
3+
.venv/
4+
25
# CMake
36
cmake-build-*
47
cmake-*

README.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ The goal of this project is to design an open-source firmware for the Pinetime s
2424

2525
## Overview
2626

27-
![Pinetime screens](images/0.14.0/collage1.png "PinetimeScreens")
28-
![Pinetime screens](images/0.14.0/collage2.png "PinetimeScreens")
27+
![Pinetime screens](images/1.0.0/collage.png "PinetimeScreens")
2928

3029
As of now, here is the list of achievements of this project:
3130

@@ -37,32 +36,46 @@ As of now, here is the list of achievements of this project:
3736
- Heart rate measurements
3837
- Step counting
3938
- Wake-up on wrist rotation
40-
- Multiple 'apps' :
41-
* Clock (displays the date, time, battery level, ble connection status, heart rate)
42-
* System info (displays various info : BLE MAC, build date/time, uptime, version,...)
43-
* Brightess (allows the user to configure the brightness of the display)
39+
- Quick actions
40+
* Disable vibration on notification
41+
* Brightness settings
42+
* Flashlight
43+
* Settings
44+
- 2 watch faces:
45+
* Digital
46+
* Analog
47+
- Multiple 'apps' :
4448
* Music (control the playback of the music on your phone)
4549
* Heart rate (controls the heart rate sensor and display current heartbeat)
4650
* Navigation (displays navigation instructions coming from the companion app)
4751
* Notification (displays the last notification received)
4852
* Paddle (single player pong-like game)
4953
* Two (2048 clone game)
5054
* Stopwatch (with all the necessary functions such as play, pause, lap, stop)
55+
* Motion sensor and step counter (displays the number of steps and the state of the motion sensor in real-time)
56+
- User settings:
57+
* Display timeout
58+
* Wake-up condition
59+
* Time format (12/24h)
60+
* Default watch face
61+
* Battery status
62+
* Firmware validation
63+
* System information
5164
- Supported by 3 companion apps (development is in progress):
5265
* [Gadgetbridge](https://codeberg.org/Freeyourgadget/Gadgetbridge/) (on Android)
5366
* [Amazfish](https://openrepos.net/content/piggz/amazfish) (on SailfishOS and Linux)
5467
* [Siglo](https://github.com/alexr4535/siglo) (on Linux)
5568
* **[Experimental]** [WebBLEWatch](https://hubmartin.github.io/WebBLEWatch/) Synchronize time directly from your web browser. [video](https://youtu.be/IakiuhVDdrY)
56-
- **[Experimental]** OTA (Over-the-air) update via BLE
57-
- **[Experimental]** Bootloader based on [MCUBoot](https://juullabs-oss.github.io/mcuboot/)
69+
- OTA (Over-the-air) update via BLE
70+
- [Bootloader](https://github.com/JF002/pinetime-mcuboot-bootloader) based on [MCUBoot](https://juullabs-oss.github.io/mcuboot/)
5871

5972
## Documentation
6073

6174
### Getting started
6275
- [Flash, upgrade (OTA), time synchronization,...](doc/gettingStarted/gettingStarted.md)
6376

6477
### Develop
65-
- [Generate the fonts and symbols](src/displayapp/fonts/Readme.md)
78+
- [Generate the fonts and symbols](src/displayapp/fonts/README.md)
6679
- [Creating a stopwatch in Pinetime(article)](https://pankajraghav.com/2021/04/03/PINETIME-STOPCLOCK.html)
6780

6881
### Build, flash and debug

images/1.0.0/collage.png

1.43 MB
Loading

src/BootloaderVersion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ uint32_t BootloaderVersion::Patch() {
1717
return 0;
1818
}
1919

20-
const char *BootloaderVersion::VersionString() {
20+
const char* BootloaderVersion::VersionString() {
2121
return "0.0.0";
2222
}
2323

src/BootloaderVersion.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace Pinetime {
44
class BootloaderVersion {
5-
public:
6-
static uint32_t Major();
7-
static uint32_t Minor();
8-
static uint32_t Patch();
9-
static const char* VersionString();
10-
static bool IsValid();
5+
public:
6+
static uint32_t Major();
7+
static uint32_t Minor();
8+
static uint32_t Patch();
9+
static const char* VersionString();
10+
static bool IsValid();
1111
};
1212
}

0 commit comments

Comments
 (0)