Skip to content

Commit f257937

Browse files
authored
Update _embed_files.py
1 parent 5d203d2 commit f257937

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/frameworks/_embed_files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
board = env.BoardConfig()
2424
mcu = board.get("build.mcu", "esp32")
25-
is_xtensa = mcu in ("esp32","esp32s2","esp32s3")
25+
is_xtensa = mcu in ("esp32", "esp32s2", "esp32s3")
2626

2727
#
2828
# Embedded files helpers
@@ -112,7 +112,7 @@ def transform_to_asm(target, source, env):
112112
[
113113
"riscv32-esp-elf-objcopy"
114114
if not is_xtensa
115-
else "xtensa-%s-elf-objcopy" % mcu,
115+
else f"xtensa-{mcu}-elf-objcopy",
116116
"--input-target",
117117
"binary",
118118
"--output-target",

0 commit comments

Comments
 (0)