summaryrefslogtreecommitdiff
path: root/src/drivers/SpiMaster.h
AgeCommit message (Collapse)AuthorFilesLines
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants1-1/+1
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-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants1-1/+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 indentationAvamander1-2/+2
2021-04-24Reformatted all the files according to clang-format styleAvamander1-48/+52
2020-11-15Include cleanup: driversokaestne1-7/+3
2020-06-01Encapsulate DFU Image buffering and writing into spi flash in DfuImage.JF1-1/+1
Add some const in SPI driver.
2020-05-24Merge developJF1-2/+2
2020-05-17Improve SPI driver (use a mutex to prevent race conditions).JF1-1/+3
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF1-3/+8
DFUService (WIP)
2020-05-07Add SPI NOR Flash driver, WIP.JF1-2/+3
2020-03-08Do not copy LittleVgl object in DislayApp, use reference instead.JF1-0/+5
Make Cst816s, SpiMaster and St7789 not copiable and not movable
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF1-2/+5
2020-01-26GFX : wait end of transfert using a task notification.JF1-1/+3
Code cleaning in SpiMaster.
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF1-13/+8
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 ↵JF1-5/+8
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF1-2/+10
2020-01-19Implement the SPI driver using DMA.JF1-1/+6
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF1-3/+5
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF1-0/+6
Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
2019-12-07The font is now fixed width.JF1-1/+0
HUGE performance improvement of the display driver.
2019-12-07Convert Spi and GFX to C++.JF1-0/+32