Commit Graph
833 Commits
Author SHA1 Message Date
jacqueline 4f5422e906 Rewrite the track queue to work directly with database iterators 2023-12-05 11:36:34 +11:00
jacqueline 5b272af545 Link to crowd supply 2023-12-01 20:00:43 +11:00
jacqueline 67f2f2de83 thank mr aisler 2023-11-25 10:16:42 +11:00
jacqueline e6844a68b6 implement play/pause 2023-11-25 08:51:14 +11:00
jacqueline f3e4210f24 Remove old unused battery icons 2023-11-25 08:23:32 +11:00
jacqueline 7c6eb2997c Migrate 'now playing' screen to lua 2023-11-24 15:13:10 +11:00
jacqueline 230721cd62 Periodically check int lines instead of relying on interrupts 2023-11-24 07:41:48 +11:00
jacqueline 2b095948b8 Pull frertos funcs into iram, tweak wdt timeouts 2023-11-24 07:17:50 +11:00
jacqueline 09c0e1608f Implement adding to the playback queue from lua 2023-11-23 14:08:46 +11:00
jacqueline b07bfbc6c7 Add a second font, flesh out browser screen 2023-11-23 10:40:04 +11:00
jacqueline 9eb5ae6e94 Use protected mode for lua callbacks wherever possible 2023-11-22 15:46:46 +11:00
jacqueline 06aca259cb Add basic lua browser screen 2023-11-22 14:38:52 +11:00
jacqueline cd46d7bd20 Make lua db iterators async 2023-11-21 16:20:21 +11:00
ailurux 5afdb89f9a Remove delay from read ahead 2023-11-21 15:39:13 +11:00
jacqueline d70ec9bf44 Add lua functions to get database content 2023-11-21 13:49:47 +11:00
jacqueline f34b640588 Add 'btn' support to luavgl 2023-11-20 16:59:53 +11:00
jacqueline 5c7f07e638 Use a non-IRAM-safe interrupt for gpio changes
AFAICT this *should* be IRAM-safe, but there's an xQueueReceiveGeneric
within esp-idf that doesn't appear to be allocated internally
2023-11-20 16:05:53 +11:00
jacqueline effac1917a Use C functions for the backstack, instead of a lua module
Working with the default group and root kinda sucks if you have to do it
from lua!
2023-11-20 14:43:20 +11:00
jacqueline b7f37f6426 Add a generic lua function binding, alongside properties 2023-11-20 13:02:29 +11:00
jacqueline b3b512f10e Don't start readahead until parsing the stream's header is finished
...but also disable readahead for now anyway, since it's unstable
2023-11-20 11:04:20 +11:00
jacqueline d36f314a57 ignore generated lua docs 2023-11-15 20:35:36 +11:00
jacqueline fa57d8ed34 fix incorrect docstring 2023-11-15 20:35:02 +11:00
jacqueline 51d1cee3d7 Set up ldoc and lua-language-server, write some module stubs 2023-11-15 10:22:01 +11:00
jacqueline 0cae95a71e lua statusbar styling tweaks 2023-11-14 14:25:42 +11:00
jacqueline 71ed09a6f7 Add two-way databinding for lua, and flesh out the lua statusbar 2023-11-14 13:20:04 +11:00
jacqueline 8a0a167adb Convert the main menu screen to lua lol 2023-11-12 19:14:09 +11:00
jacqueline 8471046a95 one weird trick to reduce boot time 2023-11-10 14:18:05 +11:00
jacqueline 270bce7212 Fix display off on boot with new lock switch direction 2023-11-10 14:17:32 +11:00
jacqueline 0419def89b Change lock switch direction to match r7 standby 2023-11-10 08:19:27 +11:00
ailurux d42de6b122 Fixed extra null bytes at the end of collations 2023-11-09 16:31:20 +11:00
jacqueline c1db38ba42 Increase the size of the system fsm QueueSet
I added the samd to it but forgot to increase the set size.
2023-11-08 16:59:02 +11:00
jacqueline 0e661409b1 Fix missing licenses
Includes removing unused shared_string

This helps with #6, but there's still more work to do
2023-11-07 16:58:08 +11:00
Robin Howard 91d16b3ff5 haptics: don't wait when initialising the driver. 2023-11-07 16:31:55 +11:00
Robin Howard 067132d097 adds scrollbar fixup comment. 2023-11-07 16:31:55 +11:00
Robin Howard 606e4d89ec haptics: adds a "haptic_effect" console command
... which can take multiple optional arguments for ranges of effects
and/or a motor library.
2023-11-07 16:31:55 +11:00
Robin Howard 7318f53fd8 haptics: buzz on boot, and when changing focus of items. 2023-11-07 16:31:55 +11:00
Robin Howard 135185f12b haptics: adds a wrapper for the DRV2605L haptic motor driver
... with facilities to trigger effects via the system fsm.
2023-11-07 16:31:55 +11:00
jacqueline 3abf599c4f Improve memory usage of mad codec
- fix leaks
 - ensure the synth data is always in internal ram
2023-11-07 15:57:56 +11:00
jacqueline b463ceaef4 use std::list instead of std::deque for events
std::deque loves to allocate 512 bytes in internal memory just for fun
2023-11-07 14:53:47 +11:00
jacqueline 2b19e57034 Ensure the GPIO ISR is in IRAM
The shared interrupt is flagged as IRAM-capable, so this handler should
be too.
2023-11-07 14:46:32 +11:00
jacqueline 19f0675b44 Make readahead a bit more robust for codecs with different io speeds 2023-11-07 13:38:18 +11:00
jacqueline 9dc8f5646c Make foxenflac a little less memory hungry
We should really just use the xiph library :/
2023-11-07 13:37:58 +11:00
jacqueline 9b52fad86e Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2023-11-07 10:40:18 +11:00
jacqueline 75a8f836d5 Wait for background readahead to finish before deleting its buffer 2023-11-07 10:39:43 +11:00
jacqueline 1f031f565a Rename the db background task to be more generic 2023-11-07 10:37:12 +11:00
jacqueline 499d5a942f Add a wrapper codec source that does readahead 2023-11-07 10:32:07 +11:00
cooljqln e2022fb0fc Merge pull request 'Bump to latest 5.1 changes since 5.1.1 release.' (#11) from rh/bump-esp-idf into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/11
2023-11-06 21:33:10 +00:00
jacqueline d36fe9be6b Use atomics for new file notification instead of a semaphore 2023-11-07 08:30:26 +11:00
Robin Howard 4ec1cccf4d Bump to latest 5.1 changes since 5.1.1 release. 2023-11-06 17:22:47 +11:00
jacqueline 05ce360c99 Flag off a few unused features 2023-11-06 17:11:52 +11:00