summaryrefslogtreecommitdiff
path: root/src/DisplayApp/DisplayApp.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-08-22Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF1-6/+2
2020-08-22Fix Infinipaint that would crash when started.JF1-0/+2
2020-08-21Add paint application.JF1-2/+5
2020-08-20Add TouchModes : in Gestures mode, only 1 event is processed for each ↵JF1-1/+12
touchevent. This allows to recognize gesture and handle them in Screens or in DisplayApp. In Polling mode, X/Y positions are sent continuously to lvgl, allowing to scroll inside a dropdown menu for example.
2020-08-17Fix most of the warnings. Remaining warnings come from nimble source code.JF1-0/+3
2020-08-14Re-order apps in application menu on 2 pages.JF1-0/+1
Add firmware validation app.
2020-08-14Merge develop and fix conflicts.JF1-7/+5
2020-08-14Refactor ScreenList to make it more generic : it can now contain any Screen ↵JF1-7/+5
type. Integrate this new ScreenList in SystemInfo. Add ApplicationList, which is a ScreenList of Tile. This allows to display a menu of more than 6 applications.
2020-08-11Add new screen that allows the user to manually validate the new firmware ↵JF1-0/+1
he's just OTA'ed. Still need to find a way to display this screen when needed.
2020-07-15Rework characteristic handlingAdam Pigg1-1/+1
2020-07-11Add start of music applictionAdam Pigg1-0/+2
2020-06-08Display BLE MAC address in sysinfo Screen.JF1-1/+1
2020-06-01DFU : add timeout detection : abort dfu procedure after 10s without any data ↵JF1-5/+1
from the host.
2020-05-02Add new screen that is displayed during the OTA transfert.JF1-0/+12
2020-03-28Encapsulate Notification management in NotificationManager. It implement a ↵JF1-15/+10
static array of notifications to avoid dynamic allocation.
2020-03-25Add support for BLE notification (ANS client).JF1-0/+11
Work In Progress!!!
2020-03-22Add new App : Sysinfo. It displays various info about the running system : ↵JF1-2/+19
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.JF1-22/+23
A default action is taken if the current screen doesn't handle it.
2020-03-15Encapsulate brightness controll into the class BrightnessController.JF1-14/+9
Add a new app to configure the brightness.
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.JF1-0/+1
2020-03-09Add support for gestures and integrate it with the vertical scrolling ↵JF1-25/+67
transition.
2020-03-08When a full screen refresh is done, apply a vertical scroll during the ↵JF1-12/+13
refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
2020-03-01Fix typo in the name of the font "jetbrains_mono_extrabold_compressed" + use ↵JF1-0/+11
it as the default font.
2020-03-01Fix double-buffering for spi display (it's actually using double-buffering, now)JF1-0/+3
2020-02-26Add new Screens (gauge, meter,...)JF1-0/+4
2020-02-23Re-enable BLE, BLE status on display and battery level on display.JF1-9/+6
2020-02-23Do not compile GFX and older fonts anymore.JF1-27/+24
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 screenJF1-1/+1
2020-02-16Add touch panel port to lvgl.JF1-14/+32
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...JF1-9/+12
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF1-5/+15
2020-01-26Remove test codeJF1-35/+2
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF1-26/+19
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-19Implement the SPI driver using DMA.JF1-10/+14
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF1-26/+24
2020-01-18Encapsulate the drawing of the screen into Screens classes.JF1-131/+20
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.JF1-42/+13
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.JF1-13/+21
2020-01-11Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF1-20/+37
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.JF1-1/+17
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
2019-12-28Add DateTimeController to manage the time.JF1-54/+91
Use messages in message queues to refresh the UI
2019-12-27Add BleController to manage the BLE connection statusJF1-3/+12
2019-12-27Implement battery measurement in BatteryController.JF1-7/+16
Update battery info on wake up (with button)
2019-12-27Add small font, display date, Ble connection and battery power in display ↵JF1-1/+4
app (hard-coded values for now).