aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | | Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants2021-06-106-24/+44
| | | | | | | | | | | | | | | | code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
* | | | Fix stack corruption when exiting an app (the app was destroyed while it was ↵Jean-François Milants2021-06-102-1/+10
| | | | | | | | | | | | | | | | executing the button handler).
* | | | Fix build for recovery firmware.Jean-François Milants2021-06-063-4/+6
| | | |
* | | | Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-0628-170/+223
| |/ / |/| | | | | | | | variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
* | | Add the maximum memory used by LVGL in SystemInfo app. This will help the ↵JF0022021-06-011-1/+3
| | | | | | | | | | | | developers to size the memory buffer allocated to lvgl. (#408)
* | | Enable various compilation flags to reduce the binary size (#401)JF0022021-06-012-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the following compilation flags: * -fno-exceptions and -fno-non-call-exceptions : disable exception handling * -fno-rtti : disable run time type information (needed by dynamic_cast, for example) These flags reduce the binary size by about 100KB! Also, -fstack-usage generate debug info (not in final binary) to allow tools like Puncover to do a stack analysis. * Remove unused CMake variables in CMake_nRF5x.cmake (duplicated in src/CMakeLists.txt). Replace -O0 by -Og in DEBUG builds. This generates a smaller binary (small enough for the internal memory) that is debugger friendly.
* | | Remove debug defines (DEBUG & DEBUG_NRF_USER) from the build. These debug ↵JF0022021-06-012-22/+23
| | | | | | | | | | | | | | | | | | can be useful for debugging purposes but not in production (release). (#400) This reduces the size of the binary by about 6KB! This also removes filepath that were embedded into the binary (.bin) file.
* | | Navigation app: reduce memory usage (#362)JF0022021-06-012-120/+118
| |/ |/| | | | | | | | | | | * Navigation app: - Renaming and reformatting according to coding conventions - declare iconMap as constexpr and use char* instead of std::string This reduces the flash usage from 424644B to 419344B (-5300B)!
* | Fix recovery DisplayApp.Jean-François Milants2021-05-212-4/+7
| |
* | Timer App (#355)Florian2021-05-2016-22/+385
| | | | | | | | | | | | | | | | | | | | | | * built timer app * Style improvements * making sure buttons stay hidden when the app is reopened and reappear after the timer runs out * more sensible calculations of time deltas. eliminated that mysterious scaling factor * changing the timer icon
* | removed an empty assignment that caused a compiler warning (#372)Florian2021-05-201-1/+0
| |
* | Fix wrong initialization of 'pinPowerPresent' pin that would prevent the ↵Jean-François Milants2021-05-171-3/+6
| | | | | | | | touchpanel from working correctly when the device boots while connected to the charger.
* | Emit event on power-present toggle (#320)David Ventura2021-05-164-7/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Emit event on power-present toggle * clang-format on changes * also update battery status on any event * update comments; remove double battery update * Fix formatting * Vibrate shortly on charging event * debounce charge event
* | Merge pull request #347 from jedi2light/feature-show-git-commit-hash-shortJF0022021-05-164-0/+18
|\ \ | | | | | | Feature: Store and show git short ref on PineTime alongside other firmware information