Skip to content

Commit 585edea

Browse files
authored
fix hard coded mcu in objcopy
platformio#619 (comment) thx @maxgerhardt
1 parent 13ff15c commit 585edea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/_embed_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def transform_to_asm(target, source, env):
108108
action=env.VerboseAction(
109109
" ".join(
110110
[
111-
"xtensa-esp32-elf-objcopy",
111+
"xtensa-%s-elf-objcopy" % board.get("build.mcu", "esp32"),
112112
"--input-target",
113113
"binary",
114114
"--output-target",

0 commit comments

Comments
 (0)