Skip to content

Commit 8818b42

Browse files
committed
Properly handle "preserve_source_file_extension" config option
1 parent 022e604 commit 8818b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/frameworks/espidf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,8 +752,8 @@ def compile_source_files(
752752
obj_path = os.path.join(obj_path, os.path.basename(src_path))
753753

754754
preserve_source_file_extension = board.get(
755-
"build.esp-idf.preserve_source_file_extension", True
756-
)
755+
"build.esp-idf.preserve_source_file_extension", "yes"
756+
) == "yes"
757757

758758
objects.append(
759759
build_envs[compile_group_idx].StaticObject(

0 commit comments

Comments
 (0)