Skip to content

Commit dde970d

Browse files
committed
Tools/export - iar fix misc dictionary update
progen defines flags as misc, thus we need to add flags to misc.
1 parent a4baaf8 commit dde970d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/export/iar.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ def generate(self):
6767

6868
project_data['tool_specific'] = {}
6969
project_data['tool_specific'].setdefault("iar", {})
70-
project_data['tool_specific']['iar'].update(self.progen_flags)
71-
project_data['tool_specific'].update(tool_specific)
70+
project_data['tool_specific']['iar'].setdefault("misc", {})
71+
project_data['tool_specific']['iar'].update(tool_specific['iar'])
72+
project_data['tool_specific']['iar']['misc'].update(self.progen_flags)
7273
project_data['common']['build_dir'] = os.path.join(project_data['common']['build_dir'], 'iar_arm')
7374
self.progen_gen_file('iar_arm', project_data)
7475

0 commit comments

Comments
 (0)