summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)AuthorFilesLines
2020-10-23Workaround for bug https://github.com/JF002/Pinetime/issues/79 until a ↵JF2-15/+96
better fix is found. When the driver is stuck in an infinite loop for more than ~2.5ms, the TWI device is re-init and the transaction is retried. Read() and Write() return an error code.
2020-09-13Fix race conditions during sleep/wakeup, where SPI/TWI could be disabled ↵JF1-1/+3
while transaction were in progress (https://github.com/JF002/Pinetime/issues/60).
2020-08-22Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF8-17/+62
2020-08-17Fix most of the warnings. Remaining warnings come from nimble source code.JF2-6/+3
2020-07-21correct include headerfrederic lesur LESUR Frederic1-2/+2
2020-07-21correct bad including of sdk filesfrederic lesur LESUR Frederic1-2/+2
(cherry picked from commit 8510e4436f6a2ac7b53fe8cb5010acb840c743b8)
2020-07-19New implementation of the I²C/TWI driver.JF4-48/+214
Fix reset timing and add dummy reading in Cst816S to fix init error on some devices.
2020-06-16Fix #include that were pointing to my own FS instead of relative paths to ↵JF1-1/+1
the SDK.
2020-06-07Fix reset reason (it returns the actual reset reason instead of hard coded ↵JF1-11/+11
'hard reset' value).
2020-06-01Encapsulate DFU Image buffering and writing into spi flash in DfuImage.JF6-7/+7
Add some const in SPI driver.
2020-05-24Add driver for writing into the internal flash.JF2-0/+54
Write the OK flag for mcuboot using this driver.
2020-05-24Fix race condition in SpiMaster.cpp.JF1-0/+2
2020-05-24Merge developJF2-36/+31
2020-05-17Improve SPI driver (use a mutex to prevent race conditions).JF2-17/+24
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF6-35/+215
DFUService (WIP)
2020-05-07Add SPI NOR Flash driver, WIP.JF8-16/+183
2020-04-19Integration of nimble, work in progress.JF1-10/+10
Advertising is working.
2020-03-22Add new App : Sysinfo. It displays various info about the running system : ↵JF2-11/+23
version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
2020-03-11Backup and restore vertical scroll offset when goind to sleep/wakeup to ↵JF2-0/+3
avoid scrambled display on wake-up.
2020-03-08When a full screen refresh is done, apply a vertical scroll during the ↵JF2-5/+5
refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
2020-03-08Do not copy LittleVgl object in DislayApp, use reference instead.JF3-0/+16
Make Cst816s, SpiMaster and St7789 not copiable and not movable
2020-03-03Merge branch 'littlevgl'JF8-32/+226
# Conflicts: # src/DisplayApp/Screens/Clock.cpp # src/DisplayApp/Screens/Clock.h
2020-03-01Add debugPins module that provides functions to set and clear debug GPIOs.JF2-0/+74
Disable logging once again.
2020-02-23Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF2-0/+77
than 7s.
2020-02-16Add touch panel port to lvgl.JF1-20/+20
PoC of user interaction with 3 screen (clock, menu and app).
2020-02-15Add support for hardware assisted vertical scrolling.JF2-0/+23
2020-02-12Log Touchpanel data (position + gesture!)JF2-14/+55
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF2-18/+20
2020-01-26GFX : wait end of transfert using a task notification.JF2-60/+53
Code cleaning in SpiMaster.
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF5-94/+64
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 ↵JF4-44/+82
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF2-49/+71
2020-01-19Implement the SPI driver using DMA.JF4-39/+98
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF2-11/+14
2020-01-18Apply Hardware reset on display during wake-up, as softreset might not be ↵JF1-0/+1
enough to wake the display up.
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF6-3/+66
Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
2020-01-03Add basic touch panel driver.JF2-0/+124
Handle touch event in display app : draw a big square at the touch point coordinates.
2020-01-02Apply reset signal on pin P0.26 for LCD during init.JF2-2/+15
2019-12-07The font is now fixed width.JF3-11/+26
HUGE performance improvement of the display driver.
2019-12-07Convert Spi and GFX to C++.JF6-377/+158
2019-12-06Add missing return statements which fix crashes in release mode.JF2-3/+3
Add flag to compiler so that it generates an error when a returning function does not return something...
2019-12-05Add support for LCD (ST7789)JF4-12/+540
2019-12-02First code tested on the actual pinetime hardwareJF2-0/+19