I think it could be with ISR... maybe? I'm not 100% what an interrupt actually realy is
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
Haven't tested it at all
There's something wrong with the importing part I think