Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
a3712ac9
Commit
a3712ac9
authored
Jun 16, 2022
by
Joo Aun Saw
Committed by
Johny Mattsson
Jun 16, 2022
Browse files
embed_lfs.sh: handle riscv.attributes in esp32c3 map file
parent
b8ae6ca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/embed_lfs.sh
View file @
a3712ac9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment