summaryrefslogtreecommitdiff
path: root/src/DisplayApp
AgeCommit message (Collapse)AuthorFilesLines
2020-06-08Display BLE MAC address in sysinfo Screen.JF3-8/+20
2020-06-07Add build date and time in sysinfo screen.JF1-5/+7
2020-06-07Add uptime counter in DateTimeController and display it in SystemInfo screen.JF1-1/+14
2020-06-01DFU : add timeout detection : abort dfu procedure after 10s without any data ↵JF3-19/+1
from the host.
2020-06-01Improve DFU procedure :JF2-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.
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF1-0/+3
DFUService (WIP)
2020-05-02Add new screen that is displayed during the OTA transfert.JF4-1/+101
2020-04-05Update BLE and battery icons from https://gitlab.com/arteeh/pinetimeos : it ↵JF52-3700/+1122
saves ~60KB of flash!
2020-03-28Encapsulate Notification management in NotificationManager. It implement a ↵JF5-67/+23
static array of notifications to avoid dynamic allocation.
2020-03-25Add support for BLE notification (ANS client).JF4-1/+57
Work In Progress!!!
2020-03-22Fix bad memory alloaction in sysinfo screen.JF2-14/+8
2020-03-22Add new App : Sysinfo. It displays various info about the running system : ↵JF9-25/+242
version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
2020-03-15Add the possibility to the screen to handle a touch gesture.JF6-24/+59
A default action is taken if the current screen doesn't handle it.
2020-03-15Encapsulate brightness controll into the class BrightnessController.JF6-20/+125
Add a new app to configure the brightness.
2020-03-14Display battery level and BLE connection status using icon on Clock screen.JF58-23/+4143
2020-03-11Backup and restore vertical scroll offset when goind to sleep/wakeup to ↵JF1-6/+6
avoid scrambled display on wake-up.
2020-03-10Apply a "up" transition when an app is opened.JF2-3/+6
2020-03-09Add support for gestures and integrate it with the vertical scrolling ↵JF5-92/+176
transition.
2020-03-08When a full screen refresh is done, apply a vertical scroll during the ↵JF3-20/+110
refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
2020-03-08Do not copy LittleVgl object in DislayApp, use reference instead.JF1-1/+1
Make Cst816s, SpiMaster and St7789 not copiable and not movable
2020-03-02Workaround for the first touch that is taken twice into account.JF2-4/+10
2020-03-02Fix date/time conversion from CTS to internal date/time representation.JF1-1/+1
2020-03-02Move version display from Clock screen to the modal window (accessible from ↵JF3-15/+7
tile menu)
2020-03-01Fix typo in the name of the font "jetbrains_mono_extrabold_compressed" + use ↵JF7-12/+27
it as the default font.
2020-03-01Fix Model that would crash when closing it.JF2-13/+14
2020-03-01Simplify Tile to improve refresh speed (it's not a tile anymore...).JF2-21/+24
Disable debug mode of lvgl.
2020-03-01Configure lvgl theme and use 2*4lines buffers as video buffer (2 lines was ↵JF2-9/+680
not enough and caused perf issues)
2020-03-01Fix double-buffering for spi display (it's actually using double-buffering, now)JF2-0/+5
2020-02-26Add new Screens (gauge, meter,...)JF10-2/+332
2020-02-23Re-enable BLE, BLE status on display and battery level on display.JF9-61/+76
2020-02-23Do not compile GFX and older fonts anymore.JF7-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.
2020-02-20Re-enable BLE display on Clock screenJF3-8/+8
2020-02-16Add touch panel port to lvgl.JF13-43/+496
PoC of user interaction with 3 screen (clock, menu and app).
2020-02-12Log Touchpanel data (position + gesture!)JF1-7/+2
2020-02-10Integration of lvgl : continued...JF12-298/+1278
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF5-7/+276
2020-01-26Remove test codeJF2-37/+2
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF2-36/+26
be improved by using 'Started' IRQ to prepare the next buffer while the current one is beeing sent.
2020-01-22[WIP] Max SPI speed reached (119ms for a full refresh. Theo max : 240*240*16 ↵JF1-0/+22
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF2-5/+5
2020-01-19Implement the SPI driver using DMA.JF2-12/+16
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF2-26/+32
2020-01-18Encapsulate the drawing of the screen into Screens classes.JF12-148/+287
2020-01-18Add version (major.minor.patch) in CMake files.JF1-0/+6
Display the version on the display.
2020-01-18DateTimeController is now updated in the system task.JF2-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.
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF1-0/+5
Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
2020-01-12Improve date/time accuracy and handle counter overflow.JF2-13/+23
2020-01-11Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF2-24/+40
and time. The date is now properly processed (31 December 2019 23:59:59 + 1s => 1 January 2020 00:00:00)
2020-01-03Add basic touch panel driver.JF2-4/+22
Handle touch event in display app : draw a big square at the touch point coordinates.
2020-01-02Send command DisplayOn/Off to LCD when enabling/disabling the display.JF1-0/+2