summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2022-07-25Date formats: Use ISO 8601 (#1040)Zach DeCook2-4/+4
* System Info: Use YYYY-MM-DD The date format with the slashes has different meaning in different regions * Terminal Watchface: Use dashes as date separator Using the popular ISO 8601 format instead Co-authored-by: Riku Isokoski <riksu9000@gmail.com>
2022-07-21Replace icomoon system font with material design icons (#1228)Riku Isokoski9-43702/+221
2022-07-21Reset timer by long pressing on the button (#1214)Riku Isokoski4-26/+99
* Reset timer by long pressing on the button * Consider press_lost as released Otherwise the bar would keep increasing if the finger slid off the button
2022-07-21Use Counter widget in SettingSetTime plus optimizationsRiku Isokoski2-149/+57
2022-07-21Extend Counter functionalityRiku Isokoski3-12/+48
Custom fonts, twelve hour mode and Value changed callback.
2022-07-21Limit backlight when flashlight is off (#1212)Riku Isokoski1-29/+30
2022-07-21Always restore brightness on app switch (#1213)Riku Isokoski1-1/+2
2022-07-08Fix filename of the MCUBoot image and recovery MCUBoot image in CMake files. ↵Jean-François Milants1-11/+15
This will fix the generation of output files at the end of the build process.
2022-07-07Display target build variant in system info screenChristoph Honal2-2/+9
2022-07-07Nimble: Compatibility with LFRC calibrationChristoph Honal1-2/+3
Nimble has to be aware of the low frequency clock calibration procedure, in order to not interfere with the usage of the HFCLK. For more info, see https://github.com/apache/mynewt-nimble/issues/1207
2022-07-07Nimble: Enable optional debug output via RTTChristoph Honal2-2/+3
This allows better debugging of the bluetooth stack.
2022-07-07Nimble: Reduce BLE power usageChristoph Honal3-2/+15
This configures Nimble to enable the HFCLOCK and other Bluetooth peripherals only when needed, but 1500 us in advance. This time is recommended by the Mynewt docs.
2022-07-06Twos code cleanup (#1220)Riku Isokoski2-107/+112
2022-07-05Add PageIndicator widget to reduce code duplication (#1218)Riku Isokoski9-90/+70
* Move PageIndicator widget to its own files to reduce code duplication * Use uint8_t in PageIndicator
2022-06-28Notifications: no inTransition screen, simple blackbox is enoughReinhold Gschweicher2-15/+9
2022-06-28Dismiss notifications by swiping rightSimon Willshire4-114/+255
Add a new interface `NotificationManager::Dismiss(id)` to delete a notification with the specified `id`. The animate the notification dismiss the `RightAnim` transition to a black screen is used. After the dismiss the new message is swiped in from below or above. If we dismiss the oldest message (when we are at 5/5, or 3/3), then the new message after a dismiss should appear to come from below. Otherwise (when we are at 2/3) the new message after a dismiss should appear to come from above. Rework the index code to show the index of the currently viewed notification. Instead of calculating the index relative to the oldest `id` introduce a new interface `NotificationManager::IndexOf(id)`. This is done because the `id` of the notifications in the buffer aren't continuous anymore (as some messages could have been dismissed). Rework notification ring buffer to have a beginIdx and a size internally to make the dismissal of notifications easier. Fixes: https://github.com/InfiniTimeOrg/InfiniTime/issues/176 Co-authored-by: Simon Willshire <me@simonwillshire.com> Co-authored-by: Reinhold Gschweicher <pyro4hell@gmail.com>
2022-06-27LFCLK: Add compatibility to wasp-os reloader-factoryChristoph Honal1-2/+7
2022-06-27Add basic hardware configuration options for P8Christoph Honal3-2/+45
This enables the configuration of the LFCLK source, as well as the target hardware board pin configuration.
2022-06-25Font generation: Fix patch binary pathChristoph Honal1-1/+1
2022-06-19CMake: Fix indentationChristoph Honal1-67/+67
2022-06-19CMake: Extend debug configurationChristoph Honal1-7/+21
Enable debug output for InfiniTime, Nimble and the NRF SDK via SEGGER RTT on debug builds.
2022-06-19Flashlight default to max brightness and code cleanupRiku Isokoski2-12/+12
2022-06-19Fix InfiniTime compiler warningsRiku Isokoski3-15/+8
2022-06-18Remove backup brightness feature (#1180)Riku Isokoski4-31/+12
This feature is not needed and is probably more likely to cause issues. It's better to just use brightnessController.Set(settingsController.GetBrightness());
2022-06-16Automatically create screens for applist and settings (#1153)Riku Isokoski4-126/+101
Apps and settings are now stored in a single array (two arrays in total). Replace magic values with appsPerScreen and entriesPerScreen.
2022-06-16Patch hole in the letter M in jetbrains_mono_bold_20 (#1175)Riku Isokoski3-1/+11
2022-06-11SettingChimes: private Option struct, use std::array for cbOptionReinhold Gschweicher1-6/+5
2022-06-11Simplify SettingChimes codeRiku Isokoski2-42/+27
2022-06-11Remove duplicated value in fonts.json (#1179)Diego Miguel Lozano1-1/+1
2022-06-06Use lambda to reduce code duplicationRiku Isokoski1-10/+11
2022-06-06Move event handlers to unnamed namespaceRiku Isokoski2-13/+13
2022-06-06Use static constexpr to force compile time initializationRiku Isokoski1-2/+2
2022-06-06Timer: Replace time label with Counter control hiding functionalityRiku Isokoski2-12/+11
2022-06-06Counter: add show and hide controls functionsRiku Isokoski2-2/+21
2022-06-06Move linePoints to a member variableRiku Isokoski2-3/+5
2022-06-06Move bg color to a constexpr variableRiku Isokoski1-3/+5
2022-06-06Use Counter widget in TimerRiku Isokoski2-112/+41
2022-06-06Lighten the large font for a more balanced lookRiku Isokoski2-1/+1
Add Jetbrains Mono Light font
2022-06-06Add initial counter widgetRiku Isokoski4-1/+147
2022-06-06Move basic apps to the top of the app listRiku Isokoski1-4/+4
2022-06-06src/CMakeLists.txt: use iHEX format for mcuboot image creationIldar Mulyukov1-9/+11
for better control of addresses used by img/fw + fix typo (RECOVERYY)
2022-06-06fix wrong linker scriptIldar Mulyukov1-1/+1
introduced in https://github.com/JF002/InfiniTime/commit/58a2d000c4d49d96121894d6dd6bb861d7564bea
2022-06-06Switch to freertos timers (#1095)Michele Bini8-41/+32
* Use FreeRTOS timer for AlarmController * Use FreeRTOS timer for MotorController * Remove app_timer component from compilation as we now solely use FreeROTS timer * Simplify variable and text names for AlarmController and MotorController timers * Call ScheduleAlarm directly from StopAlerting, for recurring timers Co-authored-by: Riku Isokoski <riksu9000@gmail.com> Co-authored-by: NeroBurner <pyro4hell@gmail.com>
2022-06-05remove unused symbols, free a little bit of space (#1167)mabuch2-8/+1
2022-06-05remove unused Meter.cpp and Meter.h (#1171)mabuch4-68/+0
2022-06-05remove unused Brightness App (#1170)mabuch4-139/+0
2022-06-05remove old unused bluetooth icons (#1172)mabuch7-118/+0
2022-06-05System: Refactor pin and interrupt setupChristoph Honal2-19/+11
This should ensure better readability of the pin setup procedure, as well as allow the configuration of the hardware button enable pin and the accelerometer interrupt pin via the pin mapping header.
2022-06-05SystemTask: Use "&&" instead of "and" for operatorsChristoph Honal1-5/+6
As per the coding style, only primary spelling should be used for operators.
2022-06-05Fix various typosluz paz9-24/+24
Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`