summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
AgeCommit message (Collapse)AuthorFilesLines
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-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
2021-01-26Generate pinetime-recovery : a light version of InfiniTime design to be used ↵Jean-François Milants1-1/+2
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 Milants1-9/+2
Display the call notifications in the Notification app, with buttons to accept/reject the call.
2021-01-21Add incoming call functionalityRasmus Schenstrom1-0/+3
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 Milants1-0/+2
- 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 Milants1-2/+2
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 Milants1-2/+6
2021-01-02adds 2048 clone gameJed1-0/+2
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.cppZephyrLabs1-1/+1
fixed file typo
2020-12-03Update DisplayApp.cppZephyrLabs1-0/+1
added Paddle header and paddle app screen
2020-12-03Addition of new files in MakeListZephyrLabs1-0/+2
added Paddle.cpp and Paddle.h
2020-11-16Include cleanup: displayapp + screensokaestne1-15/+14
2020-10-20Integrate new notification UI with notifications coming from BLEJF1-7/+9