Skip to content

Commit 5b8e65b

Browse files
committed
Exporters - uvision and iar appends its name to build dir
1 parent adfcf2c commit 5b8e65b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tools/export/iar.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def generate(self):
6767

6868
project_data['tool_specific'] = {}
6969
project_data['tool_specific'].update(tool_specific)
70+
project_data['common']['build_dir'] = os.path.join(project_data['common']['build_dir'], 'iar_arm')
7071
self.progen_gen_file('iar_arm', project_data)
7172

7273
# Currently not used, we should reuse folder_name to create virtual folders

tools/export/uvision4.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,6 @@ def generate(self):
7373
project_data['common']['macros'].pop(i)
7474
i += 1
7575
project_data['common']['macros'].append('__ASSERT_MSG')
76+
project_data['common']['build_dir'] = join(project_data['common']['build_dir'], 'uvision4')
7677
self.progen_gen_file('uvision', project_data)
7778

0 commit comments

Comments
 (0)