ailurux
d719f9c501
daniel/theme-setting ( #87 )
...
- 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>
8 months ago
jacqueline
5d390c821a
Claw back some internal ram
...
- 'main' doesn't need 12k of internal ram
- lvgl's draw task doesn't need that much either
- also lower the bg worker stack sizes whilst we're here, since they've got tons over headroom
9 months ago
jacqueline
2811a3c899
Don't try to serialise a missing playlist name
9 months ago
jacqueline
1ff28233bd
Recalibrate the touchwheel after unlocking
...
Also power it down whilst we're locked. This saves about half a
milliamp.
9 months ago
jacqueline
649cb74f03
Advance the queue when the current track fails to start
9 months ago
ailurux
b349599174
daniel/playlist-queue ( #84 )
...
Support for playlist files being opened along side the queue's own playlist. Playlists can be opened from the file browser, if the file ends in ".playlist" (will add support for .m3u as well eventually)
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/84
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
9 months ago
jacqueline
64c8496a91
Use a piecewise linear formula to calculate battery %
9 months ago
jacqueline
4210a8ac54
add some helpful hex dump overloads
9 months ago
jacqueline
be9564d1c7
Parse single-byte track ids properly
9 months ago
jacqueline
0cc7536684
Add a settings screen with power+battery info
...
Mostly for debugging, but also u can toggle fast charging off and on now
9 months ago
ailurux
a440d71bef
Continue decoding even if OV_HOLE is returned
9 months ago
ailurux
6f98eaf85e
Fix off by one error
9 months ago
ailurux
496baefe66
Oops, forgot a return statement
9 months ago
ailurux
514540d89c
Queue now keeps file offsets in memory to speed up search
9 months ago
jacqueline
f00e1d7493
Fix track ids containing '\n' not decoding properly
...
This has been the cause of the elusive "selecting a track opens it like an index" bug :)
9 months ago
jacqueline
9475d10d10
WIP initial tts player wiring
9 months ago
jacqueline
2ab459598c
Encode snapshots as PNGs when saving to disk
9 months ago
jacqueline
a3f48074fb
Add a console command to dump a snapshot
9 months ago
ailurux
bc2527135a
Fix std::optional access
9 months ago
ailurux
0a271d786b
daniel/playlist-queue ( #83 )
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/83
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
9 months ago
jacqueline
f78de39a75
Give Bluetooth settings a bit of a refresh
...
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.
9 months ago
jacqueline
a3eb2dd9dc
WIP improve bluetooth api and settings screen
10 months ago
jacqueline
a9d2335e1d
Break FatfsStreamFactory's dep on ServiceLocator
10 months ago
jacqueline
b63e897268
Move the SPI interrupt alloc to the second core
...
We're a bit close to the line on core0 allocs, so this helps balance things out a bit.
10 months ago
jacqueline
11bddb1b1d
add a console command for dumping intr allocations
10 months ago
jacqueline
53798f4a61
Move audio decoder priorities below bluetooth
...
The previous priority was leading to a nasty consistent stutter, as reading samples from the drain suffer would lead to the decoder immediately unblocking and preempting the SBC encoding.
10 months ago
jacqueline
370d1853b5
Break FatfsStreamFactory's dep on ServiceLocator
10 months ago
jacqueline
41e0605f17
Give PcmBuffer pairs a name, and wire them up in the audio stack
10 months ago
jacqueline
f42448d501
WIP start on accepting two streams in out audio output
10 months ago
jacqueline
1b7fb84220
Tweak app console setup to improve companion connections
...
- disable regular log output when entering the console
- disable colour changes for the prompt character
10 months ago
jacqueline
88ac96242f
Load fonts asynchronously on a bg task
...
This saves a second or two from bootup; AFAICT this *mostly* reclaims
the dynamic fonts boot time regression.
10 months ago
jacqueline
984b874d7e
Fix some issues with the splash screen
...
- 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
10 months ago
jacqueline
9204b585ae
show a message if the sd card is unmounted
10 months ago
jacqueline
6fe08ba73d
reapply bindings when showing screens
10 months ago
jacqueline
8695b04a83
Try to print userdata name when dumping lua stack
10 months ago
jacqueline
688fe79471
require a key press before entering the dev console
...
this improves our ability to detect terminals that support line editing
10 months ago
jacqueline
1daa1e9b0f
update catch2 to v3.6.0
10 months ago
jacqueline
bfee3742d3
skip the storage test if there's no sd card
10 months ago
jacqueline
525ed2ae1b
Add a basic overview of writing and running tests
10 months ago
jacqueline
8db57d6dc5
Unbreak the tests build
10 months ago
jacqueline
d75927ff92
Use a curve to estimate battery %
...
This is a bit more accurate than our previous linear relationship,
particularly at lower voltages.
10 months ago
jacqueline
00b1ba58f0
Improve DAC power+mute management to reduce clicks and pops
10 months 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.
10 months ago
jacqueline
194f0e6b59
Scroll to 'top/bottom' by only 10 at a time
...
Prevents a nasty device lockup when scrolling infinite lists
10 months ago
jacqueline
82ec765d2d
Fix splash screen background
10 months ago
jacqueline
e58dcf6dc5
WIP fix issues introduced by lvgl version bump
10 months ago
ailurux
7c107e739a
Add basic bluetooth queue controls
11 months 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>
11 months ago
jacqueline
1242a199e3
log db update time-per-track
11 months ago
jacqueline
72344b5777
no more acquire_spi :)
11 months ago