aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop' into fix_adcRiku Isokoski2021-07-1324-102/+78
|\
| * Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2021-07-132-2/+10
| |\
| | * Adjust displayapp delay to compensate time spent (#482)Riku Isokoski2021-07-132-2/+10
| | |
| * | Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants2021-07-137-49/+11
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick # Conflicts: # src/displayapp/screens/BatteryInfo.cpp # src/displayapp/screens/BatteryInfo.h
| | * LVGL use system tickRiku Isokoski2021-07-077-51/+11
| | |
| * | Merge branch 'develop' into notify-battery-levelJean-François Milants2021-07-132-36/+48
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # src/displayapp/screens/BatteryInfo.cpp
| * | | Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2021-07-1117-68/+71
| | | | | | | | | | | | | | | | Refactor battery percent : only use uint8_t to store the battery % remaining.
* | | | Fix misconfigured ADC and remove now unnecessary filteringRiku Isokoski2021-07-122-48/+4
| |/ / |/| |
* | | Refactor trig functions into LUT (#476)Jonathan Vander Mey2021-07-111-32/+44
| | | | | | | | | | | | | | | | | | Replaced the use of the standard library trig functions with a LUT-based implementation instead. The standard library implementations produce more accurate results but the usage here doesn't need that. This ends up saving nearly 7kB of binary size.
* | | Modify status text in BatteryInfo so it fits on screen (#437)kieranc2021-07-111-4/+4
|/ / | | | | * Modify status text in BatteryInfo so it fits on screen
* | Change step gauge range to 100 and calculate progress as percantage (#468)kieranc2021-07-111-3/+3
| |
* | Using littlefs (#438)joaquim.org2021-07-1110-130/+365
|/ | | | | | | | | * add submodule littlefs * base fs * Save settings using littlefs * Small fixes and suggestions from PR * More small fixes from PR suggestions * Code clean up * Change SpiNorFlash functions to be private in FS
* Improve stopwatch (#432)Riku Isokoski2021-07-043-115/+90
| | | | | | | * Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
* Whitespace and brace fixes (#456)Avamander2021-07-042-17/+15
| | | | | * Brace style and whitespace fixes * Additional whitespace fixes
* clang-formatRiku Isokoski2021-07-041-6/+7
|
* Condense firmware validation codeRiku Isokoski2021-07-042-28/+10
|
* Improve paddle gameRiku Isokoski2021-07-032-126/+50
|
* Inititialize members in class declarationJonathan Vander Mey2021-07-022-22/+12
| | | | Also added initializers for previously unintialized members.
* Move local-only function into anonymous namespaceJonathan Vander Mey2021-07-021-4/+3
|
* Make MusicService UUID objects static constexprJonathan Vander Mey2021-07-022-22/+31
|
* Eliminate reinterpret_castingJonathan Vander Mey2021-07-021-26/+26
|
* and metronome icon (#439)Bryton Hall2021-07-024-7/+19
| | | * add drum icon for metronome app
* Float voltage to int (#444)Riku Isokoski2021-07-025-34/+17
| | | | * Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion
* Fix call notification button alignmentRiku Isokoski2021-07-021-20/+12
|
* static_cast cleanupAvamander2021-07-022-3/+3
|
* Fixed a bunch of format specifiersAvamander2021-07-024-11/+11
|
* Add PineTimeStyle watchface (#334)kieranc2021-06-2910-0/+1734
| | | | | | | | | | | | | * PineTimeStyle * Move GPL license header * Add step count gauge - replaces heartrate in sidebar * Enable 12/24h functionality * Set step gauge outer to be white when step goal is reached * Add font source file * Move static needle_colors array to member variable * Add documentation on generating a font * Replace .ttf with Google version, add link to font page Co-authored-by: JF002 <JF002@users.noreply.github.com>
* SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix2021-06-266-19/+50
| | | | | | * Retrieve and display bootloader version - Display bootloader version on System Info screen - Enable SPI flash sleep mode if bootloader version >= 1.0.0 * Wait for SPI flash to wakeup before starting OTA DFU
* update main font to keep diffs for future changes small (#420)Florian2021-06-223-188/+204
| | | | | | * update font with jetbrains mono v2.225 and the current converter * added the tff file for JetBrains Mono to ensure everybody is using the same version Co-authored-by: Florian <florian@florian-thinkpad.local>
* Fix typo in variable names (#430)Jonathan Vander Mey2021-06-222-7/+7
|
* Removed an illogical comparison from SystemInfo and St7789 driver (#449)Avamander2021-06-222-4/+2
| | | * Removed an illogical comparison
* Add support for BMA425 acceleration sensor. (#440)JF0022021-06-1910-29/+603
| | | * Add support for BMA425 acceleration sensor.
* Fix signed/unsigned comparison warningJonathan Vander Mey2021-06-121-1/+1
| | | | | | Changed type of encodedBufferIndex to size_t to eliminate warning. It is fine as a size_t as its only ever compared to another size_t and used as an array index.
* Remove infinitime-nb.c from source listJonathan Vander Mey2021-06-121-2/+0
| | | | | | Was causing compiler warning for unused constant variable when being compiled. This feel is directly included where it's needed so it doesn't need to be separately compiled anyways.
* Add Init() in DummyuLittleVgl to fix recovery firmwareJean-François Milants2021-06-121-0/+4
|
* Fix build issues since Metronome app has been merged.Jean-François Milants2021-06-122-4/+4
|
* add basic metronome app (#409)Bryton Hall2021-06-127-3/+226
| | | | | | | | | | | | | | | * add basic metronome app * add bpb, tap to bpm, update widgets * use event pressed for bpm tap * move case statement break to the right place * narrow bpm selection range, override touch events * fix arc knob style * re-enable sleeping in destructor
* Merge pull request #405 from Riksu9000/improve_stopwatchJF0022021-06-121-18/+23
|\ | | | | Improve stopwatch
| * Keep button visible, but disabledRiku Isokoski2021-05-261-3/+9
| |
| * improve ui and optimize codeRiku Isokoski2021-05-261-18/+17
| |
* | Clock : initialize the actual clockface in initialization list instead of in ↵Jean-François Milants2021-06-121-19/+12
| | | | | | | | the core of the ctro().
* | Merge pull request #425 from Raupinger/remove-watch-tapJF0022021-06-122-20/+23
|\ \ | | | | | | Remove tap to switch Watchfaces
| * | replace ScreenList with a single screen in Clock. This removes the tap to ↵Florian2021-06-112-20/+23
| | | | | | | | | | | | switch feature
* | | Merge pull request #359 from Avamander/patch-2JF0022021-06-122-157/+95
|\ \ \ | | | | | | | | Used a macro for UUID generation, switched from C-style casts to reinterpret_cast, renamed callback
| * | | Updated license header yearAvamander2021-05-172-2/+2
| | | |
| * | | Used a macro for UUID generation, switched from C-style casts to ↵Avamander2021-05-172-155/+93
| | | | | | | | | | | | | | | | reinterpret_cast, renamed callback
* | | | Changed the namespace of SystemInfo::sortById to avoid a name conflict (#360)Avamander2021-06-123-3/+4
| | | |
* | | | Fix scrollbar (#382)Riku Isokoski2021-06-121-1/+1
| | | |
* | | | Fix fallthrough on case statement (#403)Jonathan Vander Mey2021-06-121-0/+1
| | | |
* | | | Move most of the code from the constructor of the objects statically ↵Jean-François Milants2021-06-1211-11/+29
| | | | | | | | | | | | | | | | initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco (https://en.cppreference.com/w/cpp/language/siof). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238.