jacqueline
688fe79471
require a key press before entering the dev console
...
this improves our ability to detect terminals that support line editing
1 year ago
jacqueline
1daa1e9b0f
update catch2 to v3.6.0
1 year ago
jacqueline
bfee3742d3
skip the storage test if there's no sd card
1 year ago
jacqueline
525ed2ae1b
Add a basic overview of writing and running tests
1 year ago
jacqueline
8db57d6dc5
Unbreak the tests build
1 year ago
jacqueline
d75927ff92
Use a curve to estimate battery %
...
This is a bit more accurate than our previous linear relationship,
particularly at lower voltages.
1 year ago
jacqueline
00b1ba58f0
Improve DAC power+mute management to reduce clicks and pops
1 year ago
jacqueline
7f2d56e29a
Load fonts dynamically from /lua
...
This unfortunately slows boot time by a bit, but I think we should be able to reclaim that time eventually.
1 year ago
jacqueline
194f0e6b59
Scroll to 'top/bottom' by only 10 at a time
...
Prevents a nasty device lockup when scrolling infinite lists
1 year ago
jacqueline
82ec765d2d
Fix splash screen background
1 year ago
jacqueline
e58dcf6dc5
WIP fix issues introduced by lvgl version bump
1 year ago
ailurux
7c107e739a
Add basic bluetooth queue controls
1 year ago
ailurux
8de07fe8fa
daniel/bluetooth-avrc ( #80 )
...
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>
1 year ago
jacqueline
1242a199e3
log db update time-per-track
1 year ago
jacqueline
72344b5777
no more acquire_spi :)
1 year ago
jacqueline
39460931d8
Remove spi locking hack + increase max sd frequency
...
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.
1 year ago
jacqueline
9457f9021a
u didnt see shit
1 year ago
jacqueline
4afe9d9b5c
move a bunch of bt callbacks to background tasks
...
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
1 year ago
jacqueline
661cc976a1
Remove now redudantant 'Iterator.next()' care in TrackIterator
...
With Daniel's fix, this is no longer needed! Hooray!
1 year ago
jacqueline
f84474d94d
Introduce a PcmBuffer abstraction for handling source draining
1 year ago
ailurux
9dbcd6a5c8
Fix prev/next behaviour on database iterator
...
Fixes issue with apparent duplicated tracks in the infinite list
1 year ago
jacqueline
2ff8eac022
Start on TTS support by logging the data that will become TTS lines
...
Includes some misc cleanup of haptic double-triggering (or
non-triggering), since those cases all end up being TTS event
double-reporting, which to me crosses the threshold from "annoying" to
"usability issue"
1 year ago
ailurux
ef812a53e5
Minor formatting fix
1 year ago
ailurux
9d67ddcf6e
Fix issue where failing to connect bt device initially won't retry
1 year ago
jacqueline
c846146c2f
Lowercase BT device name for better auto-reading
1 year ago
jacqueline
0da7ead0a8
Simply some I2SDac management to avoid null pointer accesses
...
Fixes #72 ; we were destroying the I2SDac instance, but weren't actually
recording that the output was now in the 'off' state.
1 year ago
jacqueline
fb6b0ed49c
Fix counting empty stream cues as the current stream
1 year ago
jacqueline
d948585b00
add a lua binding for playing a sine wave
1 year ago
jacqueline
51bbb6a495
Add a stream source that generates a sine wave
1 year ago
jacqueline
c1f7adf227
Add a 'decoder' for streams already in our native format
1 year ago
jacqueline
4c9b77ea13
Support setting the samd charge rate
...
We default to the fast one, and do not try setting the charge rate bit
on older samd versions
1 year ago
jacqueline
00d6c2eca2
save lra calibration data to nvs
1 year ago
jacqueline
defe838ab0
Use LRA motors in an auto-calibrated closed-loop mode
1 year ago
jacqueline
1d0ad4cbf9
stop writing the erm bit
1 year ago
ailurux
e06610f3a6
Minor fixes before PR
1 year ago
ailurux
ee5657cb44
Fix imports after merge
1 year ago
ailurux
5b109ed327
Tweaks to default d-pad controls
1 year ago
jacqueline
2afeb2989b
use long-press shortcuts again, but make them a bit harder to trigger accidentally
1 year ago
jacqueline
690c64c151
Fix playback after restoring queue on boot
1 year ago
jacqueline
265049c519
Count samples going in and out of the drain buffer
...
This is a more accurate way of knowing which track is playing when, and
also simplifies a lot of fragile logic in audio_fsm
1 year ago
jacqueline
b242ba9986
Improve decoder's interface to accept streams
1 year ago
ailurux
8019c76918
File browser and track browser bug fixes
1 year ago
ailurux
eeb3f2d406
WIP: File browser, needs bug fixes
1 year ago
jacqueline
344a46d066
Respond to sd card mounts and unmounts within lua
...
Includes no longer blocking the main menu on an sd card being inserted!!
1 year ago
jacqueline
9fafd797a5
split c blobs of graphics data into their own component
...
silences some compiler warnings from using c++ flags with c
1 year ago
jacqueline
26eb580043
move driver includes into a subdir as well
1 year ago
jacqueline
7d7f7755d1
start moving include files into subdirs
1 year ago
jacqueline
1573a8c4cd
WIP merge cyclically dependent components into one big component
1 year ago
ailurux
fb3d6a7b86
WIP: Add destructor for FileIterator
1 year ago
jacqueline
a231fd1c8a
Replace cpp::span shim with std::span
1 year ago