Skip to content

Commit

Permalink
Merge pull request #36 from michalsieron/fix-missing-args
Browse files Browse the repository at this point in the history
Fix missing csr arguments in function calls
  • Loading branch information
mateusz-holenko authored Aug 5, 2021
2 parents 72c5826 + 0b05898 commit d465e7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions generate-renode-scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ def generate_resc(csr, args, flash_binaries={}, tftp_binaries={}):
string: platform defition containing all supported peripherals
and memory regions
"""
cpu_type, _ = get_cpu_type()
cpu_type, _ = get_cpu_type(csr)

result = """
using sysbus
Expand Down Expand Up @@ -873,10 +873,10 @@ def main():
print("REPL is needed when generating RESC file")
sys.exit(1)
else:
flash_binaries = parse_flash_binaries(args)
flash_binaries = parse_flash_binaries(csr, args)
tftp_binaries = check_tftp_binaries(args)

print_or_save(args.resc, generate_resc(args,
print_or_save(args.resc, generate_resc(csr, args,
flash_binaries,
tftp_binaries))

Expand Down

0 comments on commit d465e7f

Please sign in to comment.