jacqueline
3041e48ca6
Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw
pirms 2 gadiem
jacqueline
876e5e70e9
Don't crash if there's no sd card
pirms 2 gadiem
jacqueline
a4f94c812a
Annote E V E R Y T H I N G with license info
pirms 2 gadiem
jacqueline
ebcdf93930
Re-enable app console
pirms 2 gadiem
jacqueline
4bff06c76c
Drop himem audio buffers (for now?)
...
For some reason the spinlocks required now block forever? Very odd.
On the plus side, this turned out to be the issue that was stopping the
audio pipeline from running on the app core.
pirms 2 gadiem
jacqueline
ecee01fe97
Remove audio drain task
...
ISR drain works fine!
pirms 2 gadiem
jacqueline
82830f995c
Fix some logging, add transition to missing storage
pirms 2 gadiem
jacqueline
da977aaa3f
Merge branch 'main' into state-machines
pirms 2 gadiem
jacqueline
5ac4d3949c
Generalise worker tasks, and centralise task priorities + stacks
...
Includes making the display driver use a worker task for flushes, so
that our double buffering actually does something useful /facepalm
pirms 2 gadiem
jacqueline
a6ab150405
Add tinyfsm, start converting core functions to an FSM-based event loop
pirms 3 gadiem
jacqueline
b320a6a863
Add basic samd class
pirms 3 gadiem
jacqueline
d71f726c42
Add pagination to database queries
pirms 3 gadiem
jacqueline
785349eb5b
Touchwheel works!!!!!!!
pirms 3 gadiem
jacqueline
f3d0e8f98f
Slightly improve touchwheel not-working-ness
...
It still doesn't work tho
pirms 3 gadiem
jacqueline
961c8014ad
Add some basic tests for the database
pirms 3 gadiem
jacqueline
10eb120878
Add tests for record encoding
pirms 3 gadiem
jacqueline
d739edef76
Fix tests!
...
Includes removing some that never passed and/or weren't quite a good
idea
pirms 3 gadiem
jacqueline
16e6180ba7
Database init is now stable!
pirms 3 gadiem
jacqueline
fe19478e0f
Output hash of song triple
pirms 3 gadiem
jacqueline
86c44199b0
add komihash: the fast and fun hashing header!
pirms 3 gadiem
jacqueline
ee559cd722
Give the touchwheel a little more juice for debugging
pirms 3 gadiem
jacqueline
09ad66136d
clang-format
pirms 3 gadiem
jacqueline
bdadc159c7
Add libtags for extracting info from files
pirms 3 gadiem
jacqueline
cd520b9360
Make queries a little less copy-paste
pirms 3 gadiem
jacqueline
5d7cbec34c
Move DB interactions to a background thread
pirms 3 gadiem
jacqueline
fbe047a35f
Add some basic data and retrieval
pirms 3 gadiem
jacqueline
083f4011aa
removed unused raw db stuff
pirms 3 gadiem
jacqueline
2be4d4204c
Allow RenameFile to overwrite existing files
pirms 3 gadiem
jacqueline
7972bd4567
Merge branch 'main' into leveldb
pirms 3 gadiem
jacqueline
5575378c1c
fix use-after-move
pirms 3 gadiem
jacqueline
464a4bf527
Add a RAII-friendly DI wrapper for driver instances
pirms 3 gadiem
jacqueline
84f45e6045
Don't crash if there's no sd card :)
pirms 3 gadiem
jacqueline
7083459cf3
wrap driver instance ownership + di in a class
pirms 3 gadiem
jacqueline
130009eb14
Pin audio pipeline to the app core
pirms 3 gadiem
jacqueline
cc3fd9571e
split out lvgl task into its own component
pirms 3 gadiem
jacqueline
f955804495
use a freertos timer for lvgl ticks
pirms 3 gadiem
jacqueline
27c63ebb95
Switch to an MVP-ready 16bit three wire DAC setup
pirms 3 gadiem
jacqueline
2d95b63727
Working without big distortion :)
pirms 3 gadiem
jacqueline
731b2cfa77
working isr-based sink, but still grainy
pirms 3 gadiem
jacqueline
4c77950e70
Pipeline working and outputting correctly, but noisy
pirms 3 gadiem
jacqueline
561f9d2a07
Ensure the sink buffer is large enough to not fully drain during
...
playback
pirms 3 gadiem
jacqueline
25c5896dc5
add some bounds checking asserts
pirms 3 gadiem
jacqueline
7a54ff0df9
WIP track down new pipeline memory issues
pirms 3 gadiem
jacqueline
40a9734b04
Redo pcm registers to include pages
pirms 3 gadiem
jacqueline
3836768bb8
new pipeline working(?), but the dac eludes me
pirms 3 gadiem
jacqueline
7c6fd654f5
New pipeline building, still needs proper control
pirms 3 gadiem
jacqueline
3817ec0c77
turn on amp for development
pirms 3 gadiem
jacqueline
a9531c86a4
mostly single task pipeline
pirms 3 gadiem
jacqueline
2a46eecdc6
Temporarily allow the touchwheel to be missing
pirms 3 gadiem
jacqueline
35ecf8c49b
rename
pirms 3 gadiem