summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2024-12-10Allow for connecting to the paired device from the known devices listailurux
2024-10-01Support a minor version in the SAMD firmwarejacqueline
2024-09-17Move SPI ISR back to CPU0jacqueline
See if this does anything for the itermittent spi acquire hangs
2024-09-13Merge branch 'main' into jqln/ttsjacqueline
2024-09-12Pause and unpause the current audio output in response to TTSjacqueline
2024-09-10Use '/sd' instead of '/sdcard' for accessing the sd cardjacqueline
it's cleaner
2024-09-09Merge branch 'main' into jqln/ttsjacqueline
2024-09-06Ignore comments within playlist filesjacqueline
Includes a general cleanup+restructure of playlist.cpp, and fixing the tests and benchmarks
2024-08-28Timeout when writing output samples throughout the audio pipelinejacqueline
This allows the audio pipeline to remain responsive even when the drain buffer has completely filled. This in turn means that you now see the track info in the 'now playing' screen change if the current track changes whilst you are paused. Since I was fucking around a lot in the audio processor anyway, I also added mono->stereo expansion so that playing mono tracks on Bluetooth no longer destroys your ears.
2024-08-26Move some hot driver functions into iramjacqueline
We've got the space for it now! Also turn SW radio coexistence off whilst we're here; the docs recommend this if you only use Bluetooth(R)
2024-08-15Don't break early from clearing PcmBufferjacqueline
2024-08-14Always initialise bytes_cleared when clearing PcmBuffersjacqueline
2024-08-13Move off of deprecated APIsjacqueline
2024-08-13Fix build errors from stricter visibility requirementsjacqueline
2024-08-12daniel/theme-setting (#87)ailurux
- Themes can be loaded from disk and built-in - Themes can be selected in a new themes menu of the settings screen - Some touch-ups to existing themes - The saved theme is persisted in nvs Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/87 Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org> Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2024-08-07Recalibrate the touchwheel after unlockingjacqueline
Also power it down whilst we're locked. This saves about half a milliamp.
2024-07-24Add a settings screen with power+battery infojacqueline
Mostly for debugging, but also u can toggle fast charging off and on now
2024-07-12Give Bluetooth settings a bit of a refreshjacqueline
It's now a bit more responsive to stuff happening, gives you more information, and remembers your previously paired devices for faster switching between them.
2024-07-11WIP improve bluetooth api and settings screenjacqueline
2024-07-10Move the SPI interrupt alloc to the second corejacqueline
We're a bit close to the line on core0 allocs, so this helps balance things out a bit.
2024-07-09Give PcmBuffer pairs a name, and wire them up in the audio stackjacqueline
2024-07-05WIP start on accepting two streams in out audio outputjacqueline
2024-06-28Fix some issues with the splash screenjacqueline
- fix a use-after-free involving the alerts container that was happening when showing the first screen - fix some issues where the splash screen wouldn't come up as early as it needs to when another bootup task was making heavy use of the spi bus
2024-06-27update catch2 to v3.6.0jacqueline
2024-06-25skip the storage test if there's no sd cardjacqueline
2024-06-25Add a basic overview of writing and running testsjacqueline
2024-06-25Unbreak the tests buildjacqueline
2024-06-14Improve DAC power+mute management to reduce clicks and popsjacqueline
2024-06-12WIP fix issues introduced by lvgl version bumpjacqueline
2024-06-06daniel/bluetooth-avrc (#80)ailurux
Have a squizzy and lemme know if any issues @cooljqln 🐝 Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/80 Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2024-06-04no more acquire_spi :)jacqueline
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-06-03u didnt see shitjacqueline
2024-06-03move a bunch of bt callbacks to background tasksjacqueline
we should avoid doing bt state machine stuff from these callbacks, since espressif calls us whilst holding a lock. ideally we should move all of them to background threads, but we need to do a deep copy to safely move a few of them
2024-05-31Introduce a PcmBuffer abstraction for handling source drainingjacqueline
2024-05-29Minor formatting fixailurux
2024-05-29Fix issue where failing to connect bt device initially won't retryailurux
2024-05-28Lowercase BT device name for better auto-readingjacqueline
2024-05-15Support setting the samd charge ratejacqueline
We default to the fast one, and do not try setting the charge rate bit on older samd versions
2024-05-14save lra calibration data to nvsjacqueline
2024-05-14Use LRA motors in an auto-calibrated closed-loop modejacqueline
2024-05-08Count samples going in and out of the drain bufferjacqueline
This is a more accurate way of knowing which track is playing when, and also simplifies a lot of fragile logic in audio_fsm
2024-05-02move driver includes into a subdir as welljacqueline
2024-05-02WIP merge cyclically dependent components into one big componentjacqueline
2024-05-02Replace cpp::span shim with std::spanjacqueline
2024-04-22Improve handling of the displayjacqueline
- Blank the display when locking to prevent burn-in - Delay turning the display on until *exactly* after the first lvgl flush - Init the display in the ui task to avoid blocking the rest of boot
2024-04-19Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fwjacqueline
2024-04-19squash a bunch of warningsjacqueline
2024-04-19Adds LRA haptic support (open-loop only for now).Robin Howard
2024-04-19Fix DRV2065L register usage: we were accidentally setting control2 when we ↵Robin Howard
meant control3.