summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)AuthorFilesLines
2021-04-04First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants7-0/+12082
wrist rotation + app to see the value of the 3 axis in "real time".
2021-04-04double tap wakeup error fixJoaquim1-2/+5
battery nonblocking read
2021-04-04Big UI and navigation RewriteJoaquim1-50/+30
new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
2021-03-18FIX screen corruption #213Joaquim2-12/+3
2021-02-12eliminated warnings in Hrs3300Niall Cooling1-4/+5
2021-01-21changed command MemoryDataAccessControl from 036 to 0x36 in St7789 classNiall Cooling1-1/+1
2021-01-17Add License/copyright info in HR related files.Jean-François Milants1-1/+9
2021-01-10First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants2-0/+155
2020-11-16fix TWI includesokaestne1-0/+2
2020-11-15Include cleanup: driversokaestne17-34/+22
2020-10-27Merge pull request #111 from JF002/fix-twi-hangJF0024-23/+106
Workaround for TWI driver freeze
2020-10-27Handle error code when calling TwiMaster::Read().JF2-8/+10
2020-10-27Disable sleep mode on the SPI NOR Flash when the version is unknown. This is ↵JF1-3/+3
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 ↵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.