Thanks to all, managed to get my head round building and freezing thanks to posts here and adafruit tutorials. I now have an Ubuntu VM set up for building my own frozen module MicroPython firmwares.
Works a charm, gone from about 6k free ram when it did run to about 17k
