aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Encapsulate nimble code into NimbleController.JF2020-04-191-3/+1
| | | | Handle all GAP events.
* Integration of nimble, work in progress.JF2020-04-191-20/+130
| | | | Advertising is working.
* Encapsulate Notification management in NotificationManager. It implement a ↵JF2020-03-281-2/+6
| | | | static array of notifications to avoid dynamic allocation.
* Add support for BLE notification (ANS client).JF2020-03-251-0/+8
| | | | Work In Progress!!!
* Remove not needed code.JF2020-03-061-16/+0
|
* Remove TODO as they are not needed anymoreJF2020-03-021-2/+0
|
* Re-Enable BLEJF2020-03-021-4/+4
|
* Instantiate spi, lcd, lvg and touchpanel as global variables instead of ↵JF2020-03-011-20/+34
| | | | unique_ptr (avoids dynamic alloc at run-time.
* Add new Screens (gauge, meter,...)JF2020-02-261-4/+4
|
* Re-enable BLE, BLE status on display and battery level on display.JF2020-02-231-8/+1
|
* Do not compile GFX and older fonts anymore.JF2020-02-231-121/+25
| | | | | | 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.
* Add touch panel port to lvgl.JF2020-02-161-3/+5
| | | | PoC of user interaction with 3 screen (clock, menu and app).
* Log Touchpanel data (position + gesture!)JF2020-02-121-1/+1
|
* Integration of lvgl : continued...JF2020-02-101-3/+5
|
* First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF2020-02-081-5/+16
|
* Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF2020-01-261-8/+39
| | | | 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-1/+6
| | | | | | = 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
* [WIP] Use IRQ in SPI driver to improve performancesJF2020-01-221-0/+14
|
* Update comment about system taskJF2020-01-181-0/+2
|
* DateTimeController is now updated in the system task.JF2020-01-181-3/+37
| | | | | 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.
* Detect BLE disconnection (in addition to BLE connection) and update the ↵JF2020-01-121-2/+14
| | | | display accordingly.
* Increase configMINIMAL_STACK_SIZE to fix crash issue caused by freertos timers.JF2020-01-091-1/+1
|
* Improve power consumption and SLEEP mode :JF2020-01-051-10/+0
| | | | | | | - 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-031-2/+21
| | | | Handle touch event in display app : draw a big square at the touch point coordinates.
* Add DateTimeController to manage the time.JF2019-12-281-5/+18
| | | | Use messages in message queues to refresh the UI
* Add BleController to manage the BLE connection statusJF2019-12-271-1/+4
|
* Implement battery measurement in BatteryController.JF2019-12-271-67/+12
| | | | Update battery info on wake up (with button)
* Measure and log battery voltage from SystemTaskJF2019-12-271-2/+62
|
* Use push button to go to sleep/wake up.JF2019-12-261-8/+40
| | | | 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-231-654/+7
| | | | ble_manager module.
* Track the time using RTCJF2019-12-211-2/+2
|
* Add BLE and CTS client. Time can be retrieved from a CTS server (like ↵JF2019-12-211-2/+650
| | | | | | NRFConnect) once it's bond. WIP, the code is really ugly
* Convert Spi and GFX to C++.JF2019-12-071-24/+0
|
* Add DisplayApp, and lcdfont. Update the display every secondJF2019-12-051-80/+4
|
* Add support for LCD (ST7789)JF2019-12-051-12/+82
|
* First code tested on the actual pinetime hardwareJF2019-12-021-0/+26
|
* Initial commitJF2019-11-171-0/+76