summaryrefslogtreecommitdiffstats
path: root/movement/filesystem.c
Commit message (Collapse)AuthorAgeFilesLines
* USB ImprovementsEdward Shin2024-01-071-60/+61
| | | | | | | | | | | | | | | | | | | | | | * Introduce shell module for basic serial shell with argument parsing * Introduce shell_cmd_list module for basic compile-time command registration * Harden USB handling to hang less and drop fewer inputs - Service tud_task() with periodic TC0 timer interrupt - Service cdc_task() with periodic TC1 timer interrupt - Handle shell servicing in main app loop - Add a circular buffering layer for reads/writes * Change newline prints to also send carriage return * Refactor filesystem commands for shell subsystem * Introduce new shell commands: - 'help' command - 'flash' command to reset into bootloader - 'stress' command to stress CDC writes Testing: * Shell validated on Sensor Watch Blue w/ Linux host * Shell validated in emscripten emulator * Tuned by spamming inputs during `stress` cmd until stack didn't crash
* Fix cat commandJames Haggerty2023-02-121-0/+1
| | | | If we ran into a heap that wasn't filled with '\0', fun things.
* Make the TOTP face use the filesystem for secret storage (#95)James Haggerty2022-11-011-2/+37
| | | | | * TOTP using filesystem * Filesystem: ability to read files line by line
* unify on 32-bit signed lengthsJoey Castillo2022-05-091-5/+5
|
* filesystem: only throw errors for negative error codesJoey Castillo2022-05-091-8/+8
|
* add file browser to movement, remove old appJoey Castillo2022-05-091-0/+2
|
* first pass at filesystem in movementJoey Castillo2022-05-091-0/+243