From 6330c493ae89d1d408e735711909023fae2bd190 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Wed, 18 Jan 2023 15:36:52 +1100 Subject: [PATCH] waf: place ROMFS in external flash --- Tools/ardupilotwaf/embed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/ardupilotwaf/embed.py b/Tools/ardupilotwaf/embed.py index d833b40c97..ccc9673985 100755 --- a/Tools/ardupilotwaf/embed.py +++ b/Tools/ardupilotwaf/embed.py @@ -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: