aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers
Commit message (Collapse)AuthorAgeFilesLines
* changed command MemoryDataAccessControl from 036 to 0x36 in St7789 classNiall Cooling2021-01-211-1/+1
|
* Add License/copyright info in HR related files.Jean-François Milants2021-01-171-1/+9
|
* First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants2021-01-102-0/+155
|
* fix TWI includesokaestne2020-11-161-0/+2
|
* Include cleanup: driversokaestne2020-11-1517-34/+22
|
* Merge pull request #111 from JF002/fix-twi-hangJF0022020-10-274-23/+106
|\ | | | | Workaround for TWI driver freeze
| * Handle error code when calling TwiMaster::Read().JF2020-10-272-8/+10
| |
| * Workaround for bug https://github.com/JF002/Pinetime/issues/79 until a ↵JF2020-10-232-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.
* | Disable sleep mode on the SPI NOR Flash when the version is unknown. This is ↵JF2020-10-271-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.
* Fix race conditions during sleep/wakeup, where SPI/TWI could be disabled ↵JF2020-09-131-1/+3
| | | | while transaction were in progress (https://github.com/JF002/Pinetime/issues/60).
* Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF2020-08-228-17/+62
|
* Fix most of the warnings. Remaining warnings come from nimble source code.JF2020-08-172-6/+3
|
* correct include headerfrederic lesur LESUR Frederic2020-07-211-2/+2
|
* correct bad including of sdk filesfrederic lesur LESUR Frederic2020-07-211-2/+2
| | | | (cherry picked from commit 8510e4436f6a2ac7b53fe8cb5010acb840c743b8)
* New implementation of the I²C/TWI driver.JF2020-07-194-47/+213
| | | | Fix reset timing and add dummy reading in Cst816S to fix init error on some devices.
* Fix #include that were pointing to my own FS instead of relative paths to ↵JF2020-06-161-1/+1
| | | | the SDK.
* Fix reset reason (it returns the actual reset reason instead of hard coded ↵JF2020-06-071-11/+11
| | | | 'hard reset' value).
* 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
|