summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-08-14Make battery reading periodic. Add events. Disable pullupRiku Isokoski1-3/+0
2021-07-25Code cleanup (#466)Riku Isokoski1-6/+6
* Code cleanup * Remove override again
2021-07-24Dim screen before sleep (#464)Riku Isokoski1-1/+12
* Implement dimming
2021-07-24Merge branch 'fix_touchevent_tap' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants1-30/+31
into Riksu9000-fix_touchevent_tap # Conflicts: # src/displayapp/DisplayApp.cpp
2021-07-22Make firmware updating more foolproof (#469)Riku Isokoski1-1/+6
* Make firmware updating more foolproof and fix bugs * No need to manually handle overflow * Make startTime TickType_t * Don't process TouchEvents::None * Fix sleep getting re-enabled issue more directly
2021-07-14Set correct refresh times for lvgl (#488)Riku Isokoski1-3/+5
2021-07-14Merge branch 'develop' into fix_touchevent_tapRiku Isokoski1-29/+63
2021-07-13Adjust displayapp delay to compensate time spent (#482)Riku Isokoski1-2/+9
2021-07-04Improve stopwatch (#432)Riku Isokoski1-1/+1
* Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
2021-06-19Add support for BMA425 acceleration sensor. (#440)JF0021-1/+1
* Add support for BMA425 acceleration sensor.
2021-06-12Fix build issues since Metronome app has been merged.Jean-François Milants1-1/+1
2021-06-12add basic metronome app (#409)Bryton Hall1-2/+6
* 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-12Changed the namespace of SystemInfo::sortById to avoid a name conflict (#360)Avamander1-2/+0
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants1-2/+4
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-11Fix regressionRiku Isokoski1-1/+3
2021-06-11Fix touchevent tapRiku Isokoski1-6/+5
2021-06-10Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants1-6/+15
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 Milants1-1/+7
executing the button handler).
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants1-12/+20
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-01Enable various compilation flags to reduce the binary size (#401)JF0021-1/+1
* 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-05-20Timer App (#355)Florian1-2/+16
* 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-15DisplayApp : returnApp was renamed ReturnApp() (manual fix after multiple ↵Jean-François Milants1-1/+1
merges).
2021-05-15Merge pull request #298 from joaquimorg/StepsAppJF0021-0/+9
New Steps app
2021-05-15Merge pull request #349 from Avamander/patch-2JF0021-1/+1
Switched to booleans for infinite while loops
2021-05-15Merge pull request #350 from Avamander/patch-3JF0021-2/+4
Added braces to a few if statements
2021-05-14Fixed a naming inconsistency of DisplayApp::ReturnApp and a few formatting ↵Avamander1-18/+18
errors
2021-05-14Added braces to a few if statementsAvamander1-2/+4
2021-05-14Switched to booleans for infinite while loopsAvamander1-1/+1
2021-05-02short vibration when enabling itpetter1-1/+4
2021-04-26Merge branch 'develop' ofJoaquim1-64/+79
https://github.com/JF002/InfiniTime into StepsApp
2021-04-24Reformatted all the files according to clang-format styleAvamander1-64/+79
2021-04-19New Steps appJoaquim1-0/+9
Settings to set the steps goal More detail in Motion app New 42px Font
2021-04-16In order to stabilize the battery reading,Joaquim1-1/+1
I modified the process to make 5 consecutive readings, as the process is asynchronous, there is no interference in the main process.
2021-04-11Move Task info to about menuJoaquim1-6/+1
fix build error in WatchFaceDigital
2021-04-100.16.0 TWI problems fixJoaquim1-0/+5
More memory for freertos heap and timer stack Fix warning in watchface Fix number of bytes read by cst816 Debug app to show freertos tasks Increased the number of bytes of the twi write buffer
2021-04-09Merge branch 'develop' into motion-sensorJean-François Milants1-81/+170
# Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/DisplayApp.h # src/displayapp/lv_pinetime_theme.c # src/displayapp/screens/ApplicationList.cpp # src/drivers/TwiMaster.cpp # src/systemtask/SystemTask.h
2021-04-09add more memory to displayapp taskJoaquim1-1/+1
2021-04-04First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants1-5/+10
wrist rotation + app to see the value of the 3 axis in "real time".
2021-04-04Big UI and navigation RewriteJoaquim1-79/+165
new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
2021-03-22replaced all unique_ptr.reset calls with std::make_uniqueNiall Cooling1-18/+22
2021-03-21Reverted the paddle app in displayapp.cpppanky-codes1-2/+2
2021-03-20Merged upstreampanky-codes1-6/+9
2021-03-20Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants1-5/+7
# Conflicts: # src/main.cpp # src/systemtask/SystemTask.h
2021-03-15Removed unused variables. Tested.panky-codes1-1/+1
2021-03-11Basic logic done. Need to change the timer source to get ms. Also need to ↵panky-codes1-1/+3
replace with paddle app in displayApp.cpp and ApplicationList.cpp later.
2021-03-07Merge branch 'develop' into recovery-firmwareJean-François Milants1-9/+2
# Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.h # src/systemtask/SystemTask.cpp # src/systemtask/SystemTask.h
2021-02-24Multi face support, analog clock, 12/24 configJoaquim1-5/+7
2021-02-23Merge branch 'LVGL7' of https://github.com/joaquimorg/Pinetime into ↵Jean-François Milants1-3/+0
joaquimorg-LVGL7 # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.cpp # src/displayapp/screens/Modal.cpp # src/displayapp/screens/Modal.h # src/displayapp/screens/Notifications.cpp # src/displayapp/screens/Tile.h
2021-02-01CleanupJoaquim1-8/+1
2021-01-28LVGL v7.10.0Joaquim1-1/+3