waf: place ROMFS in external flash
This commit is contained in:
parent
0343b789e6
commit
6330c493ae
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user