summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-06-12Replace raw new expressions with make_unique (#406)Jonathan Vander Mey0-0/+0
Using make_unique avoids needing to repeat type information making it less verbose. Also fixes clang-tidy warning modernize-make-unique.
2021-06-12Fix fallthrough on case statement (#403)Jonathan Vander Mey1-0/+1
2021-06-12Improvements to /doc/filesInReleaseNotes.md (#357)Itai Nelken1-6/+6
* Update filesInReleaseNotes.md
2021-06-12Add note about getting GadgetBridge from F-Droid (#358)Joel Bradshaw2-2/+2
* Add note about getting GadgetBridge from F-Droid Hopefully this is useful and will save folks some frustration * Add note that GadgetBridge should be downloaded via F-Droid There's an "unofficial" version on the Play Store that is outdated and doesn't have PineTime support * Fix typo * Add starting version, reword a bit Initial support version is a little fuzzy, 0.47 states it's "not yet usable" but changelog doesn't specify when we've crossed the "usable" threshold.
2021-06-12Rewrite MemoryAnalysis.md with up to date information. (#411)JF0025-44/+255
Rewrite MemoryAnalysis.md with up to date information.
2021-06-12Merge pull request #415 from JF002/move-heap-to-staticJF00238-211/+313
Move dynamically allocated variables to static variables.
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-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)JF0023-53/+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-21Fix recovery DisplayApp.Jean-François Milants2-4/+7
2021-05-21Set version to 1.1.0.Jean-François Milants1-1/+1
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-17Fix wrong initialization of 'pinPowerPresent' pin that would prevent the ↵Jean-François Milants1-3/+6
touchpanel from working correctly when the device boots while connected to the charger.
2021-05-17Updated license header yearAvamander2-2/+2
2021-05-17Used a macro for UUID generation, switched from C-style casts to ↵Avamander2-155/+93
reinterpret_cast, renamed callback
2021-05-16Emit event on power-present toggle (#320)David Ventura4-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
2021-05-16Merge pull request #347 from jedi2light/feature-show-git-commit-hash-shortJF0027-0/+36
Feature: Store and show git short ref on PineTime alongside other firmware information
2021-05-16Merge pull request #354 from Raupinger/notification-title-fixJF0021-0/+10
Notification title fix
2021-05-16better handling of long notification titlesFlorian Kraupa1-0/+10
2021-05-15DisplayApp : returnApp was renamed ReturnApp() (manual fix after multiple ↵Jean-François Milants1-1/+1
merges).
2021-05-15Merge pull request #298 from joaquimorg/StepsAppJF00215-23/+544
New Steps app
2021-05-15Merge pull request #345 from Itai-Nelken/patch-1JF0021-3/+3
fix a formatting issue and 2 typos in gettingStarted-1.0.md
2021-05-15Merge pull request #348 from CoderThomasB/fix-typo-doc/contribute.mdJF0021-12/+12
Fixed typos in the doc/contribute.md using google docs’s spelling check system
2021-05-15Merge pull request #349 from Avamander/patch-2JF0023-3/+3
Switched to booleans for infinite while loops
2021-05-15Merge pull request #350 from Avamander/patch-3JF0023-5/+9
Added braces to a few if statements
2021-05-15Merge pull request #351 from Avamander/patch-5JF0022-19/+19
Fixed a naming inconsistency of DisplayApp::ReturnApp and a few formatting errors
2021-05-15Merge pull request #352 from Avamander/patch-6JF0021-1/+5
Improved clang-tidy configuration for less noise
2021-05-14Improved clang-tidy configuration for less noiseAvamander1-1/+5
2021-05-14Fixed a naming inconsistency of DisplayApp::ReturnApp and a few formatting ↵Avamander2-19/+19
errors
2021-05-14Added braces to a few if statementsAvamander3-5/+9
2021-05-14Switched to booleans for infinite while loopsAvamander3-3/+3
2021-05-14Fixed typos in the doc/contribute.md using google docs’s spelling check systemCoderThomasB1-12/+12
2021-05-14git: show git short ref hash on SystemInfo(first screen) and ↵Stoian Minaiev3-0/+16
FirmwareValidation screen alongside other information
2021-05-14git: store git short ref hash on build stage to Version.hStoian Minaiev2-0/+14
2021-05-14docker: add git system package to imageStoian Minaiev2-0/+6
2021-05-13Update gettingStarted-1.0.mdItai Nelken1-1/+1
2021-05-13Update gettingStarted-1.0.mdItai Nelken1-2/+2
2021-05-13Add missing pictures.Jean-François Milants8-0/+0
2021-05-13Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants3-4/+6
2021-05-13Add quick user guide for InfiniTime 1.0Jean-François Milants3-1/+114