summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-06-12Fix scrollbar (#382)Riku Isokoski
2021-06-12Fix fallthrough on case statement (#403)Jonathan Vander Mey
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants
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-10Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants
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 Milants
executing the button handler).
2021-06-06Fix build for recovery firmware.Jean-François Milants
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants
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 ↵JF002
developers to size the memory buffer allocated to lvgl. (#408)
2021-06-01Enable various compilation flags to reduce the binary size (#401)JF002
* 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 ↵JF002
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)JF002
* 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-21Fix recovery DisplayApp.Jean-François Milants
2021-05-20Timer App (#355)Florian
* 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)Florian
2021-05-17Fix wrong initialization of 'pinPowerPresent' pin that would prevent the ↵Jean-François Milants
touchpanel from working correctly when the device boots while connected to the charger.
2021-05-16Emit event on power-present toggle (#320)David Ventura
* 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-shortJF002
Feature: Store and show git short ref on PineTime alongside other firmware information
2021-05-15better handling of long notification titlesFlorian Kraupa
2021-05-15DisplayApp : returnApp was renamed ReturnApp() (manual fix after multiple ↵Jean-François Milants
merges).
2021-05-15Merge pull request #298 from joaquimorg/StepsAppJF002
New Steps app
2021-05-15Merge pull request #349 from Avamander/patch-2JF002
Switched to booleans for infinite while loops
2021-05-15Merge pull request #350 from Avamander/patch-3JF002
Added braces to a few if statements
2021-05-14Fixed a naming inconsistency of DisplayApp::ReturnApp and a few formatting ↵Avamander
errors
2021-05-14Added braces to a few if statementsAvamander
2021-05-14Switched to booleans for infinite while loopsAvamander
2021-05-13git: show git short ref hash on SystemInfo(first screen) and ↵Stoian Minaiev
FirmwareValidation screen alongside other information
2021-05-13git: store git short ref hash on build stage to Version.hStoian Minaiev
2021-05-10SystemInfo app screenStoian Minaiev
First screen. Let the build date and build time string be centered as well as the others
2021-05-03Fix a possible double free in StopWatch::Refresh.Martin Ashby
The lv_obj_del is called on btnStopLap when transitioning to the initial state, however the variable isn't then set to null. A subsequent call to Refresh would attempt to delete the already freed object. This could be triggered by stopping the stop watch, then pressing the physical button on the watch. Fixes https://github.com/JF002/InfiniTime/issues/315
2021-05-02Merge pull request #319 from DavidVentura/use-byte-for-ppgJF002
Use int8_t for PPG data array
2021-05-02Merge pull request #314 from eivindm/improved_heartbeat_in_watchfaceJF002
Improve design of heartbeat data in digital watchface
2021-05-02Show heartbeat icon in watchface in gray if data is missingEivind Mork
2021-05-02Merge pull request #301 from petterhs/vibJF002
Short vibration when enabling it in quick settings menu
2021-05-02short vibration when enabling itpetter
2021-05-02Merge pull request #275 from panos/navigation-textJF002
Changed text in Navigation
2021-05-02Merge pull request #318 from Kozova1/TypoFixJF002
Fix typo in src/displayapp/fonts/README.md
2021-05-02Merge pull request #308 from joaquimorg/LVGL-UpdateJF002
Update LVGL
2021-05-01Fix #209. Use int8_t for PPG data arraydavid
2021-04-29Fix typo in src/displayapp/fonts/README.mdKozova1
Signed-off-by: Kozova1 <mug66kk@gmail.com>
2021-04-26Merge branch 'develop' ofJoaquim
https://github.com/JF002/InfiniTime into StepsApp
2021-04-24Changed access modified indentationAvamander
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-21Update LVGLJoaquim
fixes from upstream
2021-04-20Fix formatting issue on the lap counter in Stopwatch (display lap counter on ↵Jean-François Milants
2 characters).
2021-04-20Fix button size and default step goalJoaquim
2021-04-19Fix formatting issue on the lap counter in Stopwatch.Jean-François Milants
2021-04-19New Steps appJoaquim
Settings to set the steps goal More detail in Motion app New 42px Font
2021-04-18Fix a display glitch when an OTA is initiated while an app (other than ↵Jean-François Milants
Clock) was open and while the device was in sleep mode.
2021-04-18Fix display consistency with the HR measurement when measurements are ↵Jean-François Milants
already running when the app is open.
2021-04-18Merge pull request #285 from Peetz0r/fix-stopwatch-formattingJF002
Fix stopwatch formatting