Fix multiple board configurations from a single project name.
Fix for Nordic boards.
@@ -95,7 +95,6 @@ def main():
target_name = target
else:
target_name = base_name.upper()
- break
fw_instuction = InstructionsText['default']
for fw_name_key in InstructionsText:
@@ -106,7 +105,7 @@ def main():
if extension == 'bin':
update_yml_entries.append({target_name:TargetList([
('name', target_name),
- ('product_code', format(product_code, '04x')),
+ ('product_code', "'" + format(product_code, '04x') + "'"),
('fw_name', host_mcu + "_" + base_name + dest_offset_str),
('instructions', fw_instuction)
])});
