summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
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.
2024-04-15Fix some bt device issuesjacqueline
- Don't allow adjusting volume if there's no device - Cap bt nvs values correctly - Persist bt volumes correctly even when the encoded for has a null byte (facepalm 4 me)
2024-04-12switch to software volume scaling (it's bad tho i need daniel to do maths ↵jacqueline
for me please)
2024-04-11Migrate all existing control schemes to the cool new worldjacqueline
2024-04-10WIP decompose our giant LVGL driver into smaller classesjacqueline
2024-04-09fix some struct defaults in low-level driversjacqueline
2024-04-08Warn and block MSC disable if the sd card is busyjacqueline
2024-04-02Support disabling automatic database updatesjacqueline
2024-03-28bump esp-idf to 5.2.1jacqueline
2024-03-28HACK: auto-accept CFM pairing, and increase the connection timeoutjacqueline
This gets Tangara connecting to most non-trivial devices, including car headunits and my laptop. We can add a real UI / better timeout handling for this later (likely via a new BluetoothState?)
2024-03-20Start using the lock switch polarity bit in nvsjacqueline
2024-03-20Add exact display size to nvs, since it can varyjacqueline
2024-03-17fixes for my green-tab adafruit ST7735RNano
2024-03-14Use a simpler method of determining charge statusjacqueline
idk why the smarter way of doing it doesn't work reliably, but im sick of it
2024-02-13Fixed clamp and write on scroll sensitivityailurux
2024-02-13Updated sensitivity nvs storeailurux
2024-02-13Merge branch 'main' into scroll-sensitivityailurux
2024-02-13Sensitivity value now between 0 and 255ailurux
2024-02-13Cache pending nvs writes in memoryjacqueline
Includes refactoring nvs settings to be a bit less duplicated
2024-02-12Scroll sensitivity configurable, but invertedailurux
2024-02-12Remove some logging whoopsiesjacqueline
2024-02-12Remember per-device bluetooth volumejacqueline
2024-02-07hack around deadlock during bt disablejacqueline
2024-02-07Silence chatty touchwheel logjacqueline
2024-02-07Deliver AVRC events on a background threadjacqueline
We don't currently do anything with them, so need to wait for the lock on the bt thread
2024-02-06improve the locking strategy of the bluetooth fsmjacqueline
2024-02-06Retry bt device connectionsjacqueline
i hate this janky-ass protocol
2024-02-06let the bluetooth stack handle its own discovery statejacqueline