aboutsummaryrefslogtreecommitdiffstats
path: root/src/DisplayApp/DisplayApp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove test codeJF2020-01-261-35/+2
|
* Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF2020-01-261-26/+19
| | | | 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.
* Implement the SPI driver using DMA.JF2020-01-191-10/+14
|
* Refactor ctor() and Ini() of SpiMaster.JF2020-01-181-25/+23
|
* Encapsulate the drawing of the screen into Screens classes.JF2020-01-181-131/+20
|
* 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-181-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.
* 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-121-13/+21
|
* Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF2020-01-111-20/+37
| | | | | | 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-031-1/+17
| | | | 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-281-54/+91
| | | | Use messages in message queues to refresh the UI
* Add BleController to manage the BLE connection statusJF2019-12-271-3/+12
|
* Implement battery measurement in BatteryController.JF2019-12-271-7/+16
| | | | Update battery info on wake up (with button)
* Add small font, display date, Ble connection and battery power in display ↵JF2019-12-271-1/+4
| | | | app (hard-coded values for now).
* Use push button to go to sleep/wake up.JF2019-12-261-14/+65
| | | | Use a queue to transmit messages between system and display task (sleep & wake up for now).
* Track the time using RTCJF2019-12-211-4/+25
|
* Add BLE and CTS client. Time can be retrieved from a CTS server (like ↵JF2019-12-211-22/+31
| | | | | | NRFConnect) once it's bond. WIP, the code is really ugly
* The font is now fixed width.JF2019-12-071-6/+50
| | | | HUGE performance improvement of the display driver.
* Convert Spi and GFX to C++.JF2019-12-071-150/+30
|
* Add missing return statements which fix crashes in release mode.JF2019-12-061-3/+3
| | | | Add flag to compiler so that it generates an error when a returning function does not return something...
* Add DisplayApp, and lcdfont. Update the display every secondJF2019-12-051-0/+184