Skip to content

Commit 175ffc5

Browse files
committed
".elf has a LOAD segment with RWX permissions"
1 parent a2f29c8 commit 175ffc5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tools/platformio-build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ def scons_patched_match_splitext(path, suffixes=None):
172172
)
173173
)
174174
)
175+
env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", join(FRAMEWORK_DIR, "bootloaders", "eboot", "eboot.elf"))
175176

176177
#
177178
# SDK

tools/sdk/ld/eagle.app.v6.common.ld.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ SECTIONS
154154

155155
} >iram1_0_seg :iram1_0_phdr
156156

157-
.irom0.text : ALIGN(4)
157+
.irom0.text (READONLY) : ALIGN(4)
158158
{
159159
_irom0_text_start = ABSOLUTE(.);
160160

0 commit comments

Comments
 (0)