"I've written a crate for just..." <- > <@diondokter:matrix.org> I've written a crate for just this purpose: https://crates.io/crates/sequential-storage Its `map` is a key-value store in flash that's good for small configs that you want to regularly update. It's serialization format neutral. You could store the binary data or the result of e.g. postcard. > > For storing structs as binary, you really need to watch out for proper alignment of your data. Also, you'd probably want to make it repr C so the struct layout is fixed across compiler versions (but you'll have to give up on some nice things like enums and such) Hey - that's really cool, re the flash wear approach by appending, then updating keys. Will check that out if I do high write-cycle approaches