Tursiae
dcd39a75e8
Also document the `idf.py menuconfig` approach.
2 months ago
Tursiae
0c2377726f
Console: Update doco to point to `sdkconfig.local`, and handle no-stats cases.
...
When `CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS` is not set, the FreeRTOS
scheduler will not keep track of task runtime statistics, and the `tasks`
command on the console will show `nan%` for the usage.
This adds a recommendation for the user to enable the `...STATS` config in
their build, and also updates the guidance for `configUSE_TRACE_FACILITY`
to point at the supported `sdkconfig.local` configuration pathway, instead
of pointing at the `#define` that's deeper in the configuration stack.
Also, the sampling period is dropped from 2.5s to 10ms when the runtime
stats are not enabled; given that we're not measuring any usage, it's not worth
sleeping any longer than that. We might even be able to drop to zero?
2 months ago
jacqueline
0cc7536684
Add a settings screen with power+battery info
...
Mostly for debugging, but also u can toggle fast charging off and on now
9 months ago
jacqueline
a3f48074fb
Add a console command to dump a snapshot
9 months ago
jacqueline
a3eb2dd9dc
WIP improve bluetooth api and settings screen
9 months ago
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
10 months ago
jacqueline
26eb580043
move driver includes into a subdir as well
12 months ago
jacqueline
1573a8c4cd
WIP merge cyclically dependent components into one big component
12 months ago
jacqueline
175bfc4e3e
WIP rewrie audio pipeline+fsm guts for more reliability
1 year ago
jacqueline
f9aec8b690
split the lua thread registry into its own files
1 year ago
jacqueline
4b2003c78a
Make property bindings shared amongst all lua threads
1 year ago
jacqueline
99c56641e9
fix various of bluetooth issues
...
connecting and disconnecting is a bit more consistent now!
1 year ago
Hailey Somerville
d78bbccdab
convert kCurrentDbVersion to a type of integer that gets stringified
1 year ago
Hailey Somerville
bf761e034c
add version console command
1 year ago
Hailey Somerville
c29b5521ed
add luarun command
1 year ago
jacqueline
968d545d67
hand off the sd card to the samd properly, and remount when it's finished
1 year ago
jacqueline
cd650b30bd
fix some lua stack leaks + add a console func to help debug
1 year ago
jacqueline
5f0e16e97a
Support changing the usb msc state
1 year ago
jacqueline
64b106c13e
add a cool lua repl
1 year ago
jacqueline
bd730c82b0
Do db updates on the bg worker
1 year ago
jacqueline
3f7f199cb9
Remove pre-iterator concepts
...
- No more IndexRecord/Result/dbGetPage nonsense
- Queue is just track ids
- i am so tired and have so much to do
1 year ago
jacqueline
4f5422e906
Rewrite the track queue to work directly with database iterators
1 year ago
jacqueline
8a0a167adb
Convert the main menu screen to lua lol
1 year ago
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.
1 year ago
jacqueline
20d1c280a7
Remove templating of Continuation
2 years ago
jacqueline
95618239e6
Fix `tasks` config flag guarding
2 years ago
jacqueline
c53802f308
Add a core dump command
2 years ago
jacqueline
6a47edcd35
Use databinding for the top bar. It's so nice now!
2 years ago
jacqueline
f09ba5ffd5
Use bindey for databinding instead of hand rolling ui updates
2 years ago
jacqueline
96252973d9
Make task tracing tools conditionally compiled
2 years ago
jacqueline
4d99d22e10
std::string -> std::pmr::string in psram
2 years ago
jacqueline
a87790a424
Add basic leak detection tooling
2 years ago
jacqueline
41c4dce79a
Split heap stats and task stats into different functions
2 years ago
jacqueline
022c222e85
Add heap stats to the task stats output
2 years ago
jacqueline
320fdeb9d8
Use a service locator instead of passing around subsets of drivers between FSMs
2 years ago
jacqueline
27f329a9db
Add an app console triggered shutdown
2 years ago
jacqueline
cad7060540
Add interrupts for samd changes
2 years ago
jacqueline
65a1f09a90
Support app console commands for the samd
2 years ago
jacqueline
d6b83fcf4a
Flesh out basic bluetooth support
...
No ui yet, and performance isn't great. It kinda works though!!
2 years ago
jacqueline
958160aa54
Use the libspeexdsp resampler
...
AFAICT it runs a little slower? but it's fixed point, and has much
better understood audio characteristics.
2 years ago
jacqueline
93ccf11fc5
Investigate and improve core pinning for resampler
2 years ago
jacqueline
d71682d26e
Add a console command for task-level performance checks
2 years ago
jacqueline
485eed2890
use libtag duration where available
2 years ago
jacqueline
97bd3be892
clang-format
2 years ago
jacqueline
10120f9a92
ux fixes
2 years ago
jacqueline
80d7df9109
fuck off
2 years ago
jacqueline
df22bed072
Include title in indexes to avoid a per-record disk read
...
GOTTA GO FAST
2 years ago
jacqueline
39f7545cd5
wire up the playing screen with some real data
...
Includes implementing song duration calculation for CBR MP3 files
2 years ago
jacqueline
c124c8f94d
support both files and ids in `play`
2 years ago
jacqueline
245d9ff4b9
add indexing to the database
...
idk man i wrote most of this in a fugue state whilst high on the couch
with my cat
2 years ago