summaryrefslogtreecommitdiff
path: root/src/drivers/storage.cpp
AgeCommit message (Collapse)Author
2025-01-10Isolate the SD card from the SPI bus when talking to the display (#176)jacqueline
This should help significantly with https://codeberg.org/cool-tech-zone/tangara-fw/issues/121, which seems to be caused by some SD cards being very picky about being the only SPI device on their bus. Co-authored-by: ailurux <ailuruxx@gmail.com> Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/176 Co-authored-by: jacqueline <me@jacqueline.id.au> Co-committed-by: jacqueline <me@jacqueline.id.au>
2024-09-10Use '/sd' instead of '/sdcard' for accessing the sd cardjacqueline
it's cleaner
2024-06-03Remove spi locking hack + increase max sd frequencyjacqueline
These two changes (mostly the former) dramatically increase responsiveness when doing database updates; previously we were suffering from some nasty priority inversion. afaict the underlying need to acquire_spi seems to be fixed? i.e. spi bus acquisition is working properly. fingers heavily heavily crossed.
2024-05-02move driver includes into a subdir as welljacqueline
2024-01-30hand off the sd card to the samd properly, and remount when it's finishedjacqueline
2024-01-30Improve handling of sd card changes during runtimejacqueline
- mount if an sd card is inserted - unmount if it's removed
2023-10-28Annotates the kTag with maybe_unused; they're only used for logging.Robin Howard
2023-09-26std::string -> std::pmr::string in psramjacqueline
2023-08-30Use a service locator instead of passing around subsets of drivers between FSMsjacqueline
2023-08-08Improve sd card errorsjacqueline
2023-07-25fuck offjacqueline
2023-07-20Initial r5 bringupjacqueline
2023-06-30Clean up gpios interfacejacqueline
2023-06-30Start on converting gpio expander interupts to fsm eventsjacqueline
2023-05-24Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fwjacqueline
2023-05-23Annote E V E R Y T H I N G with license infojacqueline
2023-05-19Add tinyfsm, start converting core functions to an FSM-based event loopjacqueline
2023-04-21wrap driver instance ownership + di in a classjacqueline
2023-01-17Merge branch 'main' into codecsjacqueline
2022-12-07better handling of chunk bufferjacqueline
2022-11-21first go at r2 bringup. waiting on mosfets.jacqueline
2022-11-17Progress on own pipeline. Still very WIPjacqueline
2022-11-16Order and group headers correctlyjacqueline
2022-11-16Use underscores instead of dashes in filenames consistentlyjacqueline
2022-11-07use a less fun but more descriptive namespacejacqueline
2022-11-07Split driver-y things into a separate componentjacqueline