embed_lfs.sh: handle riscv.attributes in esp32c3 map file
This commit is contained in:
parent
b8ae6ca6f8
commit
a3712ac990
|
@ -15,7 +15,7 @@ if [ ! -f "${LUAC_CROSS}" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
LFS_ADDR_SIZE=$(grep -E "0x[0-9a-f]+[ ]+0x[0-9a-f]+[ ]+esp-idf/embedded_lfs/libembedded_lfs.a\(lua.flash.store.reserved.S.obj\)" "${MAP_FILE}" | grep -v -w 0x0 | tr -s ' ')
|
||||
LFS_ADDR_SIZE=$(grep -E "0x[0-9a-f]+[ ]+0x[0-9a-f]+[ ]+esp-idf/embedded_lfs/libembedded_lfs.a\(lua.flash.store.reserved.S.obj\)" "${MAP_FILE}" | grep -v -w 0x0 | grep -v -w 0x24 | tr -s ' ')
|
||||
if [ -z "${LFS_ADDR_SIZE}" ]; then
|
||||
echo "Error: LFS segment not found. Use 'make clean; make' perhaps?"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue