waf: place ROMFS in external flash

This commit is contained in:
bugobliterator 2023-01-18 15:36:52 +11:00 committed by Andrew Tridgell
parent 0343b789e6
commit 6330c493ae

View File

@ -34,7 +34,7 @@ def embed_file(out, f, idx, embedded_name, uncompressed):
print("Padded %u bytes for %s to %u" % (pad, embedded_name, len(contents)))
crc = crc32(bytearray(contents))
write_encode(out, 'static const uint8_t ap_romfs_%u[] = {' % idx)
write_encode(out, '__EXTFLASHFUNC__ static const uint8_t ap_romfs_%u[] = {' % idx)
compressed = tempfile.NamedTemporaryFile()
if uncompressed: