Commit Graph
841 Commits
Author SHA1 Message Date
jacqueline 86296c187f Use interrupt-based spi for the display
This solves our "audio stutters while scrolling" problem better! Turns
out the real root cause was the polling SPI driver blocking a whole CPU
during playback.
2023-09-12 14:18:04 +10:00
jacqueline b0d745d02d Flesh out onboarding a little, and add a way to get into it 2023-09-08 16:58:30 +10:00
jacqueline 64d9cec8b0 fix some leveldb errors on transition to standby
turns out you gotta free the iterators. wow!!
2023-09-08 15:19:13 +10:00
jacqueline e8a972cc7f Just wait for touchwheel reboot instead of being clever 2023-09-08 15:15:10 +10:00
jacqueline 6b9fb9edac Support retries for samd and touchwheel i2c 2023-09-08 13:45:05 +10:00
jacqueline 493a70b07c Adjust partition table for 4MiB app size + fill the rest of the space 2023-09-08 13:22:41 +10:00
jacqueline 4b627acee6 Reset the touchwheel during boot 2023-09-08 10:24:18 +10:00
jacqueline 63215ccf16 Fix missing track number issues 2023-09-06 12:38:40 +10:00
jacqueline dad14baa73 Add an opus-specific tag parser 2023-09-06 10:14:48 +10:00
jacqueline a9008884c9 Improve dac startup sequencing to reduce the clicky poppy 2023-09-05 16:01:05 +10:00
jacqueline 020d42d431 Be tolerant of SAMD timeouts 2023-09-05 15:37:22 +10:00
jacqueline f0d82cfb09 Fix display buffers not actually being in DMA ram 2023-09-05 15:36:33 +10:00
jacqueline b413b2f264 Add all albums index, do some locales prep 2023-09-05 14:36:28 +10:00
jacqueline 02c1eb4be3 Tweak display DMA buffer size 2023-09-05 10:12:15 +10:00
jacqueline 0032896251 Move UI task to priority 0 during playback
Also other misc task cleanup
2023-09-05 09:51:10 +10:00
jacqueline 382d82a14b Fix bad merge 2023-09-04 16:34:58 +10:00
jacqueline 3180edb7b4 Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw 2023-09-04 16:18:11 +10:00
jacqueline d5d6e3993c Support changing max volume, persisted to nvs 2023-09-04 16:17:55 +10:00
jacqueline 6d831fa7a8 Don't reuse iterators across page fetches
This was done for performance reasons, but performance seems okay
without it, and it introduces a bunch of memory management headaches.
2023-09-04 11:19:34 +10:00
jacqueline 697d231484 Fix incorrect settings submenu 2023-09-04 10:00:09 +10:00
jacqueline b90c08b536 enable the qr code lib for onboarding 2023-09-04 09:51:52 +10:00
jacqueline 25c2df57dd Fix some release build warnings 2023-09-04 09:51:38 +10:00
jacqueline cccee29c3a Turn the touchwheel back on after sleep 2023-09-04 09:47:22 +10:00
ailurux 28452e77e1 Some fixes to the top bar widget style 2023-09-02 12:56:52 +10:00
jacqueline 320fdeb9d8 Use a service locator instead of passing around subsets of drivers between FSMs 2023-08-30 16:48:10 +10:00
jacqueline 4247c9fe7d store the screen brightness in nvs 2023-08-29 16:07:56 +10:00
jacqueline 773f285767 Don't fade for brightness slider changes 2023-08-29 12:18:15 +10:00
jacqueline f2bb2e2528 Add a brightness slider to settings 2023-08-29 12:10:27 +10:00
jacqueline 8ee5e781e7 Use gamma correction for display brightness 2023-08-29 12:09:58 +10:00
jacqueline 1200479045 one weird trick to avoid 5khz tone 2023-08-28 20:54:02 +10:00
jacqueline c214d4b40e Add some more icons, and reflect play/pause in top bar 2023-08-28 20:36:31 +10:00
jacqueline fa7fa98dc1 Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw 2023-08-28 15:01:24 +10:00
jacqueline 85379b359c Add some cool battery icons 2023-08-28 15:01:09 +10:00
ailurux db601935c6 Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw 2023-08-28 14:59:52 +10:00
ailurux 6f4ace1dd4 Custom themes and top bar styling 2023-08-28 14:59:29 +10:00
jacqueline 3a0c42f924 Move battery measurement to its own class 2023-08-28 13:26:53 +10:00
jacqueline a1327763ab Support play/pause toggling 2023-08-28 10:36:18 +10:00
jacqueline 8ff93f5467 Make idle state more robust + check playback state 2023-08-28 10:18:02 +10:00
jacqueline 0f5cf25e73 More performance and usability tweaks
- pin ui and decoder to opposite cores
 - disable touch wheel when controls are locked
2023-08-25 16:59:39 +10:00
jacqueline 485e9adfce Performance tweaks for smoother tunes
- Pin the decoder task to APP_CORE to reduce context switches
 - Increase sample buffer sizes
2023-08-25 15:58:54 +10:00
jacqueline 795f268737 Add placeholder settings UI 2023-08-25 15:13:25 +10:00
jacqueline 3b3bc64d19 Add modal dialog support 2023-08-25 10:13:37 +10:00
jacqueline 079b2b53d4 Improve DAC startup for r6 2023-08-24 19:18:57 +10:00
jacqueline 394e3e9466 Throttle framerate a little more 2023-08-24 19:17:56 +10:00
jacqueline 58854bc55d Improve centre button responsiveness 2023-08-24 19:17:37 +10:00
jacqueline ee949829d9 Add battery % with change events 2023-08-22 15:55:25 +10:00
jacqueline 9c105cf613 Good idea to commit all the files! 2023-08-22 13:39:49 +10:00
jacqueline 588857fef8 good idea to unmute the dac! 2023-08-22 13:39:40 +10:00
jacqueline 764b01e913 Add idle->standby support when locked and no music 2023-08-21 15:43:23 +10:00
jacqueline 27f329a9db Add an app console triggered shutdown 2023-08-20 21:10:05 +10:00