Skip to content

Commit

Permalink
Allow to override the peripheral name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-holenko committed Jul 15, 2019
1 parent 409b696 commit 66a4add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-renode-scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def generate_peripheral(peripheral, shadow_base, **kwargs):
"""

result = '\n{}: {} @ {}\n'.format(
peripheral['name'],
kwargs['name'] if 'name' in kwargs else peripheral['name'],
kwargs['model'],
generate_sysbus_registration(int(peripheral['address'], 0),
shadow_base))
Expand Down

0 comments on commit 66a4add

Please sign in to comment.