Skip to content

Commit 5936190

Browse files
ivankravetsCurclamas
authored andcommitted
Append Core (IDF) after the user libraries when linking a firmware
1 parent 9330793 commit 5936190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/platformio-build.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"-Wno-error=unused-function",
4949
"-Wno-unused-parameter",
5050
"-Wno-sign-compare",
51-
# "-fstack-protector"
51+
"-fstack-protector"
5252
],
5353

5454
CPPPATH=[
@@ -173,7 +173,7 @@ def _get_board_flash_mode(env):
173173
join(FRAMEWORK_DIR, "cores", env.BoardConfig().get("build.core"))
174174
))
175175

176-
env.Prepend(LIBS=libs)
176+
env.Append(LIBS=libs)
177177

178178
#
179179
# Generate partition table

0 commit comments

Comments
 (0)