Difference between revisions of "InfiniTime"

From PINE64
Jump to navigation Jump to search
(add 14th release)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== InfiniTime ==
== InfiniTime ==
InfiniTime (also known as JF's project, FreeRTOS firmware or Pinetime-JF) is an open source (GPLv3) firmware written in C++ and based on FreeRTOS, LVGL and NimBLE. This firmware (version 0.7.1) is preloaded at the factory since the new batch of PineTime devkits and sealed PineTimes of end of September 2020.
InfiniTime (also known as JF's project, FreeRTOS firmware or Pinetime-JF) is an open source (GPLv3) firmware written in C++ and based on FreeRTOS, LVGL and NimBLE. This firmware (version 0.7.1) is preloaded at the factory since the new batch of PineTime devkits and sealed PineTimes of end of September 2020. '''This page contains general information about the project. Actual project documentation and nuances are documented in the repository'''


* Github repo : https://github.com/JF002/InfiniTime
* GitHub repo : https://github.com/InfiniTimeOrg/InfiniTime
* Official website : https://infinitime.io/
* Official website : https://infinitime.io/


== Read this first! ==
== Read this first! ==
* PineTime is still considered as a development device. InfiniTime and the bootloader are still in heavy development, and some features might not work as expected.
* InfiniTime and the bootloader are still in heavy development, and some features might not work as expected. Any issues should be reported on GitHub.
* OTA is a critical feature which is still considered as risky on sealed devices. There is no known way to recover a sealed device from a failed OTA upgrade.
* Do not use a sealed PineTime as a development device, there is a fair amount of chances that you'll brick it with very experimental firmware.
* There is currently no way to upgrade the bootloader on a sealed device.
* OTA is relatively stable, but when you're on an outdated bootloader version it can freeze which will require you to wait for the battery to run out.
* Do not use a sealed PineTime as a development device, there is a lot of chances that you'll brick it.


== Known issues ==
== Known issues ==
Line 17: Line 16:
This issue occurs if you are using the original bootloader (from InfiniTime 0.7.1), upgraded from InfiniTime 0.7.1 to 0.8.2 and the watch resets while the display is OFF : the watch is stuck on a black screen and does not respond to touch, button press or BLE.
This issue occurs if you are using the original bootloader (from InfiniTime 0.7.1), upgraded from InfiniTime 0.7.1 to 0.8.2 and the watch resets while the display is OFF : the watch is stuck on a black screen and does not respond to touch, button press or BLE.


The reset can be triggered by the watchdog or manually by long pressing the button.
The reset can be triggered by the watchdog or manually by long pressing the button. If that doesn't work, wait for the battery to run out, it'll reboot then.


This issue is caused by InfiniTime 0.8.2 that put the external SPI flash memory to sleep before switching the display off and by the bootloader that cannot wake the memory chip up. The bootloader is stuck in an infinite loop.
This issue is caused by InfiniTime 0.8.2 that put the external SPI flash memory to sleep before switching the display off and by the bootloader that cannot wake the memory chip up. The bootloader is stuck in an infinite loop.
Line 34: Line 33:


== Releases ==  
== Releases ==  
In the order of oldest first.
=== [https://github.com/JF002/InfiniTime/releases/tag/0.7.1 Version 0.7.1] ===
=== [https://github.com/JF002/InfiniTime/releases/tag/0.7.1 Version 0.7.1] ===
This is the version that ships with PineTime devkits and sealed PineTime as of September 2020.
This is the version that ships with PineTime devkits and sealed PineTime as of September 2020.
Line 82: Line 84:
* BLE connectivity improved a bit more
* BLE connectivity improved a bit more


=== [https://github.com/JF002/InfiniTime/releases/tag/0.14.0 Version 0.14.0] ===
=== [https://github.com/JF002/InfiniTime/releases/tag/0.14.0 Version 0.14.0 "Green Avocado"] ===
* LVGL 7
* LVGL 7
* Bugfixes to the build process
* Bugfixes to the build process
=== [https://github.com/JF002/InfiniTime/releases/tag/0.14.1 Version 0.14.1] ===
* New Recovery firmware
* MCUBoot based [https://github.com/JF002/pinetime-mcuboot-bootloader/releases/tag/1.0.0 bootloader]
=== [https://github.com/JF002/InfiniTime/releases/tag/0.15.0 Version 0.15.0 "Yellow Banana"] ===
* Analog watch face
* Support for switching watch faces
* Stopwatch app
=== [https://github.com/JF002/InfiniTime/releases/tag/1.0.0 Version 1.0.0 "Red Cherry"] ===
* Motion sensor integration
* Step countin
* UI redesign
* Quick action menu:
  * Brightness setting
  * Do not disturb mode (disable vibrations on notifications)
  * Flash light application
* Settings menu allowing configuration of:
  * Display timeout
  * Wakeup source (button only, single tap, double tap and wrist rotation)
  * Time format (12/24H)
  * Watchface
* New navigation flow :
* User settings stored in flash memory and restored on reset
=== [https://github.com/JF002/InfiniTime/releases/tag/1.1.0 Version 1.1.0 "Dragon Fruit"] ===
* Steps application
* Timer application
* UI improvements
* Clang-format and clang-tidy config files
* Bugfixes
=== [https://github.com/JF002/InfiniTime/releases/tag/1.2.0 Version 1.2.0 "Blue-purple Elderberry"] ===
* Added support for alternate accelerometer part BMA425
* Metronome app
* Memory usage optimizations
* Bugfixes, minor improvements and code cleanup
=== [https://github.com/JF002/InfiniTime/releases/tag/1.3.0 Version 1.3.0 "Purple Fig"] ===
* LittleFS integration
* New watchface, PineTimeStyle
* Battery level notification on BLE (supported by Gadgetbridge)
* Improved stopwatch app, Paddle game and call notifications
* Firmware update app is now more foolproof
* The SPI flash is put in sleep mode when the watch goes to sleep (only if the new bootloader is detected)
* UI improvements (better 'tick' handling in LVGL, more consistent refresh rate)
* Various improvements and code cleaning
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.4.0 Version 1.4.0 "Pink Grapefruit"] ===
* Improved touch driver
* Color customization for background, text and lateral bar of PineTimeStyle
* UI improvements for better use of the small screen, and screen dimming before display sleeps
* Call notification improvements
* Battery level improvements
* Attempts to fix bootloop issue
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.5.0 Version 1.5.0 "Huckleberry"] ===
* Alarm app
* Vibration improvements
* Ability to recover time after a reset
* BLE improvements
* Battery level improvements
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.6.0 Version 1.6.0 "Ice Apple"] ===
* A new BLE Fix
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.7.0 Version 1.7.0 "Jackfruit"] ===
* More accurate battery percentage
* Faster wakeup (video)
* New touch handler
* Wake on notification and charge
* Memory usage and speed optimizations
* Motion service (video)
* Flashlight brightness changes
* Manual date and time setting
* Battery percentage reporting
* Disabled Touch Controller error check
* Paddle game bounds checking
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.7.1 Version 1.7.1] ===
* Touchscreen failure edge case
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.8.0 Version 1.8.0 "Fuzzy Kiwi"] ===
* Improved gesture consistency
* Digital watchface: Changed the color of the BLE icon to the official "Bluetooth™ blue"
* PineTimeStyle: Integrated color picker into the watchface (long tap on the PTS watch face, and then tap on the gear icon that appears to open the color settings)    * PineTimeStyle: Fixed alignment of the icons
* Settings: Styled checkboxes as radio buttons
* Paddle: Speed randomization
* InfiniPaint: Vibration on color change (long tap to change color when running InfiniPaint)
* BLE secure pairing
* BLE file system API
* Weather service (integrations are planned for the future)
* Trip meter in Step app
* Chimes: Short vibration every hour or half an hour. Settings are available in the 3rd page of settings
* Shake to wake: The calibration of the sensitivity is available in the 3rd page of settings
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.9.0 Version 1.9.0 "Limeberry"] ===
* Terminal watchface
* Enable/Disable BLE
* InfiniSim, the LVGL simulator for InfiniTime
* Improve notification and call notification timeout
* Improve heart-rate measurements
* Improve Alarm App
* Better 12-hours mode integration (in settings, alarm and status bar)
* Code cleanup and many improvements needed by InfiniSim
* Fix display corruption when the timer is triggered
* Fix freeze in Music app when the title/album name were too long
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.10.0 Version 1.10.0 "Yellow Mango"] ===
* Notifications can now be dismissed by right swiping on the notification
* Faster sleep
* New sharper battery icon
* Timer UI was overhauled
* Tweaked and improved display gamma to improve the colors displayed by the LCD
* Flashlight now defaults to max brightness
* Fixed track progress in Music app
* Fixed alarm sometimes not ringing
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.11.0 Version 1.11.0 "Red Nectarine"] ===
* Ability to install external resources, such as watch faces, images, and fonts.
* Created a document to better communicate the vision of InfiniTime project to users, developers and everyone else
* Compatibility with LFCLK calibration and reduced the power consumption of Nimble
* Limit backlight brightness when flashlight is off
* Watch face inspired by the G7710, with day of year and week number info (+ battery level %)
* Infineat watch face + its external resources
* Added pink color for PinetimeStyle watch face
* PineTimeStyle watch face : make step count display configurable (full gauge for step count, half gauge with seconds and numerical display of the step count).
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.11.0-fosdem-edition Oneshot 1.11 - FOSDEM 2023 Edition] ===
* Oneshot version, which was created for the "Free and Open source Software Developers' European Meeting"
* Digital and analog watchfaces with FOSDEM's logo as the background
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.12.0 Version 1.12.0 "Olallieberry"] ===
* Project maintenance
* Added Watchmate to the list of companion apps
* Better battery level monitoring, and battery indicator alert
* Date and time settings are combined into a single setting page
* Updated settings list style
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.13.0 Version 1.13.0 "Pomegranate"] ===
* New heart rate processing algorithm, provides more accurate and faster results
* New memory management (heap unification)
* Weather integration in PineTimeStyle watch face
* Major power optimizations
* Bug fix in shake wake
=== [https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.14.0 Version 1.14.0 "Quince Fruit"] ===
* Reduced memory footprint
* Improved raise-to-wake algorithm and new lower-to-sleep functionality
* New weather service and new setting to select °C/°F
* The build system now allows to easily select which user applications and watch faces are built into the firmware
* Replace the node.js tool that convert the images (lv_img_conv) by a custom re-implementation in Python
* InfiniLink, the iOS companion app has a new maintainer!


[[Category:PineTime]]
[[Category:PineTime]]

Latest revision as of 13:09, 27 July 2024

InfiniTime

InfiniTime (also known as JF's project, FreeRTOS firmware or Pinetime-JF) is an open source (GPLv3) firmware written in C++ and based on FreeRTOS, LVGL and NimBLE. This firmware (version 0.7.1) is preloaded at the factory since the new batch of PineTime devkits and sealed PineTimes of end of September 2020. This page contains general information about the project. Actual project documentation and nuances are documented in the repository

Read this first!

  • InfiniTime and the bootloader are still in heavy development, and some features might not work as expected. Any issues should be reported on GitHub.
  • Do not use a sealed PineTime as a development device, there is a fair amount of chances that you'll brick it with very experimental firmware.
  • OTA is relatively stable, but when you're on an outdated bootloader version it can freeze which will require you to wait for the battery to run out.

Known issues

Warning: Please read this section carefully before upgrading the firmware on your PineTime, especially if you are using a sealed device!

Black screen after a reset in sleep mode

Description

This issue occurs if you are using the original bootloader (from InfiniTime 0.7.1), upgraded from InfiniTime 0.7.1 to 0.8.2 and the watch resets while the display is OFF : the watch is stuck on a black screen and does not respond to touch, button press or BLE.

The reset can be triggered by the watchdog or manually by long pressing the button. If that doesn't work, wait for the battery to run out, it'll reboot then.

This issue is caused by InfiniTime 0.8.2 that put the external SPI flash memory to sleep before switching the display off and by the bootloader that cannot wake the memory chip up. The bootloader is stuck in an infinite loop.

More info : https://github.com/lupyuen/pinetime-rust-mynewt/issues/24 and https://github.com/JF002/InfiniTime/issues/60

Workaround

On a development kit, a simple reset via SWD is needed to unlock the bootloader.

On a sealed device, the only way to work around this issue is to wait for the battery to drain completely before trying again.

This issue can be avoided by ensuring that the display is ON when manually resetting the device (long push on the button).

Fixed version

This issues is fixed in InfiniTime 0.8.3

Releases

In the order of oldest first.

Version 0.7.1

This is the version that ships with PineTime devkits and sealed PineTime as of September 2020.

  • Time synchronization over BLE
  • Display brightness setting
  • Notifications over BLE
  • Integration with AmazFish (SailFishOS) and Gadgetbridge (Android)
  • OTA using NRFConnect

Bootloader : https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.7

Version 0.8.2

  • Music control app
  • Paint app
  • Manual image validation after OTA

Bootloader : https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v5.0.4.

This new version of the bootloader fixes #Black_screen_after_a_reset_in_sleep_mode and enables the watchdog before launching the firmware.

Version 0.8.3

  • Fixes the "bootloader stuck after a reset" mentioned in 0.8.2 above

Version 0.9.0

  • Touch panel fixed (no more freezing)
  • Improved music application (possibility to control both volumes and browsing, display the song progression)
  • Notification UI rewritten: can now display up to 100 characters
  • Improved BLE connectivity

Version 0.10.0

  • 2 new games: Pong and 2048
  • Fixed display glitches and improved needed time to turn on the display

Version 0.11.0

  • Heart-rate sensor application:
 * Displays the current value, and when running, this value is also displayed on the clock face
 * Value exposed over BLE, meaning other applications can read it (e.g. companion app such as Amazfish)
  • Navigation app: InfiNav - works e.g. with PureMaps on SailfishOS

Version 0.12.0

  • Improved BLE connection
  • OTA updates much more reliable

Version 0.13.0

  • Vibration
  • Call notification: it is possible to accept/ignore/reject a call from the PineTime
  • Music app got nicer icons
  • BLE connectivity improved a bit more

Version 0.14.0 "Green Avocado"

  • LVGL 7
  • Bugfixes to the build process

Version 0.14.1

Version 0.15.0 "Yellow Banana"

  • Analog watch face
  • Support for switching watch faces
  • Stopwatch app

Version 1.0.0 "Red Cherry"

  • Motion sensor integration
  • Step countin
  • UI redesign
  • Quick action menu:
 * Brightness setting
 * Do not disturb mode (disable vibrations on notifications)
 * Flash light application
  • Settings menu allowing configuration of:
 * Display timeout
 * Wakeup source (button only, single tap, double tap and wrist rotation)
 * Time format (12/24H)
 * Watchface
  • New navigation flow :
  • User settings stored in flash memory and restored on reset

Version 1.1.0 "Dragon Fruit"

  • Steps application
  • Timer application
  • UI improvements
  • Clang-format and clang-tidy config files
  • Bugfixes

Version 1.2.0 "Blue-purple Elderberry"

  • Added support for alternate accelerometer part BMA425
  • Metronome app
  • Memory usage optimizations
  • Bugfixes, minor improvements and code cleanup

Version 1.3.0 "Purple Fig"

  • LittleFS integration
  • New watchface, PineTimeStyle
  • Battery level notification on BLE (supported by Gadgetbridge)
  • Improved stopwatch app, Paddle game and call notifications
  • Firmware update app is now more foolproof
  • The SPI flash is put in sleep mode when the watch goes to sleep (only if the new bootloader is detected)
  • UI improvements (better 'tick' handling in LVGL, more consistent refresh rate)
  • Various improvements and code cleaning

Version 1.4.0 "Pink Grapefruit"

  • Improved touch driver
  • Color customization for background, text and lateral bar of PineTimeStyle
  • UI improvements for better use of the small screen, and screen dimming before display sleeps
  • Call notification improvements
  • Battery level improvements
  • Attempts to fix bootloop issue

Version 1.5.0 "Huckleberry"

  • Alarm app
  • Vibration improvements
  • Ability to recover time after a reset
  • BLE improvements
  • Battery level improvements

Version 1.6.0 "Ice Apple"

  • A new BLE Fix

Version 1.7.0 "Jackfruit"

  • More accurate battery percentage
  • Faster wakeup (video)
  • New touch handler
  • Wake on notification and charge
  • Memory usage and speed optimizations
  • Motion service (video)
  • Flashlight brightness changes
  • Manual date and time setting
  • Battery percentage reporting
  • Disabled Touch Controller error check
  • Paddle game bounds checking

Version 1.7.1

  • Touchscreen failure edge case

Version 1.8.0 "Fuzzy Kiwi"

  • Improved gesture consistency
  • Digital watchface: Changed the color of the BLE icon to the official "Bluetooth™ blue"
  • PineTimeStyle: Integrated color picker into the watchface (long tap on the PTS watch face, and then tap on the gear icon that appears to open the color settings) * PineTimeStyle: Fixed alignment of the icons
  • Settings: Styled checkboxes as radio buttons
  • Paddle: Speed randomization
  • InfiniPaint: Vibration on color change (long tap to change color when running InfiniPaint)
  • BLE secure pairing
  • BLE file system API
  • Weather service (integrations are planned for the future)
  • Trip meter in Step app
  • Chimes: Short vibration every hour or half an hour. Settings are available in the 3rd page of settings
  • Shake to wake: The calibration of the sensitivity is available in the 3rd page of settings

Version 1.9.0 "Limeberry"

  • Terminal watchface
  • Enable/Disable BLE
  • InfiniSim, the LVGL simulator for InfiniTime
  • Improve notification and call notification timeout
  • Improve heart-rate measurements
  • Improve Alarm App
  • Better 12-hours mode integration (in settings, alarm and status bar)
  • Code cleanup and many improvements needed by InfiniSim
  • Fix display corruption when the timer is triggered
  • Fix freeze in Music app when the title/album name were too long

Version 1.10.0 "Yellow Mango"

  • Notifications can now be dismissed by right swiping on the notification
  • Faster sleep
  • New sharper battery icon
  • Timer UI was overhauled
  • Tweaked and improved display gamma to improve the colors displayed by the LCD
  • Flashlight now defaults to max brightness
  • Fixed track progress in Music app
  • Fixed alarm sometimes not ringing

Version 1.11.0 "Red Nectarine"

  • Ability to install external resources, such as watch faces, images, and fonts.
  • Created a document to better communicate the vision of InfiniTime project to users, developers and everyone else
  • Compatibility with LFCLK calibration and reduced the power consumption of Nimble
  • Limit backlight brightness when flashlight is off
  • Watch face inspired by the G7710, with day of year and week number info (+ battery level %)
  • Infineat watch face + its external resources
  • Added pink color for PinetimeStyle watch face
  • PineTimeStyle watch face : make step count display configurable (full gauge for step count, half gauge with seconds and numerical display of the step count).

Oneshot 1.11 - FOSDEM 2023 Edition

  • Oneshot version, which was created for the "Free and Open source Software Developers' European Meeting"
  • Digital and analog watchfaces with FOSDEM's logo as the background

Version 1.12.0 "Olallieberry"

  • Project maintenance
  • Added Watchmate to the list of companion apps
  • Better battery level monitoring, and battery indicator alert
  • Date and time settings are combined into a single setting page
  • Updated settings list style

Version 1.13.0 "Pomegranate"

  • New heart rate processing algorithm, provides more accurate and faster results
  • New memory management (heap unification)
  • Weather integration in PineTimeStyle watch face
  • Major power optimizations
  • Bug fix in shake wake

Version 1.14.0 "Quince Fruit"

  • Reduced memory footprint
  • Improved raise-to-wake algorithm and new lower-to-sleep functionality
  • New weather service and new setting to select °C/°F
  • The build system now allows to easily select which user applications and watch faces are built into the firmware
  • Replace the node.js tool that convert the images (lv_img_conv) by a custom re-implementation in Python
  • InfiniLink, the iOS companion app has a new maintainer!