aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Encapsulate DFU Image buffering and writing into spi flash in DfuImage.JF2020-06-016-7/+7
| | | | Add some const in SPI driver.
* Add driver for writing into the internal flash.JF2020-05-242-0/+54
| | | | Write the OK flag for mcuboot using this driver.
* Fix race condition in SpiMaster.cpp.JF2020-05-241-0/+2
|
* Merge developJF2020-05-242-35/+30
|\
| * Improve SPI driver (use a mutex to prevent race conditions).JF2020-05-172-16/+23
| |
* | Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF2020-05-116-35/+215
| | | | | | | | DFUService (WIP)
* | Add SPI NOR Flash driver, WIP.JF2020-05-078-16/+183
|/
* Integration of nimble, work in progress.JF2020-04-191-10/+10
| | | | Advertising is working.
* Add new App : Sysinfo. It displays various info about the running system : ↵JF2020-03-222-11/+23
| | | | version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
* Backup and restore vertical scroll offset when goind to sleep/wakeup to ↵JF2020-03-112-0/+3
| | | | avoid scrambled display on wake-up.
* When a full screen refresh is done, apply a vertical scroll during the ↵JF2020-03-082-5/+5
| | | | refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
* Do not copy LittleVgl object in DislayApp, use reference instead.JF2020-03-083-0/+16
| | | | Make Cst816s, SpiMaster and St7789 not copiable and not movable
* Merge branch 'littlevgl'JF2020-03-038-31/+225
|\ | | | | | | | | | | # Conflicts: # src/DisplayApp/Screens/Clock.cpp # src/DisplayApp/Screens/Clock.h
| * Add debugPins module that provides functions to set and clear debug GPIOs.JF2020-03-012-0/+74
| | | | | | | | Disable logging once again.
| * Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF2020-02-232-0/+77
| | | | | | | | than 7s.
| * Add touch panel port to lvgl.JF2020-02-161-20/+20
| | | | | | | | PoC of user interaction with 3 screen (clock, menu and app).
| * Log Touchpanel data (position + gesture!)JF2020-02-122-14/+55
| |
| * First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF2020-02-082-17/+19
| |
* | Add support for hardware assisted vertical scrolling.JF2020-02-152-0/+23
|/
* GFX : wait end of transfert using a task notification.JF2020-01-262-60/+53
| | | | Code cleaning in SpiMaster.
* Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF2020-01-265-94/+64
| | | | 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-224-44/+82
| | | | | | = 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
* [WIP] Use IRQ in SPI driver to improve performancesJF2020-01-222-49/+71
|
* Implement the SPI driver using DMA.JF2020-01-194-39/+98
|
* Refactor ctor() and Ini() of SpiMaster.JF2020-01-182-11/+14
|
* 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-176-3/+66
| | | | | | | | Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
* Add basic touch panel driver.JF2020-01-032-0/+124
| | | | Handle touch event in display app : draw a big square at the touch point coordinates.
* Apply reset signal on pin P0.26 for LCD during init.JF2020-01-022-2/+15
|
* The font is now fixed width.JF2019-12-073-11/+26
| | | | HUGE performance improvement of the display driver.
* Convert Spi and GFX to C++.JF2019-12-076-377/+158
|
* Add missing return statements which fix crashes in release mode.JF2019-12-062-3/+3
| | | | Add flag to compiler so that it generates an error when a returning function does not return something...
* Add support for LCD (ST7789)JF2019-12-054-12/+540
|
* First code tested on the actual pinetime hardwareJF2019-12-022-0/+19