aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * Re-enable BLE, BLE status on display and battery level on display.JF2020-02-2313-72/+83
| |
| * Do not compile GFX and older fonts anymore.JF2020-02-2313-200/+313
| | | | | | | | | | | | 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-1618-68/+540
| | | | | | | | PoC of user interaction with 3 screen (clock, menu and app).
| * Log Touchpanel data (position + gesture!)JF2020-02-124-22/+58
| |
| * Integration of lvgl : continued...JF2020-02-1017-314/+1301
| |
| * First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF2020-02-0812-31/+1014
| |
* | Prevent unnecessary refresh in Clock screen.JF2020-02-162-4/+5
| |
* | Add support for hardware assisted vertical scrolling.JF2020-02-154-1/+34
|/
* Improve clock accuraty and reduce clock drifting over time (before : 1/2h ↵JF2020-01-312-781/+792
| | | | per day, now : 0 minutes in 24h).
* Remove test codeJF2020-01-263-40/+5
|
* GFX : wait end of transfert using a task notification.JF2020-01-264-63/+82
| | | | Code cleaning in SpiMaster.
* Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF2020-01-2610-164/+223
| | | | 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-228-51/+114
| | | | | | = 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
* [WIP] Use IRQ in SPI driver to improve performancesJF2020-01-225-54/+90
|
* Implement the SPI driver using DMA.JF2020-01-198-59/+142
|
* Merge branch 'master' of https://github.com/JF002/PinetimeJF2020-01-191-1/+1
|\
| * downgrade to cmake 3.10Daniel Kucera2020-01-181-2/+2
| |
* | Refactor ctor() and Ini() of SpiMaster.JF2020-01-184-36/+45
| |
* | Set minimum version of cmake to 3.10JF2020-01-181-1/+1
| |
* | Encapsulate the drawing of the screen into Screens classes.JF2020-01-1816-152/+303
|/
* Add version (major.minor.patch) in CMake files.JF2020-01-182-0/+22
| | | | Display the version on the display.
* Update comment about system taskJF2020-01-181-0/+2
|
* DateTimeController is now updated in the system task.JF2020-01-185-59/+110
| | | | | 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.
* Apply Hardware reset on display during wake-up, as softreset might not be ↵JF2020-01-181-0/+1
| | | | enough to wake the display up.
* Disable SPI, I²C, touch controller and display controller in sleep mode.JF2020-01-179-3/+82
| | | | | | | | Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
* Detect BLE disconnection (in addition to BLE connection) and update the ↵JF2020-01-123-9/+35
| | | | display accordingly.
* Fix link error because of missing file "nrf_common.ld"JF2020-01-121-0/+4
|
* Improve date/time accuracy and handle counter overflow.JF2020-01-123-14/+24
|
* Merge pull request #11 from JF002/date-libraryJF0022020-01-1113-24/+23451
|\ | | | | Date/Time management
| * Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF2020-01-1113-24/+23451
| | | | | | | | | | | | and time. The date is now properly processed (31 December 2019 23:59:59 + 1s => 1 January 2020 00:00:00)
* | Increase configMINIMAL_STACK_SIZE to fix crash issue caused by freertos timers.JF2020-01-092-2/+2
|/
* Improve power consumption and SLEEP mode :JF2020-01-0510-16/+1047
| | | | | | | - Disable IDLE hook (it would wake the device up as soon as possible). - Logger task sleep for 100ms (disable logging for better battery life) - Logging is disabled by default - Apply fix for ERRATA 87 (clear FPU interrupt before going to sleep). Ports files from FreeRTOS are now in the sources (they where in the SDK before)
* Add basic touch panel driver.JF2020-01-037-101/+176
| | | | Handle touch event in display app : draw a big square at the touch point coordinates.
* Add documentation about building a stub using NRF52-DK.JF2020-01-021-13/+13
|
* Send command DisplayOn/Off to LCD when enabling/disabling the display.JF2020-01-021-0/+2
|
* Apply reset signal on pin P0.26 for LCD during init.JF2020-01-022-2/+15
|
* Remove deleted files from CMakeLists.txtJF2019-12-301-2/+0
|
* Add DateTimeController to manage the time.JF2019-12-288-74/+179
| | | | Use messages in message queues to refresh the UI
* Add BleController to manage the BLE connection statusJF2019-12-276-5/+48
|
* Replace pin numbers by constantsJF2019-12-272-5/+9
|
* Implement battery measurement in BatteryController.JF2019-12-276-75/+103
| | | | Update battery info on wake up (with button)
* Add small font, display date, Ble connection and battery power in display ↵JF2019-12-277-3/+1733
| | | | app (hard-coded values for now).
* Measure and log battery voltage from SystemTaskJF2019-12-272-3/+63
|
* Use push button to go to sleep/wake up.JF2019-12-264-26/+122
| | | | Use a queue to transmit messages between system and display task (sleep & wake up for now).
* Code cleaning, implement BT connection, advertising, discovery and CTS in ↵JF2019-12-234-654/+584
| | | | ble_manager module.
* Track the time using RTCJF2019-12-213-6/+30
|
* Add BLE and CTS client. Time can be retrieved from a CTS server (like ↵JF2019-12-215-26/+692
| | | | | | NRFConnect) once it's bond. WIP, the code is really ugly
* The font is now fixed width.JF2019-12-078-4279/+4356
| | | | HUGE performance improvement of the display driver.
* Convert Spi and GFX to C++.JF2019-12-0712-558/+308
|