aboutsummaryrefslogtreecommitdiffstats
path: root/pico-watch.cpp
Commit message (Collapse)AuthorAge
* WFI in rendering loop when sleepingConfuSomu2021-04-08
|
* Rewrite app_init to check for malloc/new failuresConfuSomu2021-04-08
|
* Add fixme in pico-watch.cConfuSomu2021-04-01
|
* Fix possible race condition when switching appConfuSomu2021-03-28
|
* Enable malloc debuggingConfuSomu2021-03-28
| | | | This might help in debugging problems related to memory and malloc-ing.
* Dump display backbuffer only onceConfuSomu2021-03-04
| | | | | This reduces display flickering and might help in having a longer battery life.
* Enter shallow sleep when there are no interactionsConfuSomu2021-03-02
| | | | Current app stops getting refreshed and display is turned off.
* Use bool in bgrefreshConfuSomu2021-03-01
|
* Fix race condition when refresh interval is smallConfuSomu2021-03-01
| | | | Possible fix
* Implement API to set/get render intervalConfuSomu2021-03-01
|
* Wait for button press then hide popupConfuSomu2021-03-01
|
* Refactor API function namesConfuSomu2021-02-27
|
* Remove unnecessary includesConfuSomu2021-02-27
|
* Use an Api class for abstractionConfuSomu2021-02-27
| | | | | | | | | | | It is currently very basic as functions will be added to it when the time comes. The idea is to have a method to, for example, show notifications (and store them in a list with metadata) to the user or also to easily show a message box overlaying the current display. Private class members will permit encapsulations of variables related to these features and limit the privilage that each app has on the device.
* Use dynamic allocation of app variables/dataConfuSomu2021-02-20
| | | | | | | Stop using APPS_DATA. Dynamic allocation allows to avoid having memory used by unloaded apps, thus giving more memory to running apps. Make sure to correctly deallocate with `delete` to avoid memory leaks! Exceptions to allocate memory will have to be handled...
* Use namepace for main_clock appConfuSomu2021-02-20
|
* Adopt C++ConfuSomu2021-02-20
A large number of changes had to be made to use C++. "extern C" had to be added for a few headers not adapted to C++. See https://github.com/raspberrypi/pico-sdk/pull/106 for fix in affected files. They will be removed when the pull request is merged in pico-sdk's master branch.