aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers
Commit message (Collapse)AuthorAgeFilesLines
...
| * array in SettingWakeUp wrong sizeJoaquim José Almeida Pereira2021-04-051-1/+1
| |
| * double tap wakeup error fixJoaquim2021-04-041-2/+5
| | | | | | | | battery nonblocking read
| * Big UI and navigation RewriteJoaquim2021-04-041-44/+24
| | | | | | | | | | | | | | | | | | | | | | 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...
* | TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases ↵Jean-François Milants2021-04-084-201/+57
| | | | | | | | | | | | and workarounds for errors on the bus. Reset the TWI bus after the soft-reset of the motion sensor to workaround issues on the TWI bus.
* | Reset the step count every day at midnight.Jean-François Milants2021-04-042-1/+7
| |
* | Handle return code from BMA driver, and set a flag is the initialization ↵Jean-François Milants2021-04-042-11/+17
| | | | | | | | fails. This allows to boot InfiniTime even if the device cannot initialize.
* | Code cleaning in BMA421 driver. Do the axis inversion in the driver and not ↵Jean-François Milants2021-04-042-55/+28
| | | | | | | | | | | | in the application. NOTE: Axis remapping from the SDK do not apply to the "raw" X/Y/Z values returned to the sensor. According to the doc, the remapping is only applied to features, but I cannot check if it has any effect on step counting (I'm not sure I use it correctly, doc is not complete enough about this feature).
* | First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants2021-04-047-0/+12082
|/ | | | wrist rotation + app to see the value of the 3 axis in "real time".
* FIX screen corruption #213Joaquim2021-03-182-12/+3
|
* eliminated warnings in Hrs3300Niall Cooling2021-02-121-4/+5
|
* 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
|