summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)AuthorFilesLines
2022-01-26Merge pull request #531 from hatmajster/heart-rate-gain-settingJF1-2/+2
Heart rate sensor - HRS gain changed to x8
2022-01-25Hrs3300: changed default gain to x8hatmajster1-2/+2
2021-12-13changed ReadHrs and ReadAls to uint32, and did static_cast instead of hidden ↵Yehoshua Pesach Wallach2-4/+4
cast when using it
2021-12-13order ReadHrs, ReadAls bitwise according to bit orderingYehoshua Pesach Wallach1-2/+2
2021-11-15Move up file header include to topReinhold Gschweicher2-2/+2
2021-11-15Add missing standard includesReinhold Gschweicher1-0/+1
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher14-17/+17
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-11-14Fix unresponsive touch panel after update to 1.7 : don't care if device ids ↵Jean-François Milants1-11/+5
are not the ones we expected (until we know more about these communication and IDs issues).
2021-11-07Fix formatting following the code review.Jean-François Milants1-3/+3
2021-11-06Add data validity check and retries in CST816S driver. See ↵Jean-François Milants2-22/+58
https://github.com/InfiniTimeOrg/InfiniTime/issues/763#issuecomment-962436976.
2021-10-23Merge pull request #586 from hubmartin/wake-timeJF2-11/+0
Improve wake-up time
2021-09-16Merge branch 'develop' into wake-timehubmartin5-109/+118
2021-09-15Fix Error screen and optimize GetTouchInfoRiku Isokoski2-10/+8
2021-09-14Merge branch 'develop' into update_touch_driverRiku Isokoski3-9/+45
2021-08-29Merge branch 'develop' into pinmaphubmartin4-102/+74
2021-08-28Merge branch 'develop' into update_touch_driverRiku Isokoski4-76/+55
2021-08-28Merge branch 'twimaster_rework' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2-70/+43
into Riksu9000-twimaster_rework # Conflicts: # src/systemtask/SystemTask.cpp
2021-08-23Remove commented commands completelyhubmartin2-11/+0
2021-08-18Use highest frequency and move mutex creation to InitRiku Isokoski1-1/+4
2021-08-18Automatic error detectionRiku Isokoski2-2/+7
2021-08-16Simplify parameters and cleanupRiku Isokoski2-45/+17
2021-08-15Remove LCD reset and more cmds, save over 200mshubmartin1-8/+8
2021-08-15Remove unnecessary pin_set, save 50mshubmartin1-2/+2
2021-08-12Don't reconfigure pinsRiku Isokoski1-6/+1
2021-08-10Rework TouchHandler into not a taskRiku Isokoski2-10/+5
2021-08-10Explicitly disable pullupRiku Isokoski1-0/+2
2021-08-10Only enable the bus when neededRiku Isokoski1-2/+4
2021-08-09Optimize twiMasterRiku Isokoski2-22/+21
2021-08-04Rename backlight level pinshubmartin1-3/+3
2021-08-03Cleanup, set Pinetime as defaulthubmartin1-41/+17
2021-08-03PinMap with namespace and constexprhubmartin3-9/+44
2021-08-02DRAFT: Put gpio pins to separate filehubmartin2-1/+27
2021-07-18UpdateRiku Isokoski1-1/+1
2021-07-16Fix touch wakeup and code cleanupRiku Isokoski2-5/+10
2021-07-16Fix most issuesRiku Isokoski2-31/+21
2021-07-15Quick fixRiku Isokoski1-1/+1
2021-07-15New touch handler, with issuesRiku Isokoski1-1/+11
2021-07-14Update touchpad driverRiku Isokoski2-28/+47
2021-06-22Removed an illogical comparison from SystemInfo and St7789 driver (#449)Avamander1-1/+2
* Removed an illogical comparison
2021-06-19Add support for BMA425 acceleration sensor. (#440)JF0024-21/+556
* Add support for BMA425 acceleration sensor.
2021-06-12Fix fallthrough on case statement (#403)Jonathan Vander Mey1-0/+1
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants4-5/+10
initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco (https://en.cppreference.com/w/cpp/language/siof). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238.
2021-06-10Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants1-4/+4
code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2-3/+0
variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
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