jacqueline
876e5e70e9
Don't crash if there's no sd card
2 years ago
jacqueline
ebcdf93930
Re-enable app console
2 years ago
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.
2 years ago
jacqueline
ecee01fe97
Remove audio drain task
...
ISR drain works fine!
2 years ago
jacqueline
82830f995c
Fix some logging, add transition to missing storage
2 years ago
jacqueline
da977aaa3f
Merge branch 'main' into state-machines
2 years ago
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
2 years ago
jacqueline
a6ab150405
Add tinyfsm, start converting core functions to an FSM-based event loop
2 years ago
jacqueline
b320a6a863
Add basic samd class
2 years ago
jacqueline
d71f726c42
Add pagination to database queries
2 years ago
jacqueline
785349eb5b
Touchwheel works!!!!!!!
2 years ago
jacqueline
f3d0e8f98f
Slightly improve touchwheel not-working-ness
...
It still doesn't work tho
2 years ago
jacqueline
961c8014ad
Add some basic tests for the database
2 years ago
jacqueline
10eb120878
Add tests for record encoding
2 years ago
jacqueline
d739edef76
Fix tests!
...
Includes removing some that never passed and/or weren't quite a good
idea
2 years ago
jacqueline
16e6180ba7
Database init is now stable!
2 years ago
jacqueline
fe19478e0f
Output hash of song triple
2 years ago
jacqueline
86c44199b0
add komihash: the fast and fun hashing header!
2 years ago
jacqueline
ee559cd722
Give the touchwheel a little more juice for debugging
2 years ago
jacqueline
09ad66136d
clang-format
2 years ago
jacqueline
bdadc159c7
Add libtags for extracting info from files
2 years ago
jacqueline
cd520b9360
Make queries a little less copy-paste
2 years ago
jacqueline
5d7cbec34c
Move DB interactions to a background thread
2 years ago
jacqueline
fbe047a35f
Add some basic data and retrieval
2 years ago
jacqueline
083f4011aa
removed unused raw db stuff
2 years ago
jacqueline
2be4d4204c
Allow RenameFile to overwrite existing files
2 years ago
jacqueline
7972bd4567
Merge branch 'main' into leveldb
2 years ago
jacqueline
5575378c1c
fix use-after-move
2 years ago
jacqueline
464a4bf527
Add a RAII-friendly DI wrapper for driver instances
2 years ago
jacqueline
84f45e6045
Don't crash if there's no sd card :)
2 years ago
jacqueline
7083459cf3
wrap driver instance ownership + di in a class
2 years ago
jacqueline
130009eb14
Pin audio pipeline to the app core
2 years ago
jacqueline
cc3fd9571e
split out lvgl task into its own component
2 years ago
jacqueline
f955804495
use a freertos timer for lvgl ticks
2 years ago
jacqueline
27c63ebb95
Switch to an MVP-ready 16bit three wire DAC setup
2 years ago
jacqueline
2d95b63727
Working without big distortion :)
2 years ago
jacqueline
731b2cfa77
working isr-based sink, but still grainy
2 years ago
jacqueline
4c77950e70
Pipeline working and outputting correctly, but noisy
2 years ago
jacqueline
561f9d2a07
Ensure the sink buffer is large enough to not fully drain during
...
playback
2 years ago
jacqueline
25c5896dc5
add some bounds checking asserts
2 years ago
jacqueline
7a54ff0df9
WIP track down new pipeline memory issues
2 years ago
jacqueline
40a9734b04
Redo pcm registers to include pages
2 years ago
jacqueline
3836768bb8
new pipeline working(?), but the dac eludes me
2 years ago
jacqueline
7c6fd654f5
New pipeline building, still needs proper control
2 years ago
jacqueline
3817ec0c77
turn on amp for development
2 years ago
jacqueline
a9531c86a4
mostly single task pipeline
2 years ago
jacqueline
2a46eecdc6
Temporarily allow the touchwheel to be missing
2 years ago
jacqueline
35ecf8c49b
rename
2 years ago
jacqueline
a1cef17c5b
Leave the display reset pin alone; we don't need it
2 years ago
jacqueline
c93ed8efad
fix some display issues
2 years ago