summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2020-11-16fix TWI includesokaestne
2020-11-15Include cleanup: driversokaestne
2020-10-27Merge pull request #111 from JF002/fix-twi-hangJF002
Workaround for TWI driver freeze
2020-10-27Handle error code when calling TwiMaster::Read().JF
2020-10-27Disable sleep mode on the SPI NOR Flash when the version is unknown. This is ↵JF
because the current bootloader (which does not exposes its version) cannot initialize the chip when it's in sleep mode. This feature will be re-enabled when the bootloader expses it's version.
2020-10-23Workaround for bug https://github.com/JF002/Pinetime/issues/79 until a ↵JF
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 ↵JF
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.JF
2020-08-17Fix most of the warnings. Remaining warnings come from nimble source code.JF
2020-07-20correct include headerfrederic lesur LESUR Frederic
2020-07-20correct bad including of sdk filesfrederic lesur LESUR Frederic
(cherry picked from commit 8510e4436f6a2ac7b53fe8cb5010acb840c743b8)
2020-07-19New implementation of the I²C/TWI driver.JF
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 ↵JF
the SDK.
2020-06-07Fix reset reason (it returns the actual reset reason instead of hard coded ↵JF
'hard reset' value).
2020-06-01Encapsulate DFU Image buffering and writing into spi flash in DfuImage.JF
Add some const in SPI driver.
2020-05-24Add driver for writing into the internal flash.JF
Write the OK flag for mcuboot using this driver.
2020-05-24Fix race condition in SpiMaster.cpp.JF
2020-05-24Merge developJF
2020-05-17Improve SPI driver (use a mutex to prevent race conditions).JF
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF
DFUService (WIP)
2020-05-07Add SPI NOR Flash driver, WIP.JF
2020-04-19Integration of nimble, work in progress.JF
Advertising is working.
2020-03-22Add new App : Sysinfo. It displays various info about the running system : ↵JF
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 ↵JF
avoid scrambled display on wake-up.
2020-03-08When a full screen refresh is done, apply a vertical scroll during the ↵JF
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.JF
Make Cst816s, SpiMaster and St7789 not copiable and not movable
2020-03-03Merge branch 'littlevgl'JF
# 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.JF
Disable logging once again.
2020-02-23Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF
than 7s.
2020-02-16Add touch panel port to lvgl.JF
PoC of user interaction with 3 screen (clock, menu and app).
2020-02-15Add support for hardware assisted vertical scrolling.JF
2020-02-12Log Touchpanel data (position + gesture!)JF
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF
2020-01-26GFX : wait end of transfert using a task notification.JF
Code cleaning in SpiMaster.
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF
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 ↵JF
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF
2020-01-19Implement the SPI driver using DMA.JF
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF
2020-01-18Apply Hardware reset on display during wake-up, as softreset might not be ↵JF
enough to wake the display up.
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF
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.JF
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.JF
2019-12-07The font is now fixed width.JF
HUGE performance improvement of the display driver.
2019-12-07Convert Spi and GFX to C++.JF
2019-12-06Add missing return statements which fix crashes in release mode.JF
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)JF
2019-12-02First code tested on the actual pinetime hardwareJF