summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)AuthorFilesLines
2021-04-24Changed access modified indentationAvamander11-23/+23
2021-04-24Reformatted all the files according to clang-format styleAvamander23-540/+573
2021-04-100.16.0 TWI problems fixJoaquim5-50/+174
More memory for freertos heap and timer stack Fix warning in watchface Fix number of bytes read by cst816 Debug app to show freertos tasks Increased the number of bytes of the twi write buffer
2021-04-09Merge branch 'develop' into motion-sensorJean-François Milants1-50/+30
# Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/DisplayApp.h # src/displayapp/lv_pinetime_theme.c # src/displayapp/screens/ApplicationList.cpp # src/drivers/TwiMaster.cpp # src/systemtask/SystemTask.h
2021-04-08TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases ↵Jean-François Milants4-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.
2021-04-05Fix wake up lock in twiJoaquim1-4/+2
optimize battery code
2021-04-05array in SettingWakeUp wrong sizeJoaquim José Almeida Pereira1-1/+1
2021-04-04Reset the step count every day at midnight.Jean-François Milants2-1/+7
2021-04-04Handle return code from BMA driver, and set a flag is the initialization ↵Jean-François Milants2-11/+17
fails. This allows to boot InfiniTime even if the device cannot initialize.
2021-04-04Code cleaning in BMA421 driver. Do the axis inversion in the driver and not ↵Jean-François Milants2-57/+30
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).
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