Skip to content

Commit

Permalink
Re-apply espressif#6464
Browse files Browse the repository at this point in the history
  • Loading branch information
me-no-dev committed Mar 29, 2022
1 parent 31510f4 commit 5c5a112
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tools/platformio-build-esp32.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"-u", "newlib_include_pthread_impl",
"-u", "newlib_include_assert_impl",
"-u", "__cxa_guard_dummy",
'-Wl,-Map="%s"' % join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
'-Wl,-Map="%s"' % join("${BUILD_DIR}", "${PROGNAME}.map")
],

CPPPATH=[
Expand Down
2 changes: 1 addition & 1 deletion tools/platformio-build-esp32c3.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"-u", "newlib_include_pthread_impl",
"-u", "newlib_include_assert_impl",
"-u", "__cxa_guard_dummy",
'-Wl,-Map="%s"' % join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
'-Wl,-Map="%s"' % join("${BUILD_DIR}", "${PROGNAME}.map")
],

CPPPATH=[
Expand Down
2 changes: 1 addition & 1 deletion tools/platformio-build-esp32s2.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"-u", "newlib_include_pthread_impl",
"-u", "newlib_include_assert_impl",
"-u", "__cxa_guard_dummy",
'-Wl,-Map="%s"' % join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
'-Wl,-Map="%s"' % join("${BUILD_DIR}", "${PROGNAME}.map")
],

CPPPATH=[
Expand Down
2 changes: 1 addition & 1 deletion tools/platformio-build-esp32s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"-u", "newlib_include_pthread_impl",
"-u", "newlib_include_assert_impl",
"-u", "__cxa_guard_dummy",
'-Wl,-Map="%s"' % join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
'-Wl,-Map="%s"' % join("${BUILD_DIR}", "${PROGNAME}.map")
],

CPPPATH=[
Expand Down

0 comments on commit 5c5a112

Please sign in to comment.