summaryrefslogtreecommitdiff
path: root/src/drivers/SpiMaster.cpp
AgeCommit message (Collapse)Author
2022-06-05Apply clang-format to all C++ filesFinlay Davidson
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher
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-06-12Fix fallthrough on case statement (#403)Jonathan Vander Mey
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants
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 Milants
code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
2021-04-24Reformatted all the files according to clang-format styleAvamander
2020-11-15Include cleanup: driversokaestne
2020-08-22Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF
2020-08-17Fix most of the warnings. Remaining warnings come from nimble source code.JF
2020-06-01Encapsulate DFU Image buffering and writing into spi flash in DfuImage.JF
Add some const in SPI driver.
2020-05-24Fix race condition in SpiMaster.cpp.JF
2020-05-24Merge developJF
2020-05-17Improve SPI driver (use a mutex to prevent race conditions).JF
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF
DFUService (WIP)
2020-05-07Add SPI NOR Flash driver, WIP.JF
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF
2020-01-26GFX : wait end of transfert using a task notification.JF
Code cleaning in SpiMaster.
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF
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 ↵JF
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF
2020-01-19Implement the SPI driver using DMA.JF
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF
Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
2019-12-07Convert Spi and GFX to C++.JF