Skip to content

Commit 1920212

Browse files
committed
Fix include paths for uvision when exported with Python 3.
The call to encode() was causing the include paths to be placed in the uvision product file with the prefix "b'" and the postfix "'". This broke the parsing of this file and broke the build.
1 parent 83d7019 commit 1920212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/uvision/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def generate(self):
237237
'project_files': sorted(list(self.format_src(srcs).items()),
238238
key=lambda tuple: tuple[0].lower()),
239239
'include_paths': ';'.join(self.filter_dot(d) for d in
240-
self.resources.inc_dirs).encode('utf-8'),
240+
self.resources.inc_dirs),
241241
'device': DeviceUvision(self.target),
242242
}
243243
sct_name, sct_path = self.resources.get_file_refs(

0 commit comments

Comments
 (0)