- Jul 30, 2023
-
-
q3k authored
Whoops.
-
q3k authored
This allows us to os.listdir("/").
-
q3k authored
-
dx authored
-
q3k authored
We seem to be wasting a lot of internal memory on random mallocs(), preventing us from late-initializing bluetooth/BLE. Fixes #13 . Maybe. We'll see with time. I think a more complete approach would be to force all micropython allocations to land in SPIRAM? Or maybe use some memory watermarking to make the micropython allocator only use internal memory if there's plenty of it available, enough to initialize BLE?
-
- Jul 29, 2023
-
-
q3k authored
Fixes #12.
-
q3k authored
This is the first implementation of the Recovery Mode for the badge. See README for information on how to use/flash it.
-
q3k authored
-
q3k authored
We attempt to share st3m with the recovery firmware, and thus must eliminate two components that can't live in the recovery firmware: 1. The startup function, which contains references to all matters of subfunctionality we don't want (audio, micropython, etc) 2. The FS code, which contains references to the tarball extraction logic (which we don't want to embed into recovery mode either).
-
- Jul 28, 2023
-
-
q3k authored
-
q3k authored
-
q3k authored
-
q3k authored
-
q3k authored
-
q3k authored
-
q3k authored
-
q3k authored
We don't pre-generate a FAT partition anymore.
-
q3k authored
-
q3k authored
Looks like we won't be using frozen Python modules, probably.
-
q3k authored
-
q3k authored
-
q3k authored
rip 2023-2023
-
q3k authored
-
q3k authored
-
q3k authored
Turns out there's a bug in ESP-IDF that causes FPU registers to get correpted on context switches: https://github.com/espressif/esp-idf/issues/11690 This applies this patch in nix, and reminds others to apply this patch in the README. With this patch applied, graphical glitches in the firmware seem gone.
-
q3k authored
-
q3k authored
-
q3k authored
This removes all hardware.* captouch calls from mpy and ports the entire API to captouch.*. Internally in C, we have unified all API calls under one st3m_captouch_read call which lets the user access structured data in any way they want.
-
q3k authored
-
q3k authored
-
q3k authored
This reimplements components/captouch into a separate BSP-based captouch driver. New features: 1. Interrupt-driven, which seems to improve performance. 2. Has ability to run multiple sequences one after another on the AD7147. This is needed to support 13 channels on the bottom captouch controller. However, this seems to be currently broken (see BUG).
-
q3k authored
Whoops, this shouldn't have happened. Sorry.
-
q3k authored
-
q3k authored
-
q3k authored
-
- Jul 23, 2023