Commit Graph
904 Commits
Author SHA1 Message Date
jacqueline ad6a81f3d6 Update the SBC target bitrate
Not sure what this actually controls? Probably good to make it match our encoding configuration tho
2024-07-10 17:30:14 +10:00
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.
2024-07-10 15:18:55 +10:00
jacqueline 11bddb1b1d add a console command for dumping intr allocations 2024-07-10 15:18:33 +10:00
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.
2024-07-10 15:17:19 +10:00
jacqueline 686e14794d version bump 2024-07-05 10:14:00 +10:00
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
2024-07-03 16:32:08 +10:00
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.
2024-07-03 10:43:54 +10:00
jacqueline cbcf1bea61 enable LV_OS_FREERTOS
This mostly just adds a mutex around lv_malloc, which is useful for
upcoming work to make font loading async.
2024-07-02 15:41:13 +10:00
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
2024-06-28 15:34:11 +10:00
jacqueline 9204b585ae show a message if the sd card is unmounted 2024-06-28 13:50:40 +10:00
jacqueline 624e4555ad tweak file browser icon 2024-06-28 10:57:26 +10:00
jacqueline 6fe08ba73d reapply bindings when showing screens 2024-06-28 10:57:10 +10:00
jacqueline 8695b04a83 Try to print userdata name when dumping lua stack 2024-06-28 10:56:51 +10:00
jacqueline 0db9ffc905 use cuter images on the main menu 2024-06-28 10:56:31 +10:00
jacqueline 9db964ce74 WIP start on an updated main menu ui 2024-06-28 09:57:46 +10:00
jacqueline 95072d865c remove chatty log 2024-06-27 16:13:05 +10:00
jacqueline 688fe79471 require a key press before entering the dev console
this improves our ability to detect terminals that support line editing
2024-06-27 16:12:43 +10:00
jacqueline 1036f1b00e fork esp-idf's dev console, in order to add some hooks 2024-06-27 16:12:18 +10:00
jacqueline 1daa1e9b0f update catch2 to v3.6.0 2024-06-27 14:47:51 +10:00
jacqueline ed44606162 fix catch2 build options not being applied + enable benchmarking 2024-06-27 14:38:25 +10:00
jacqueline 0bbf279e5e Add a button to shuffle+play the current view 2024-06-27 12:22:53 +10:00
jacqueline bfee3742d3 skip the storage test if there's no sd card 2024-06-25 16:51:03 +10:00
jacqueline 525ed2ae1b Add a basic overview of writing and running tests 2024-06-25 16:09:36 +10:00
jacqueline 8db57d6dc5 Unbreak the tests build 2024-06-25 15:23:51 +10:00
jacqueline 2d04e13cc6 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-06-25 12:46:44 +10:00
jacqueline d75927ff92 Use a curve to estimate battery %
This is a bit more accurate than our previous linear relationship,
particularly at lower voltages.
2024-06-25 12:45:39 +10:00
ailurux cb9560428d Fix issue with previous not working with shuffle 2024-06-18 15:30:35 +10:00
jacqueline 5e2945f246 version bump 2024-06-14 16:59:46 +10:00
jacqueline 00b1ba58f0 Improve DAC power+mute management to reduce clicks and pops 2024-06-14 14:27:56 +10:00
jacqueline bcaa133a4c fix unused var warning 2024-06-14 13:37:30 +10:00
jacqueline ba808916a8 Add fusion fonts to lua partition 2024-06-14 13:37:06 +10:00
jacqueline 2d6c70d5f6 Fix missing duration when no track is playing 2024-06-14 13:36:29 +10:00
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.
2024-06-14 13:35:42 +10:00
jacqueline 5086ab96ea Merge branch 'jqln/lvgl-bump' 2024-06-14 13:34:41 +10:00
jacqueline 37ed399601 fix uninitialised use 2024-06-13 18:51:06 +10:00
jacqueline 194f0e6b59 Scroll to 'top/bottom' by only 10 at a time
Prevents a nasty device lockup when scrolling infinite lists
2024-06-13 16:10:49 +10:00
jacqueline 14416dc358 Reimplement our patch to lv_list button long modes 2024-06-13 12:46:02 +10:00
jacqueline 82ec765d2d Fix splash screen background 2024-06-13 08:15:11 +10:00
jacqueline e58dcf6dc5 WIP fix issues introduced by lvgl version bump 2024-06-12 18:46:07 +10:00
jacqueline 64bd9053a2 Update LVGL to v9.1.0 2024-06-12 17:54:40 +10:00
jacqueline 611176ed66 Port and fix our luavgl additions 2024-06-12 17:54:10 +10:00
jacqueline bd01bf3845 WIP bump luavgl to latest 2024-06-12 16:29:31 +10:00
jacqueline b02d13f5a5 Removed some old, unused assets 2024-06-12 12:38:06 +10:00
jacqueline a76255ad58 Revert "Removed some old, unused assets"
This reverts commit f1992fc856.
2024-06-12 11:39:56 +10:00
jacqueline f1992fc856 Removed some old, unused assets 2024-06-12 10:45:39 +10:00
ailuruxandjacqueline 7c107e739a Add basic bluetooth queue controls 2024-06-11 08:52:31 +10:00
ailuruxandcooljqln 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>
2024-06-06 04:52:00 +00:00
jacqueline 1242a199e3 log db update time-per-track 2024-06-04 09:00:08 +10:00
jacqueline 72344b5777 no more acquire_spi :) 2024-06-04 08:09:40 +10:00
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.
2024-06-03 21:02:24 +10:00