summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-06-25Fix off-by-one error, reduce step gauge needle widthKieran Cawthray2-5/+5
2021-06-25Use colors from settings for PineTimeStyle watchfaceKieran Cawthray2-5/+10
2021-06-25Move array to member variable, retrieve colors from settings for displayKieran Cawthray2-13/+10
2021-06-25Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray7-199/+213
2021-06-24PineTimeStyle color picker tidyingKieran Cawthray2-56/+5
2021-06-24PineTimeStyle color picker add settings integrationKieran Cawthray2-45/+84
2021-06-24PineTimeStyle color picker initial commitKieran Cawthray7-2/+385
2021-06-23Move static needle_colors array to member variableKieran Cawthray2-1/+1
2021-06-22Add font source fileKieran Cawthray1-0/+0
2021-06-22update main font to keep diffs for future changes small (#420)Florian3-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>
2021-06-22Fix typo in variable names (#430)Jonathan Vander Mey2-7/+7
2021-06-22Removed an illogical comparison from SystemInfo and St7789 driver (#449)Avamander2-4/+2
* Removed an illogical comparison
2021-06-21Set step gauge outer to be white when step goal is reachedKieran Cawthray1-2/+6
2021-06-20Enable 12/24h functionalityKieran Cawthray2-1/+30
2021-06-20Add step count gauge - replaces heartrate in sidebarKieran Cawthray4-30/+39
2021-06-20Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray10-29/+603
2021-06-19Add support for BMA425 acceleration sensor. (#440)JF00210-29/+603
* Add support for BMA425 acceleration sensor.
2021-06-16Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray51-417/+685
2021-06-12Fix signed/unsigned comparison warningJonathan Vander Mey1-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.
2021-06-12Remove infinitime-nb.c from source listJonathan Vander Mey1-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.
2021-06-12Add Init() in DummyuLittleVgl to fix recovery firmwareJean-François Milants1-0/+4
2021-06-12Fix build issues since Metronome app has been merged.Jean-François Milants2-4/+4
2021-06-12add basic metronome app (#409)Bryton Hall7-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
2021-06-12Merge pull request #405 from Riksu9000/improve_stopwatchJF0021-18/+23
Improve stopwatch
2021-06-12Clock : initialize the actual clockface in initialization list instead of in ↵Jean-François Milants1-19/+12
the core of the ctro().
2021-06-12Merge pull request #425 from Raupinger/remove-watch-tapJF0022-20/+23
Remove tap to switch Watchfaces
2021-06-12Merge pull request #359 from Avamander/patch-2JF0022-157/+95
Used a macro for UUID generation, switched from C-style casts to reinterpret_cast, renamed callback
2021-06-12Changed the namespace of SystemInfo::sortById to avoid a name conflict (#360)Avamander3-3/+4
2021-06-12Fix scrollbar (#382)Riku Isokoski1-1/+1
2021-06-12Fix fallthrough on case statement (#403)Jonathan Vander Mey1-0/+1
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants11-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.
2021-06-11replace ScreenList with a single screen in Clock. This removes the tap to ↵Florian2-20/+23
switch feature
2021-06-10Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants6-24/+44
code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
2021-06-10Fix stack corruption when exiting an app (the app was destroyed while it was ↵Jean-François Milants2-1/+10
executing the button handler).
2021-06-06Fix build for recovery firmware.Jean-François Milants3-4/+6
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants28-171/+224
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.
2021-06-04Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray6-181/+182
2021-06-01Add the maximum memory used by LVGL in SystemInfo app. This will help the ↵JF0021-1/+3
developers to size the memory buffer allocated to lvgl. (#408)
2021-06-01Enable various compilation flags to reduce the binary size (#401)JF0022-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.
2021-06-01Remove debug defines (DEBUG & DEBUG_NRF_USER) from the build. These debug ↵JF0022-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.
2021-06-01Navigation app: reduce memory usage (#362)JF0022-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)!
2021-05-26Keep button visible, but disabledRiku Isokoski1-3/+9
2021-05-26improve ui and optimize codeRiku Isokoski1-18/+17
2021-05-21Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray19-27/+392
2021-05-21Fix recovery DisplayApp.Jean-François Milants2-4/+7
2021-05-20Timer App (#355)Florian16-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
2021-05-20removed an empty assignment that caused a compiler warning (#372)Florian1-1/+0
2021-05-19Move GPL license headerKieran Cawthray1-16/+15
2021-05-19Remove newline modificationsKieran Cawthray4-4/+4
2021-05-19Tidying/formatting fixesKieran Cawthray1-13/+23