Now it looks like you can just allocate from a regular "malloc" Code ran successfully (afaict) when writing to 7MB - didn't seem to when doing 8MB. Not 100% sure why, but I don't think it'll matter tbh
Wish I could be writing this in rust
Haven't tested it at all
I didn't quite realise I needed to #include sdkconfig.h I thought they were injected as -D flags for ... no reason really
There's something wrong with the importing part I think