aboutsummaryrefslogtreecommitdiffstats
path: root/src/DisplayApp
Commit message (Collapse)AuthorAgeFilesLines
* Improve DFU procedure :JF2020-06-012-4/+58
| | | | | | | | - correctly write all bytes to flash - check CRC - Fix bug in notification : they cannot be sent from the control point handler (because it seems you cannot send a notification and a write acknowledge at the same time) using a timer (quick'n'dirty implementation to be improved) - Improve dfu screen - Reset if dfu image is correctly copied into flash and crc is ok.
* Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF2020-05-111-0/+3
| | | | DFUService (WIP)
* Add new screen that is displayed during the OTA transfert.JF2020-05-024-1/+101
|
* Update BLE and battery icons from https://gitlab.com/arteeh/pinetimeos : it ↵JF2020-04-0552-3700/+1122
| | | | saves ~60KB of flash!
* Encapsulate Notification management in NotificationManager. It implement a ↵JF2020-03-285-67/+23
| | | | static array of notifications to avoid dynamic allocation.
* Add support for BLE notification (ANS client).JF2020-03-254-1/+57
| | | | Work In Progress!!!
* Fix bad memory alloaction in sysinfo screen.JF2020-03-222-14/+8
|
* Add new App : Sysinfo. It displays various info about the running system : ↵JF2020-03-229-25/+242
| | | | version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
* Add the possibility to the screen to handle a touch gesture.JF2020-03-156-24/+59
| | | | A default action is taken if the current screen doesn't handle it.
* Encapsulate brightness controll into the class BrightnessController.JF2020-03-156-20/+125
| | | | Add a new app to configure the brightness.
* Display battery level and BLE connection status using icon on Clock screen.JF2020-03-1458-23/+4143
|
* Backup and restore vertical scroll offset when goind to sleep/wakeup to ↵JF2020-03-111-6/+6
| | | | avoid scrambled display on wake-up.
* Apply a "up" transition when an app is opened.JF2020-03-102-3/+6
|
* Add support for gestures and integrate it with the vertical scrolling ↵JF2020-03-095-89/+173
| | | | transition.
* When a full screen refresh is done, apply a vertical scroll during the ↵JF2020-03-083-20/+110
| | | | refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
* Do not copy LittleVgl object in DislayApp, use reference instead.JF2020-03-081-1/+1
| | | | Make Cst816s, SpiMaster and St7789 not copiable and not movable
* Workaround for the first touch that is taken twice into account.JF2020-03-022-4/+10
|
* Fix date/time conversion from CTS to internal date/time representation.JF2020-03-021-1/+1
|
* Move version display from Clock screen to the modal window (accessible from ↵JF2020-03-023-15/+7
| | | | tile menu)
* Fix typo in the name of the font "jetbrains_mono_extrabold_compressed" + use ↵JF2020-03-017-12/+27
| | | | it as the default font.
* Fix Model that would crash when closing it.JF2020-03-012-13/+14
|
* Simplify Tile to improve refresh speed (it's not a tile anymore...).JF2020-03-012-21/+24
| | | | Disable debug mode of lvgl.
* Configure lvgl theme and use 2*4lines buffers as video buffer (2 lines was ↵JF2020-03-012-9/+680
| | | | not enough and caused perf issues)
* Fix double-buffering for spi display (it's actually using double-buffering, now)JF2020-03-012-0/+5
|
* Add new Screens (gauge, meter,...)JF2020-02-2610-2/+332
|
* Re-enable BLE, BLE status on display and battery level on display.JF2020-02-239-60/+75
|
* Do not compile GFX and older fonts anymore.JF2020-02-237-67/+95
| | | | | | Refactor SystemTask in its own class. Refactor Screen to be able to close current screen and open a new one. Re-enable sleep/wake up and propagate button event to Screens.
* Re-enable BLE display on Clock screenJF2020-02-203-8/+8
|
* Add touch panel port to lvgl.JF2020-02-1613-43/+496
| | | | PoC of user interaction with 3 screen (clock, menu and app).
* Log Touchpanel data (position + gesture!)JF2020-02-121-7/+2
|
* Integration of lvgl : continued...JF2020-02-1012-298/+1278
|
* First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF2020-02-085-7/+276
|
* Remove test codeJF2020-01-262-37/+2
|
* Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF2020-01-262-36/+26
| | | | be improved by using 'Started' IRQ to prepare the next buffer while the current one is beeing sent.
* [WIP] Max SPI speed reached (119ms for a full refresh. Theo max : 240*240*16 ↵JF2020-01-221-0/+22
| | | | | | = 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
* [WIP] Use IRQ in SPI driver to improve performancesJF2020-01-222-5/+5
|
* Implement the SPI driver using DMA.JF2020-01-192-12/+16
|
* Refactor ctor() and Ini() of SpiMaster.JF2020-01-182-25/+31
|
* Encapsulate the drawing of the screen into Screens classes.JF2020-01-1812-148/+287
|
* Add version (major.minor.patch) in CMake files.JF2020-01-181-0/+6
| | | | Display the version on the display.
* DateTimeController is now updated in the system task.JF2020-01-182-46/+17
| | | | | It runs every 1s in Running mode, and every 1h in sleep mode. This should allow to keep the watch on time for more than 4 hours.
* Disable SPI, I²C, touch controller and display controller in sleep mode.JF2020-01-171-0/+5
| | | | | | | | Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
* Improve date/time accuracy and handle counter overflow.JF2020-01-122-13/+23
|
* Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF2020-01-112-24/+40
| | | | | | and time. The date is now properly processed (31 December 2019 23:59:59 + 1s => 1 January 2020 00:00:00)
* Add basic touch panel driver.JF2020-01-032-4/+22
| | | | Handle touch event in display app : draw a big square at the touch point coordinates.
* Send command DisplayOn/Off to LCD when enabling/disabling the display.JF2020-01-021-0/+2
|
* Add DateTimeController to manage the time.JF2019-12-282-64/+107
| | | | Use messages in message queues to refresh the UI
* Add BleController to manage the BLE connection statusJF2019-12-272-4/+16
|
* Implement battery measurement in BatteryController.JF2019-12-272-8/+21
| | | | Update battery info on wake up (with button)
* Add small font, display date, Ble connection and battery power in display ↵JF2019-12-276-1/+1729
| | | | app (hard-coded values for now).