summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
AgeCommit message (Collapse)Author
2021-06-12Fix build issues since Metronome app has been merged.Jean-François Milants
2021-06-12add basic metronome app (#409)Bryton Hall
* 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)Avamander
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-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-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-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-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-02short vibration when enabling itpetter
2021-04-26Merge branch 'develop' ofJoaquim
https://github.com/JF002/InfiniTime into StepsApp
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-19New Steps appJoaquim
Settings to set the steps goal More detail in Motion app New 42px Font
2021-04-16In order to stabilize the battery reading,Joaquim
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 menuJoaquim
fix build error in WatchFaceDigital
2021-04-100.16.0 TWI problems fixJoaquim
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 Milants
# 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 taskJoaquim
2021-04-04First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants
wrist rotation + app to see the value of the 3 axis in "real time".
2021-04-04Big UI and navigation RewriteJoaquim
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 Cooling
2021-03-21Reverted the paddle app in displayapp.cpppanky-codes
2021-03-20Merged upstreampanky-codes
2021-03-20Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants
# Conflicts: # src/main.cpp # src/systemtask/SystemTask.h
2021-03-15Removed unused variables. Tested.panky-codes
2021-03-11Basic logic done. Need to change the timer source to get ms. Also need to ↵panky-codes
replace with paddle app in displayApp.cpp and ApplicationList.cpp later.
2021-03-07Merge branch 'develop' into recovery-firmwareJean-François Milants
# 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 configJoaquim
2021-02-23Merge branch 'LVGL7' of https://github.com/joaquimorg/Pinetime into ↵Jean-François Milants
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-01CleanupJoaquim
2021-01-28LVGL v7.10.0Joaquim
2021-01-26Generate pinetime-recovery : a light version of InfiniTime design to be used ↵Jean-François Milants
as a recovery firmware : it only provides basic UI and BLE connectivity for OTA. This new FW is build on the same codebasse than the actual InfiniTime. Only the display task is different (this allows to remove lvgl from the recovery fw, which is very heavy). CMake builds and docker have been modified accordingly. Note than the fw is converted into an image and then into a DFU in the cmake build (previously, it was only done in the
2021-01-24Handle call notification the same way than other notifications.Jean-François Milants
Display the call notifications in the Notification app, with buttons to accept/reject the call.
2021-01-21Add incoming call functionalityRasmus Schenstrom
Add categories to AlertNotification Add new alert notification screens bases Add Incoming Call Add Modal Add event to AlertNotification Co-authored-by: Robin Karlsson <robin.karlsson@protonmail.com>
2021-01-20Merge branch piggz/nav into develop:Jean-François Milants
- fix conflict - add a icon for the navigation app.
2021-01-17HR Sensor : Add start/stop button to the HeartRate app (the HR sensors stays ↵Jean-François Milants
ON when the app is closed), display the HR value on the Clock app.
2021-01-10First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants
2021-01-02adds 2048 clone gameJed
styles table reads touch events allows moving tiles allows merging tiles improves tile movement allows merging tiles adds score display implements color edit comments adjust game logic disallows double merges
2020-12-03Update DisplayApp.cppZephyrLabs
fixed file typo
2020-12-03Update DisplayApp.cppZephyrLabs
added Paddle header and paddle app screen
2020-12-03Addition of new files in MakeListZephyrLabs
added Paddle.cpp and Paddle.h
2020-11-16Include cleanup: displayapp + screensokaestne
2020-10-20Integrate new notification UI with notifications coming from BLEJF