jacqueline
0cc7536684
Add a settings screen with power+battery info
...
Mostly for debugging, but also u can toggle fast charging off and on now
1 year ago
ailurux
0a271d786b
daniel/playlist-queue ( #83 )
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/83
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
1 year ago
jacqueline
a3eb2dd9dc
WIP improve bluetooth api and settings screen
1 year ago
jacqueline
688fe79471
require a key press before entering the dev console
...
this improves our ability to detect terminals that support line editing
1 year ago
jacqueline
2ff8eac022
Start on TTS support by logging the data that will become TTS lines
...
Includes some misc cleanup of haptic double-triggering (or
non-triggering), since those cases all end up being TTS event
double-reporting, which to me crosses the threshold from "annoying" to
"usability issue"
1 year ago
jacqueline
00d6c2eca2
save lra calibration data to nvs
1 year ago
jacqueline
1d0ad4cbf9
stop writing the erm bit
1 year ago
jacqueline
26eb580043
move driver includes into a subdir as well
1 year ago
jacqueline
7d7f7755d1
start moving include files into subdirs
1 year ago
jacqueline
1573a8c4cd
WIP merge cyclically dependent components into one big component
1 year ago
jacqueline
531475e351
Enable bluetooth after boot, not during boot
...
This avoids some bluetooth-related devices being delivered before
BootComplete
1 year ago
Robin Howard
7c075cf5b7
Adds LRA haptic support (open-loop only for now).
1 year ago
jacqueline
21ae6a9626
comment out dev unit hack
...
the nano code bug has received the hack, so now we don't need it
applying by default anymore
1 year ago
jacqueline
a05d93a1e2
Start using the lock switch polarity bit in nvs
1 year ago
jacqueline
46e6743771
version bump, plus prep for lock switch hack
1 year ago
jacqueline
4cd3c187f9
Add exact display size to nvs, since it can vary
1 year ago
jacqueline
26df5c4a7f
Remember per-device bluetooth volume
1 year ago
jacqueline
d23435fab7
Retry bt device connections
...
i hate this janky-ass protocol
2 years ago
jacqueline
7fbb2162ee
Start keeping lock switch polarity in nvs
...
i will use this to do a sneaky trick; in-place upgrading brendan,
hailey, and erin's devices
2 years ago
jacqueline
dad159dc3c
Use a single pool of bg workers instead of separate tasks per use case
...
Also: bump the number of workers tasks up to 3 from 2!
This makes bg db updates + playback work :)
2 years ago
jacqueline
71b4673039
all screens basically working, but bluetooth is rough
2 years ago
jacqueline
5a2f0b08e0
Centralise which level is 'locked'
2 years 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
2 years ago
jacqueline
230721cd62
Periodically check int lines instead of relying on interrupts
2 years ago
jacqueline
8a0a167adb
Convert the main menu screen to lua lol
2 years ago
jacqueline
8471046a95
one weird trick to reduce boot time
2 years ago
jacqueline
0419def89b
Change lock switch direction to match r7 standby
2 years ago
Robin Howard
135185f12b
haptics: adds a wrapper for the DRV2605L haptic motor driver
...
... with facilities to trigger effects via the system fsm.
2 years ago
jacqueline
1f031f565a
Rename the db background task to be more generic
2 years ago
jacqueline
499d5a942f
Add a wrapper codec source that does readahead
2 years ago
jacqueline
b58c081508
add locale-aware colation to db indexes
2 years ago
Robin Howard
18d90051c9
Annotates the kTag with maybe_unused; they're only used for logging.
2 years ago
jacqueline
7d5536e2ab
Generalise the lvgl input driver in preparation for more input methods
2 years ago
jacqueline
f09ba5ffd5
Use bindey for databinding instead of hand rolling ui updates
2 years ago
jacqueline
252f685ef1
Make NVS access synchronous again
...
Everything relevant is back in internal ram, and likely to stay there.
2 years ago
jacqueline
b192975cb1
make bluetooth pairing ui functional
2 years ago
jacqueline
320fdeb9d8
Use a service locator instead of passing around subsets of drivers between FSMs
2 years ago
jacqueline
4247c9fe7d
store the screen brightness in nvs
2 years ago
jacqueline
f2bb2e2528
Add a brightness slider to settings
2 years ago
jacqueline
3a0c42f924
Move battery measurement to its own class
2 years ago
jacqueline
079b2b53d4
Improve DAC startup for r6
2 years ago
jacqueline
ee949829d9
Add battery % with change events
2 years ago
jacqueline
764b01e913
Add idle->standby support when locked and no music
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
544b0013b1
persist preferred bluetooth device in nvs
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
955a8ce303
Basic nvs init + bluetooth in the build
2 years ago
jacqueline
f94be3db2f
make event queue go faster
2 years ago
jacqueline
80d7df9109
fuck off
2 years ago