From 1a46bcce5e0f4a247fd9257b3a52e94d878823ea Mon Sep 17 00:00:00 2001 From: Josuah Demangeon Date: Thu, 10 Aug 2023 14:39:01 +0200 Subject: [PATCH] targets/lattice_crosslink_nx_evn: fix arguments in flash programming --- litex_boards/targets/lattice_crosslink_nx_evn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex_boards/targets/lattice_crosslink_nx_evn.py b/litex_boards/targets/lattice_crosslink_nx_evn.py index 4775f1b..98253ae 100755 --- a/litex_boards/targets/lattice_crosslink_nx_evn.py +++ b/litex_boards/targets/lattice_crosslink_nx_evn.py @@ -124,7 +124,7 @@ def main(): if args.load: prog = soc.platform.create_programmer(args.prog_target, args.programmer) if args.programmer == "ecpprog" and args.prog_target == "flash": - prog.flash(address=args.address, bitstream=builder.get_bitstream_filename(mode="sram")) + prog.flash(args.address, builder.get_bitstream_filename(mode="sram")) else: prog.load_bitstream(builder.get_bitstream_filename(mode="sram"))